]> Git Repo - linux.git/commit
mm: account PMD tables like PTE tables
authorMatthew Wilcox <[email protected]>
Tue, 13 Oct 2020 23:53:22 +0000 (16:53 -0700)
committerLinus Torvalds <[email protected]>
Wed, 14 Oct 2020 01:38:31 +0000 (18:38 -0700)
commitb2b29d6d01194404dfef4eafa026959be301705b
tree495e5eb61e40cf0bb7946868b8c51e2b4fc30ea0
parent34d109131f485eccd3f7e3050581eb73bffa3520
mm: account PMD tables like PTE tables

We account the PTE level of the page tables to the process in order to
make smarter OOM decisions and help diagnose why memory is fragmented.
For these same reasons, we should account pages allocated for PMDs.  With
larger process address spaces and ASLR, the number of PMDs in use is
higher than it used to be so the inaccuracy is starting to matter.

[[email protected]: arm: __pmd_free_tlb(): call page table destructor]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Mike Rapoport <[email protected]>
Cc: Abdul Haleem <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Satheesh Rajendran <[email protected]>
Cc: Stafford Horne <[email protected]>
Cc: Naresh Kamboju <[email protected]>
Cc: Anders Roxell <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm/include/asm/tlb.h
include/linux/mm.h
This page took 0.058226 seconds and 4 git commands to generate.