RFC mm: thp: split time allocation of page table for THPs
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm: thp: allocate PTE page tables lazily at split timeinclude/ mm/ mm/ +2 more | +156 | 11 replies | |
| 2/2 | mm: thp: add THP_SPLIT_PMD_PTE_ALLOC_FAILED counterinclude/ mm/ mm/ +1 more | +6 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] mm: thp: split time allocation of page table for THPs
This is an RFC patch to allocate the PTE page table at split time only and not do pre-deposit for THPs as suggested by David [1].
The core patch is the first one. The second one is not needed and its just vmstat counters I used to show that split doesn't fail. Its going to be 0 all the time and won't include it in future revisions.
It would have been ideal if all pre-deposit code was removed but its not possible due to PowerPC. The rationale and further details are covered in the commit message of the first patch, including why the patch is safe.
[1] https://lore.kernel.org/all/[email protected]/
Usama Arif (2):
mm: thp: allocate PTE page tables lazily at split time
mm: thp: add THP_SPLIT_PMD_PTE_ALLOC_FAILED counter
include/linux/huge_mm.h | 4 +- include/linux/vm_event_item.h | 1 + mm/huge_memory.c | 145 ++++++++++++++++++++++++---------- mm/khugepaged.c | 7 +- mm/migrate_device.c | 15 ++-- mm/rmap.c | 42 +++++++++- mm/vmstat.c | 1 + 7 files changed, 162 insertions(+), 53 deletions(-)
Signature · 1 line
2.47.3