mm-page_alloc-fallbacks-at-most-has-3-elements.patch removed from -mm tree
The patch titled
Subject: mm/page_alloc: fallbacks at most has 3 elements
has been removed from the -mm tree. Its filename was
mm-page_alloc-fallbacks-at-most-has-3-elements.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wei Yang <[email protected]>
Subject: mm/page_alloc: fallbacks at most has 3 elements
MIGRAGE_TYPES is used to be the mark of end and there are at most 3 elements for the one dimension array.
Reduce to 3 to save little memory.
Signed-off-by Wei Yang <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-fallbacks-at-most-has-3-elements +1 -1
@@ -2268,7 +2268,7 @@ struct page *__rmqueue_smallest(struct z* This array describes the order lists are fallen back to when * the free lists for the desirable migrate type are depleted */ -static int fallbacks[MIGRATE_TYPES ][4 ] = { +static int fallbacks[MIGRATE_TYPES ][3 ] = { [MIGRATE_UNMOVABLE ] = {MIGRATE_RECLAIMABLE ,MIGRATE_MOVABLE ,MIGRATE_TYPES }, [MIGRATE_MOVABLE ] = {MIGRATE_RECLAIMABLE ,MIGRATE_UNMOVABLE ,MIGRATE_TYPES }, [MIGRATE_RECLAIMABLE ] = {MIGRATE_UNMOVABLE ,MIGRATE_MOVABLE ,MIGRATE_TYPES },
_
Patches currently in -mm which might be from [email protected] are