perf/mm: Fix PERF_SAMPLE_*_PAGE_SIZE
Status from this message: The following commit has been merged into the perf/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 10 repliesApplied
- v15 patches 13 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mm/gup: Provide gup_get_pte() more genericinclude/ mm/ | +56 | 2 replies | |
| 2/6 | mm: Introduce pXX_leaf_size()include/ | +16 | 1 reply | |
| 3/6 | perf/core: Fix arch_perf_get_page_size()kernel/ | +38 | 5 replies | |
| 4/6 | arm64/mm: Implement pXX_leaf_size() supportarch/ | +3 | 2 replies | |
| 5/6 | sparc64/mm: Implement pXX_leaf_size() supportarch/ arch/ | +26 | 0 replies | |
| 6/6 | powerpc/8xx: Implement pXX_leaf_size() supportarch/ | +23 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Kan Liang | Matthew Wilcox (Oracle) | Will Deacon |
|---|---|---|---|
| 1/6 | |||
| 2/6 | R-b | ||
| 3/6 | T-b T-b | ||
| 4/6 | A-b | ||
| 5/6 | |||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/6] perf/mm: Fix PERF_SAMPLE_*_PAGE_SIZE
Hi,
These patches provide generic infrastructure to determine TLB page size from page table entries alone. Perf will use this (for either data or code address) to aid in profiling TLB issues.
While most architectures only have page table aligned large pages, some (notably ARM64, Sparc64 and Power) provide non page table aligned large pages and need to provide their own implementation of these functions.
I've provided (completely untested) implementations for ARM64, Sparc64 and Power/8xxx (it looks like I'm still missing Power/Book3s64/hash support).
Changes since -v1:
- Changed wording to reflect these are page-table sizes; actual TLB sizes might vary.
- added Power/8xx
Barring any objections I'll queue these in tip/perf/core, as these patches fix the code that's currently in there.