Implement page table accounting for powerpc
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v23 patches 1 replySuperseded
Changes in v3 from the cover letter
- Fixed a build failure with 32 bit powerpc
- Optimizations for pte_alloc_one()
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | powerpc/mm/book(e)(3s)/64: Add page table accountingarch/ arch/ arch/ +2 more | +47 | 1 reply | |
| 2/3 | powerpc/mm/book(e)(3s)/32: Add page table accountingarch/ arch/ | +3 | 0 replies | |
| 3/3 | powerpc/mm/hugetlb: Add support for page accountingarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] Implement page table accounting for powerpc
(3e79ec7 arch: x86: charge page tables to kmemcg) added support for page table accounting). This patch is the second iteration to add support, in the earlier iteration only book3s 64 bit was supported. This iteration adds support for booke/3s/32 and 64 bit.
There is some ugliness in this patchset, pgalloc.h is included from book3s_64_mmu_radix.c to reuse the pte/pmd/pud and pgd management routines. We use #ifdef MODULE to provide a version that provides full accounting. The alternatives are discussed in patch 1 below
Changelog v3:
- Fixed a build failure with 32 bit powerpc
- Optimizations for pte_alloc_one()
Changelog v2:
- Added support for 32 bit and booke
- Added hugepte alloc accounting
Balbir Singh (3):
powerpc/mm/book(e)(3s)/64: Add page table accounting powerpc/mm/book(e)(3s)/32: Add page table accounting powerpc/mm/hugetlb: Add support for page accounting
arch/powerpc/include/asm/book3s/32/pgalloc.h | 3 ++- arch/powerpc/include/asm/book3s/64/pgalloc.h | 16 ++++++++++------ arch/powerpc/include/asm/nohash/32/pgalloc.h | 3 ++- arch/powerpc/include/asm/nohash/64/pgalloc.h | 12 ++++++++---- arch/powerpc/include/asm/pgalloc.h | 14 ++++++++++++++ arch/powerpc/mm/hugetlbpage.c | 2 +- arch/powerpc/mm/pgtable_32.c | 2 +- arch/powerpc/mm/pgtable_64.c | 20 ++++++++++++++------ 8 files changed, 52 insertions(+), 20 deletions(-)
Signature · 7 lines
2.9.3 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>