aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBaoquan He <[email protected]>2024-03-25 22:56:43 +0800
committerAndrew Morton <[email protected]>2024-04-25 20:56:10 -0700
commit8ad4184985e844ab5848dbf8b7b02f4e14b5d010 (patch)
tree8849e33b69befc395f2a913760b4c75ab71ba702 /tools/perf/scripts/python
parent6600a6b10c3210280e7623b8ba7feac9619cc2cd (diff)
mm/mm_init.c: add new function calc_nr_all_pages()
This is a preparation to calculate nr_kernel_pages and nr_all_pages, both of which will be used later in alloc_large_system_hash(). nr_all_pages counts up all free but not reserved memory in memblock allocator, including HIGHMEM memory. While nr_kernel_pages counts up all free but not reserved low memory in memblock allocator, excluding HIGHMEM memory. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Baoquan He <[email protected]> Reviewed-by: Mike Rapoport (IBM) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions