RFC powerpc: mm: Numa faults support for ppc64
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | powerpc: Use HPTE constants when updating hpte bitsarch/ arch/ | +4 | 0 replies | |
| 2/9 | powerpc: Free up _PAGE_COHERENCE for numa fault use laterarch/ arch/ arch/ +2 more | +26 | 0 replies | |
| 3/9 | mm: Move change_prot_numa outside CONFIG_ARCH_USES_NUMA_PROT_NONEinclude/ mm/ | +0 | 0 replies | |
| 4/9 | powerpc: mm: Only check for _PAGE_PRESENT in set_pte/pmd functionsarch/ arch/ | +2 | 0 replies | |
| 5/9 | powerpc: mm: book3s: Enable _PAGE_NUMA for book3sarch/ arch/ arch/ | +72 | 0 replies | |
| 6/9 | powerpc: mm: book3s: Disable hugepaged pmd format for book3sarch/ arch/ | +18 | 0 replies | |
| 7/9 | mm: numafaults: Use change_pmd_protnuma for updating _PAGE_NUMA for regular pmdsarch/ include/ mm/ +1 more | +44 | 0 replies | |
| 8/9 | powerpc: mm: Support setting _PAGE_NUMA bit on pmd entry which are pointer to PTE pagearch/ | +16 | 0 replies | |
| 9/9 | powerpc: mm: Enable numa faulting for hugepagesarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/9] powerpc: mm: Numa faults support for ppc64
Hi,
This patch series add support for numa faults on ppc64 architecture. We steal the _PAGE_COHERENCE bit and use that for indicating _PAGE_NUMA. We clear the _PAGE_PRESENT bit and also invalidate the hpte entry on setting _PAGE_NUMA. The next fault on that page will be considered a numa fault.
NOTE:
______
Issue:
I am finding large lock contention on page_table_lock with this series on a 95 cpu 4 node box with autonuma benchmark
I will out on vacation till NOV 6 without email access. Hence i will not be able to respond to review feedbacks till then.
lock_stat version 0.3
-------------------------------------------------------------------------------------------------------------------------------------------------------
class name con-bounces contentions waittime-min waittime-max waittime-total acq-bounces acquisitions holdtime-mi hold time hold total
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
&(&mm->page_table_lock)->rlock: 713531791 719610919 0.09 3038193.19 357867523236.3 729709189 750040162 0.0 236991.36 1159646899.68
------------------------------
&(&mm->page_table_lock)->rlock 1 [<c000000000218880>] .anon_vma_prepare+0xb0/0x1e0 &(&mm->page_table_lock)->rlock 93 [<c000000000207ebc>] .do_numa_page+0x4c/0x190 &(&mm->page_table_lock)->rlock 301678 [<c0000000002139d4>] .change_protection+0x1d4/0x560 &(&mm->page_table_lock)->rlock 244524 [<c000000000213be8>] .change_protection+0x3e8/0x560 ------------------------------ &(&mm->page_table_lock)->rlock 1 [<c000000000206a38>] .__do_fault+0x198/0x6b0 &(&mm->page_table_lock)->rlock 704163 [<c0000000002139d4>] .change_protection+0x1d4/0x560 &(&mm->page_table_lock)->rlock 207227 [<c000000000213be8>] .change_protection+0x3e8/0x560 &(&mm->page_table_lock)->rlock 95 [<c000000000207ebc>] .do_numa_page+0x4c/0x190
-aneesh