s390 page tables on steroids ..
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | add mm argument to pte/pmd/pud/pgd_free.arch/ arch/ arch/ +41 more | +152 | 0 replies | |
| 2/6 | CONFIG_HIGHPTE vs. sub-page page tables.arch/ arch/ arch/ +52 more | +339 | 5 replies | |
| 3/6 | arch_update_pgd callmm/ | +5 | 6 replies | |
| 4/6 | s390: 1K/2K page table pages.arch/ arch/ include/ +7 more | +197 | 0 replies | |
| 5/6 | s390: Add four level page tables for CONFIG_64BIT=y.arch/ arch/ include/ +6 more | +122 | 0 replies | |
| 6/6 | s390: dynamic page tables.arch/ arch/ arch/ +9 more | +181 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/6] s390 page tables on steroids ..
Greetings,
this patch series of six patches contains three mm related changes for the s390 architecture:
i) 1K/2K page tables. With this patch set the cheating with the pmd_t on s390 stops. So far a pmd contained 2/4 pointers instead of just one which would be correct from an architectural stand point. The Trouble with this is that it requires two common code changes to make sub-page page tables possible. This features is an important requirement for the kvm support on s390.
ii) Support for 4 levels of page tables. The address space limit for
64 bit processes is now 2^53. That should be enough for anyone ?
iii) Support for different number of page table levels. The limit
of 2^53 is nice but it slows down the tlb lookup that now has to walk 4 instead of 3 levels. Patch #5 make the number of page table levels dependent on the highest address a process is using. If an mmap is done that raises the limit to the next level, the page table gets another level. A downgrade is only done at process start, so that 31 bit processes get a two level page table. A normal 64 bit process starts with three levels.
The first three patches in the series contain the common code changes that are needed to get all of this done. I did my best to find all the place in the different architectures that need to be updated after the common code changed. Please let me know if you find a place I missed.
The patches are against Linus's git tree.
Signature · 4 lines
blue skies, Martin. "Reality continues to ruin my life." - Calvin.