mm-page_alloc-only-check-the-alloc-flags-and-gfp_mask-for-dirty-once.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-page_alloc-only-check-the-alloc-flags-and-gfp_mask-for-dirty-once.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 12:52:27 -0700
The patch titled
Subject: mm: page_alloc: only check the alloc flags and gfp_mask for dirty once
has been removed from the -mm tree. Its filename was
mm-page_alloc-only-check-the-alloc-flags-and-gfp_mask-for-dirty-once.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm: page_alloc: only check the alloc flags and gfp_mask for dirty once
Currently it's calculated once per zone in the zonelist.
---
mm/page_alloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-only-check-the-alloc-flags-and-gfp_mask-for-dirty-once +3 -2
@@ -1917,6 +1917,8 @@ get_page_from_freelist(gfp_t gfp_mask, nnodemask_t *allowednodes =NULL ;/* zonelist_cache approximation */ int zlc_active =0 ;/* set if using zonelist_cache */ int did_zlc_setup =0 ;/* just call zlc_setup() one time */ +bool consider_zone_dirty = (alloc_flags &ALLOC_WMARK_LOW ) && + (gfp_mask & __GFP_WRITE); classzone_idx =zone_idx (preferred_zone); zonelist_scan:
@@ -1976,8 +1978,7 @@ zonelist_scan:* will require awareness of zones in the * dirty-throttling and the flusher threads. */ -if ((alloc_flags &ALLOC_WMARK_LOW ) && - (gfp_mask & __GFP_WRITE) && !zone_dirty_ok (zone)) +if (consider_zone_dirty && !zone_dirty_ok (zone))continue ; mark = zone->watermark[alloc_flags &ALLOC_WMARK_MASK ];
_
Patches currently in -mm which might be from [email protected] are
origin.patch mm-introduce-do_shared_fault-and-drop-do_fault-fix-fix.patch mm-compactionc-isolate_freepages_block-small-tuneup.patch do_shared_fault-check-that-mmap_sem-is-held.patch smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu.patch smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-fix.patch smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline.patch linux-next.patch