diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2021-05-17 21:31:59 +0300 |
---|---|---|
committer | Mike Rapoport <rppt@linux.ibm.com> | 2021-06-30 11:38:51 +0300 |
commit | f921f53e089a12a192808ac4319f28727b35dc0f (patch) | |
tree | d8f12566c50a3310d3ed71a0f372bcfb76ceff5f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e2a86800d58639b3acde7eaeb9eb393dca066e08 (diff) | |
download | linux-f921f53e089a12a192808ac4319f28727b35dc0f.tar.xz |
memblock: align freed memory map on pageblock boundaries with SPARSEMEM
When CONFIG_SPARSEMEM=y the ranges of the memory map that are freed are not
aligned to the pageblock boundaries which breaks assumptions about
homogeneity of the memory map throughout core mm code.
Make sure that the freed memory map is always aligned on pageblock
boundaries regardless of the memory model selection.
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions