mm-slub-fix-max_order-usage-in-calculate_order.patch removed from -mm tree
The quilt patch titled
Subject: mm/slub: fix MAX_ORDER usage in calculate_order()
has been removed from the -mm tree. Its filename was
mm-slub-fix-max_order-usage-in-calculate_order.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Kirill A. Shutemov" <[email protected]>
Subject: mm/slub: fix MAX_ORDER usage in calculate_order()
Date: Wed, 15 Mar 2023 14:31:31 +0300
MAX_ORDER is not inclusive: the maximum allocation order buddy allocator can deliver is MAX_ORDER-1.
Fix MAX_ORDER usage in calculate_order().
Signed-off-by Kirill A. Shutemov <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Pekka Enberg <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/slub.c renamed from mm/slub.c~mm-slub-fix-max_order-usage-in-calculate_order +1 -1
@@ -4171,7 +4171,7 @@ static inline int calculate_order(unsign/* * Doh this slab cannot be placed using slub_max_order. */ - order =calc_slab_order (size,1 ,MAX_ORDER ,1 ); + order =calc_slab_order (size,1 ,MAX_ORDER -1 ,1 );if (order <MAX_ORDER )return order;return -ENOSYS ;
_
Patches currently in -mm which might be from [email protected] are