summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-11 21:51:45 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-11 21:51:45 +0300
commit230809c145091e5cfd948bd2db98e67a1a0571de (patch)
tree3ddb9f75792fad8cf3ad9b8218191da1f21f03fa /tools
parent420b2d431d18a2572c8e86579e78105cb5ed45b0 (diff)
parent647037adcad00f2bab8828d3d41cd0553d41f3bd (diff)
downloadlinux-230809c145091e5cfd948bd2db98e67a1a0571de.tar.xz
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)
{