summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-11 19:51:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-11 19:51:45 +0100
commit230809c145091e5cfd948bd2db98e67a1a0571de (patch)
tree3ddb9f75792fad8cf3ad9b8218191da1f21f03fa /tools
parentMerge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
parentRevert "mm: Always release pages to the buddy allocator in memblock_free_late... (diff)
downloadlinux-230809c145091e5cfd948bd2db98e67a1a0571de.tar.xz
linux-230809c145091e5cfd948bd2db98e67a1a0571de.zip
Merge tag 'fixes-2023-02-11' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
Pull memblock revert from Mike Rapoport: "Revert 'mm: Always release pages to the buddy allocator in memblock_free_late()' The pages being freed by memblock_free_late() have already been initialized, but if they are in the deferred init range, __free_one_page() might access nearby uninitialized pages when trying to coalesce buddies, which will cause a crash. A proper fix will be more involved so revert this change for the time being" * tag 'fixes-2023-02-11' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock: Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/memblock/internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h
index 85973e55489e..fdb7f5db7308 100644
--- a/tools/testing/memblock/internal.h
+++ b/tools/testing/memblock/internal.h
@@ -15,10 +15,6 @@ bool mirrored_kernelcore = false;
struct page {};
-void __free_pages_core(struct page *page, unsigned int order)
-{
-}
-
void memblock_free_pages(struct page *page, unsigned long pfn,
unsigned int order)
{