summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-16 00:54:23 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-16 00:54:23 +0300
commitb3e60f84838d5abc3a73d7ef0fc595dd1041c565 (patch)
treeb8ff59b7adf14fd2329fc5649f43e5ba7128680d /tools/perf/scripts/python/stackcollapse.py
parente62941103faa2eedba6a155316e059a490c743a6 (diff)
downloadlinux-b3e60f84838d5abc3a73d7ef0fc595dd1041c565.tar.xz
xfs: support non-power-of-two rtextsize with exchange-range
The generic exchange-range alignment checks use (fast) bitmasking operations to perform block alignment checks on the exchange parameters. Unfortunately, bitmasks require that the alignment size be a power of two. This isn't true for realtime devices with a non-power-of-two extent size, so we have to copy-pasta the generic checks using long division for this to work properly. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions