Re: [PATCH 01/12] hugetlbfs: drop shared NUMA mempolicy pretence

From: Matthew Wilcox
Date: Mon Sep 25 2023 - 18:09:51 EST


On Mon, Sep 25, 2023 at 01:21:10AM -0700, Hugh Dickins wrote:
> hugetlbfs_fallocate() goes through the motions of pasting a shared NUMA
> mempolicy onto its pseudo-vma, but how could there ever be a shared NUMA
> mempolicy for this file? hugetlb_vm_ops has never offered a set_policy
> method, and hugetlbfs_parse_param() has never supported any mpol options
> for a mount-wide default policy.

Hah. I was wondering, but never cared enough to investigate. Thanks
for doing this.

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>