GB pages (PDP1GB) support for the kernel direct mapping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | GBPAGES: Handle kernel near memory hole in clear_kernel_mappingarch/ | +19 | 2 replies | |
| 2/8 | GBPAGES: Add feature macros for the gbpages cpuid bitinclude/ | +2 | 0 replies | |
| 3/8 | GBPAGES: Split LARGE_PAGE_SIZE/MASK into PUD_PAGE_SIZE/PMD_PAGE_SIZEarch/ arch/ arch/ +3 more | +15 | 0 replies | |
| 4/8 | GBPAGES: Add pgtable accessor functions for GB pagesinclude/ | +3 | 0 replies | |
| 5/8 | GBPAGES: Support gbpages in pagetable dumparch/ | +1 | 0 replies | |
| 6/8 | GBPAGES: Add an option to disable direct mapping gbpages and a global variableDocumentation/ arch/ include/ | +17 | 1 reply | |
| 7/8 | GBPAGES: Implement GBpages support in change_page_attr()arch/ | +118 | 0 replies | |
| 8/8 | GBPAGES: Do kernel direct mapping at boot using GB pagesarch/ | +54 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH] [0/8] GB pages (PDP1GB) support for the kernel direct mapping
This patchkit implement GB pages support for AMD Fam10h CPUs. This patchkit only implements it for the kernel direct mapping for now; support for hugetlbfs is upcomming.
This allows to map the kernel direct mapping using 1GB TLBs instead of 2MB TLBs and get hopefully less TLB misses for the kernel.
The GB pages are only implemented for 64bit (because the CPU only implements them for long mode) and also only for data pages (because Fam10h doesn't have GB ITLBs and AMD recommends against running code in them)
There is an option to turn them off (direct_gbpages=off), although I hope that won't be needed.
Also includes one generic bug fix for clear_page_kernel.
-Andi