Re: [Libhugetlbfs-devel] [RFC][PATCH] morecore: fix-up NUMA allocations

2006-08-23 Thread Nishanth Aravamudan
On 22.08.2006 [19:08:40 -0700], Nishanth Aravamudan wrote: > Hi, > > Here is my attempt at reinstating the mlocking guarantee for morecore. > The issue previously was that we would fault in hugepages on the current > node only, leading to terrible NUMA performance. Instead, we now check > the curr

[Libhugetlbfs-devel] [RFC][PATCH] morecore: fix-up NUMA allocations

2006-08-22 Thread Nishanth Aravamudan
Hi, Here is my attempt at reinstating the mlocking guarantee for morecore. The issue previously was that we would fault in hugepages on the current node only, leading to terrible NUMA performance. Instead, we now check the current mempolicy and if it's DEFAULT (which acc'g to the man mbind page me