-
- Downloads
thp: fix anon memory statistics with transparent hugepages
Count each transparent hugepage as HPAGE_PMD_NR pages in the LRU statistics, so the Active(anon) and Inactive(anon) statistics in /proc/meminfo are correct. Signed-off-by:Rik van Riel <riel@redhat.com> Signed-off-by:
Andrea Arcangeli <aarcange@redhat.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/huge_mm.h 8 additions, 0 deletionsinclude/linux/huge_mm.h
- include/linux/mm_inline.h 5 additions, 3 deletionsinclude/linux/mm_inline.h
- mm/huge_memory.c 10 additions, 0 deletionsmm/huge_memory.c
- mm/memcontrol.c 1 addition, 1 deletionmm/memcontrol.c
- mm/vmscan.c 6 additions, 5 deletionsmm/vmscan.c
Loading
Please register or sign in to comment