mm-page_alloc-remove-fair-zone-allocation-policy.patch removed from -mm tree
The patch titled
Subject: mm, page_alloc: remove fair zone allocation policy
has been removed from the -mm tree. Its filename was
mm-page_alloc-remove-fair-zone-allocation-policy.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm, page_alloc: remove fair zone allocation policy
The fair zone allocation policy interleaves allocation requests between zones to avoid an age inversion problem whereby new pages are reclaimed to balance a zone. Reclaim is now node-based so this should no longer be an issue and the fair zone allocation policy is not free. This patch removes it.
---
include/linux/mmzone.h | 5 -- mm/internal.h | 1 mm/page_alloc.c | 75 --------------------------------------- mm/vmstat.c | 4 -- 4 files changed, 2 insertions(+), 83 deletions(-)
include/linux/mmzone.h renamed from include/linux/mmzone.h~mm-page_alloc-remove-fair-zone-allocation-policy +0 -5
@@ -110,7 +110,6 @@ struct zone_padding {enum zone_stat_item {/* First 128 byte cacheline (assuming 64 bit words) */ NR_FREE_PAGES , -NR_ALLOC_BATCH ,NR_ZONE_LRU_BASE ,/* Used only for compaction and reclaim retry */ NR_ZONE_LRU_ANON =NR_ZONE_LRU_BASE ,NR_ZONE_LRU_FILE ,
@@ -516,10 +515,6 @@ struct zone {atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS ]; }____cacheline_internodealigned_in_smp ; -enum zone_flags { -ZONE_FAIR_DEPLETED ,/* fair zone policy batch depleted */ -}; -enum pgdat_flags {PGDAT_CONGESTED ,/* pgdat has many dirty pages backed by * a congested BDI
mm/internal.h renamed from mm/internal.h~mm-page_alloc-remove-fair-zone-allocation-policy +0 -1
@@ -467,7 +467,6 @@ unsigned long reclaim_clean_pages_from_l#define ALLOC_HIGH 0x20/* __GFP_HIGH set */ #define ALLOC_CPUSET 0x40/* check for correct cpuset */ #define ALLOC_CMA 0x80/* allow allocations from CMA areas */ -#define ALLOC_FAIR 0x100/* fair zone allocation */ enum ttu_flags ;struct tlbflush_unmap_batch ;
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-remove-fair-zone-allocation-policy +1 -74
145 lines not on this page · raw message
mm/vmstat.c renamed from mm/vmstat.c~mm-page_alloc-remove-fair-zone-allocation-policy +1 -3
@@ -921,7 +921,6 @@ int fragmentation_index(struct zone *zonconst char *const vmstat_text[] = {/* enum zone_stat_item countes */ "nr_free_pages" , -"nr_alloc_batch" ,"nr_zone_anon_lru" ,"nr_zone_file_lru" ,"nr_zone_write_pending" ,
@@ -1632,10 +1631,9 @@ int vmstat_refresh(struct ctl_table *tab val =atomic_long_read (&vm_zone_stat[i]);if (val <0 ) {switch (i) { -case NR_ALLOC_BATCH :case NR_PAGES_SCANNED :/* -* These are often seen to go negative in +* This is often seen to go negative in * recent kernels, but not to go permanently * negative. Whilst it would be nicer not to * have exceptions, rooting them out would be
_
Patches currently in -mm which might be from [email protected] are