aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorZi Yan <[email protected]>2022-03-30 22:45:43 +0000
committerLinus Torvalds <[email protected]>2022-03-30 22:45:43 +0000
commit787af64d05cd528aac9ad16752d11bb1c6061bb9 (patch)
tree0c18b1f5d46494dab9cd643bd303b7cbc4991a99 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentMerge tag 'for-5.18/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-787af64d05cd528aac9ad16752d11bb1c6061bb9.tar.gz
kernel-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/[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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions