mm-page_alloc-rearrange-watermark-checking-in-get_page_from_freelist.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-page_alloc-rearrange-watermark-checking-in-get_page_from_freelist.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:42:57 -0700
The patch titled
Subject: mm: page_alloc: rearrange watermark checking in get_page_from_freelist
has been removed from the -mm tree. Its filename was
mm-page_alloc-rearrange-watermark-checking-in-get_page_from_freelist.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Johannes Weiner <[email protected]>
Subject: mm: page_alloc: rearrange watermark checking in get_page_from_freelist
Allocations that do not have to respect the watermarks are rare high-priority events. Reorder the code such that per-zone dirty limits and future checks important only to regular page allocations are ignored in these extraordinary situations.
---
mm/page_alloc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-rearrange-watermark-checking-in-get_page_from_freelist +8 -8
@@ -1889,12 +1889,17 @@ zonelist_scan:*/ for_each_zone_zonelist_nodemask (zone, z, zonelist, high_zoneidx, nodemask) { +unsigned long mark; +if (IS_ENABLED (CONFIG_NUMA ) && zlc_active && !zlc_zone_worth_trying (zonelist, z, allowednodes))continue ;if ((alloc_flags &ALLOC_CPUSET ) && !cpuset_zone_allowed_softwall (zone, gfp_mask))continue ; +BUILD_BUG_ON (ALLOC_NO_WATERMARKS <NR_WMARK ); +if (alloc_flags &ALLOC_NO_WATERMARKS ) + goto try_this_zone;/* * When allocating a page cache page for writing, we * want to get it from a zone that is within its dirty
@@ -1925,16 +1930,11 @@ zonelist_scan: (gfp_mask & __GFP_WRITE) && !zone_dirty_ok(zone)) goto this_zone_full; -BUILD_BUG_ON (ALLOC_NO_WATERMARKS <NR_WMARK ); -if (!(alloc_flags &ALLOC_NO_WATERMARKS )) { -unsigned long mark; + mark = zone->watermark[alloc_flags &ALLOC_WMARK_MASK ]; +if (!zone_watermark_ok (zone, order, mark, + classzone_idx, alloc_flags)) {int ret; - mark = zone->watermark[alloc_flags &ALLOC_WMARK_MASK ]; -if (zone_watermark_ok (zone, order, mark, - classzone_idx, alloc_flags)) - goto try_this_zone; -if (IS_ENABLED (CONFIG_NUMA ) && !did_zlc_setup && nr_online_nodes >1 ) {/*
_
Patches currently in -mm which might be from [email protected] are
origin.patch swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.patch memcg-remove-redundant-code-in-mem_cgroup_force_empty_write.patch memcg-vmscan-integrate-soft-reclaim-tighter-with-zone-shrinking-code.patch memcg-get-rid-of-soft-limit-tree-infrastructure.patch vmscan-memcg-do-softlimit-reclaim-also-for-targeted-reclaim.patch memcg-enhance-memcg-iterator-to-support-predicates.patch memcg-enhance-memcg-iterator-to-support-predicates-fix.patch memcg-track-children-in-soft-limit-excess-to-improve-soft-limit.patch memcg-vmscan-do-not-attempt-soft-limit-reclaim-if-it-would-not-scan-anything.patch memcg-track-all-children-over-limit-in-the-root.patch memcg-vmscan-do-not-fall-into-reclaim-all-pass-too-quickly.patch arch-mm-remove-obsolete-init-oom-protection.patch arch-mm-do-not-invoke-oom-killer-on-kernel-fault-oom.patch arch-mm-pass-userspace-fault-flag-to-generic-fault-handler.patch x86-finish-user-fault-error-path-with-fatal-signal.patch mm-memcg-enable-memcg-oom-killer-only-for-user-faults.patch mm-memcg-rework-and-document-oom-waiting-and-wakeup.patch mm-memcg-do-not-trap-chargers-with-full-callstack-on-oom.patch memcg-remove-memcg_nr_file_mapped.patch memcg-check-for-proper-lock-held-in-mem_cgroup_update_page_stat.patch memcg-add-per-cgroup-writeback-pages-accounting.patch memcg-document-cgroup-dirty-writeback-memory-statistics.patch debugging-keep-track-of-page-owners-fix-2-fix-fix-fix.patch