aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiam Howlett <[email protected]>2022-10-11 16:08:37 +0000
committerAndrew Morton <[email protected]>2022-10-12 15:56:46 -0700
commit28c5609fb236807910ca347ad3e26c4567998526 (patch)
tree8265bb663ef3fdc17e55234275bda4cc30b3b170 /tools/perf/scripts/python
parent7be1c1a3c7b13fb259bb5159662a7b83622013b8 (diff)
mm/mmap: preallocate maple nodes for brk vma expansion
If the brk VMA is the last vma in a maple node and meets the rare criteria that it can be expanded, then preallocation is necessary to avoid a potential fs_reclaim circular lock issue on low resources. At the same time use the actual vma start address (unaligned) when calling vma_adjust_trans_huge(). Link: https://lkml.kernel.org/r/[email protected] Fixes: 2e7ce7d354f2 (mm/mmap: change do_brk_flags() to expand existing VMA and add do_brk_munmap()) Signed-off-by: Liam R. Howlett <[email protected]> Reported-by: Yu Zhao <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions