# Re: \[PATCH v5 2/3\] mm/mempolicy: add set\_mempolicy\_home\_node syscall

- From: Daniel Jordan \<daniel.m.jordan@oracle.com\>
- Date: 2021-12-01 16:23:34 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/12/6512659
- Thread: https://ratatoskr.run/linux-mm/2021/11/6512449/t.md

```text
On Wed, Dec 01, 2021 at 11:45:14AM +0530, Aneesh Kumar K.V wrote:
> Daniel Jordan [ref] writes:
> 
> > On Tue, Nov 16, 2021 at 12:12:37PM +0530, Aneesh Kumar K.V wrote:
> >> sys_set_mempolicy_home_node((unsigned long)p, nr_pages * page_size,
> >> 				  home_node, 0);
> >
> > What about sys_mbind_home_node so the name is better aligned with mbind,
> > since both operate on vma policy?  The syscall might or might not be
> > extended to task memory policy, but vma policy is what we're using this
> > for today.
> 
> I used the name set_mempolicy_home_node, because we are setting the home
> for a memory policy. I find the term mbind confusing. 

Fair enough.  Forgive me for starting in on naming :-)
```
