[PATCH 16/31] numa, mm: Support NUMA hinting page faults from gup/gup_fast

2012-11-13 Thread Ingo Molnar
From: Andrea Arcangeli Introduce FOLL_NUMA to tell follow_page to check pte/pmd_numa. get_user_pages must use FOLL_NUMA, and it's safe to do so because it always invokes handle_mm_fault and retries the follow_page later. KVM secondary MMU page faults will trigger the NUMA hinting page faults thr

[PATCH 16/31] numa, mm: Support NUMA hinting page faults from gup/gup_fast

2012-10-25 Thread Peter Zijlstra
From: Ingo Molnar Introduce FOLL_NUMA to tell follow_page to check pte/pmd_numa. get_user_pages must use FOLL_NUMA, and it's safe to do so because it always invokes handle_mm_fault and retries the follow_page later. KVM secondary MMU page faults will trigger the NUMA hinting page faults through