diff options
| author | Tal Zussman <tz2294@columbia.edu> | 2026-09-09 13:10:48 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-10-12 19:16:21 +0200 |
| commit | d8fb1db2dba2b0a23d8952cf79ba4f95a32000da (patch) | |
| tree | 8a7f3870ff545cf223c133563c9e0723730b83f7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cf7ded644ed72747748b62dd7eda7e67c2d1b547 (diff) | |
| download | linux-d8fb1db2dba2b0a23d8952cf79ba4f95a32000da.tar.gz linux-d8fb1db2dba2b0a23d8952cf79ba4f95a32000da.zip | |
btrfs: use u64 for the page indices in heuristic_collect_sample()
index and index_end are derived from the u64 start and end offsets, and
index is shifted back into a byte offset for offset_in_folio(), which
needs a cast to u64 to be safe on 32-bit. Make them u64 instead so the
cast goes away. They still fit pgoff_t where they are passed to
filemap_get_folio(), as they came from a valid file offset.
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
