diff options
author | Zi Yan <[email protected]> | 2022-03-30 15:45:43 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-03-30 15:45:43 -0700 |
commit | 787af64d05cd528aac9ad16752d11bb1c6061bb9 (patch) | |
tree | 0c18b1f5d46494dab9cd643bd303b7cbc4991a99 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | d5fd43bac8396c9b213faf14cd4560d73b30f618 (diff) |
mm: page_alloc: validate buddy before check its migratetype.
Whenever a buddy page is found, page_is_buddy() should be called to
check its validity. Add the missing check during pageblock merge check.
Fixes: 1dd214b8f21c ("mm: page_alloc: avoid merging non-fallbackable pageblocks with others")
Link: https://lore.kernel.org/all/[email protected]/
Reported-and-tested-by: Steven Rostedt <[email protected]>
Signed-off-by: Zi Yan <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions