aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2023-03-15 14:31:26 +0300
committerAndrew Morton <[email protected]>2023-04-05 19:42:45 -0700
commit5f29298fba1ad1e7139381e19e09c272db337b13 (patch)
tree5b0becdbd5ed4369b79f218ddeeb55f5d0c7b0bf /tools/perf/scripts/python
parent254ca6d261d4b6ce00591de110f6f96c3556dfbe (diff)
floppy: fix MAX_ORDER usage
MAX_ORDER is not inclusive: the maximum allocation order buddy allocator can deliver is MAX_ORDER-1. Fix MAX_ORDER usage in floppy code. Also allocation buffer exactly PAGE_SIZE << MAX_ORDER bytes is okay. Fix MAX_LEN check. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kirill A. Shutemov <[email protected]> Acked-by: Mike Rapoport (IBM) <[email protected]> Cc: Denis Efremov <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions