]> Git Repo - linux.git/commit - mm/shuffle.c
mm: rename page_order() to buddy_order()
authorMatthew Wilcox (Oracle) <[email protected]>
Fri, 16 Oct 2020 03:10:15 +0000 (20:10 -0700)
committerLinus Torvalds <[email protected]>
Fri, 16 Oct 2020 18:11:19 +0000 (11:11 -0700)
commitab130f9108dcf2062a44f9f0706824ef2e30492e
tree07e3283496e2772048141c882b1ef633364dec0f
parent1f0f8c0de09066d23760c1f5fac2cd53b32f1127
mm: rename page_order() to buddy_order()

The current page_order() can only be called on pages in the buddy
allocator.  For compound pages, you have to use compound_order().  This is
confusing and led to a bug, so rename page_order() to buddy_order().

Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
mm/compaction.c
mm/internal.h
mm/page_alloc.c
mm/page_isolation.c
mm/page_owner.c
mm/page_reporting.c
mm/shuffle.c
This page took 0.062611 seconds and 4 git commands to generate.