Re: [PATCH 3/3] powerpc: mm: optimize for the correctly placed page

2013-12-05 Thread Liu ping fan
On Thu, Dec 5, 2013 at 6:58 PM, Aneesh Kumar K.V wrote: > Liu Ping Fan writes: > >> The period check of _PAGE_NUMA can probably trigger the check on >> the correctly placed page. For this case, we can just insert hpte and >> do fast exception return. > > I still don't understand why we need to ha

Re: [PATCH 3/3] powerpc: mm: optimize for the correctly placed page

2013-12-05 Thread Aneesh Kumar K.V
Liu Ping Fan writes: > The period check of _PAGE_NUMA can probably trigger the check on > the correctly placed page. For this case, we can just insert hpte and > do fast exception return. I still don't understand why we need to handle numa faults in hash page ? Are you trying to optimize the cod

[PATCH 3/3] powerpc: mm: optimize for the correctly placed page

2013-12-03 Thread Liu Ping Fan
The period check of _PAGE_NUMA can probably trigger the check on the correctly placed page. For this case, we can just insert hpte and do fast exception return. Signed-off-by: Liu Ping Fan --- arch/powerpc/mm/hash_utils_64.c | 34 +- 1 file changed, 33 insertions(