aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHyesoo Yu <[email protected]>2023-10-23 17:32:16 +0900
committerAndrew Morton <[email protected]>2023-10-25 16:47:14 -0700
commit76f26535d1446373d4735a252ea4247c39d64ba6 (patch)
tree690e6e660c88d34f6a52be642e71800ee6b5bf16 /tools/perf/scripts/python
parentbe16dd764a69752a31096d1a6b2ad775b728b1bd (diff)
mm: page_alloc: check the order of compound page even when the order is zero
For compound pages, the head sets the PG_head flag and the tail sets the compound_head to indicate the head page. If a user allocates a compound page and frees it with a different order, the compound page information will not be properly initialized. To detect this problem, compound_order(page) and the order argument are compared, but this is not checked when the order argument is zero. That error should be checked regardless of the order. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Hyesoo Yu <[email protected]> Reviewed-by: Vishal Moola (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions