summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRik van Riel <riel@surriel.com>2026-11-04 10:01:15 -0500
committerCarlos Maiolino <cem@kernel.org>2026-11-05 12:22:07 +0100
commitf9bfe5af596a5ef6fc745c30bda41f9a109ed16d (patch)
tree842b33fd25f333df5539cc474674ea62cf09ee59 /tools/perf/scripts/python/bin/stackcollapse-report
parent7ba9663607b31108b4350b604a3c85ae86c67c19 (diff)
xfs: keep successful near rt allocations
XFS realtime allocations first attempt to allocate space near where other parts of a file already are. If that allocation succeeds, it does not have to do a global search for free space. Unfortunately, a code cleanup a while ago causes xfs_rtallocate_rtg to unconditionally do the global search, even when the search for a nearby extent has succeeded. Fix it by running the global search only when the near search did not find available space. Found by noticing higher kernel CPU use and examining the profile. Fixes: fd048a1bb391d ("xfs: rework the rtalloc fallback handling") Cc: stable@vger.kernel.org # v6.12 Reported-by: Christian Andres Saide <csaide@meta.com> Signed-off-by: Rik van Riel <riel@surriel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions