aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLorenzo Stoakes <[email protected]>2024-10-25 13:26:27 +0100
committerAndrew Morton <[email protected]>2024-11-06 20:11:20 -0800
commit5ac87a885aecb3fa2aae04215410882757a2ef06 (patch)
tree7e7cd1962a9492e7d7af579f75f5c8d6cfa13247 /tools/perf/scripts/python/task-analyzer.py
parent5a689bac0bbc1ddad1e9f87b574f3d409643759c (diff)
mm: defer second attempt at merge on mmap()
Rather than trying to merge again when ostensibly allocating a new VMA, instead defer until the VMA is added and attempt to merge the existing range. This way we have no complicated unwinding logic midway through the process of mapping the VMA. In addition this removes limitations on the VMA not being able to be the first in the virtual memory address space which was previously implicitly required. In theory, for this very same reason, we should unconditionally attempt merge here, however this is likely to have a performance impact so it is better to avoid this given the unlikely outcome of a merge. [[email protected]: remove unnecessary indirection] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/d4f84502605d7651ac114587f507395c0fc76004.1729858176.git.lorenzo.stoakes@oracle.com Signed-off-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Vlastimil Babka <[email protected]> Cc: Jann Horn <[email protected]> Cc: Liam R. Howlett <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Xu <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions