summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.preempt
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2022-03-30 15:45:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-30 15:45:43 -0700
commit787af64d05cd528aac9ad16752d11bb1c6061bb9 (patch)
tree0c18b1f5d46494dab9cd643bd303b7cbc4991a99 /kernel/Kconfig.preempt
parentd5fd43bac8396c9b213faf14cd4560d73b30f618 (diff)
downloadlinux-stable-787af64d05cd528aac9ad16752d11bb1c6061bb9.tar.gz
linux-stable-787af64d05cd528aac9ad16752d11bb1c6061bb9.tar.bz2
linux-stable-787af64d05cd528aac9ad16752d11bb1c6061bb9.zip
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/20220330154208.71aca532@gandalf.local.home/ Reported-and-tested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Zi Yan <ziy@nvidia.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions