aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2023-11-09 21:06:06 +0000
committerAndrew Morton <[email protected]>2023-12-29 11:58:23 -0800
commit4b04646caed5449ca97b909bbadca0a7a2762159 (patch)
tree5cd1ce53053440538719de2a4e410b0409806326 /tools/perf/scripts/python/flamegraph.py
parent808441943f6b817f4836752c6e0d1c07507f375e (diff)
buffer: fix various functions for block size > PAGE_SIZE
If i_blkbits is larger than PAGE_SHIFT, we shift by a negative number, which is undefined. It is safe to shift the block left as a block device must be smaller than MAX_LFS_FILESIZE, which is guaranteed to fit in loff_t. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Pankaj Raghav <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: Ryusuke Konishi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions