[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1374793134-16678-1-git-send-email-hannes@cmpxchg.org>
Date: Thu, 25 Jul 2013 18:58:54 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Paul Szabo <psz@...hs.usyd.edu.au>, Rik van Riel <riel@...hat.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [patch] Revert "page-writeback.c: subtract min_free_kbytes from dirtyable memory"
This reverts commit 75f7ad8e043d9383337d917584297f7737154bbf. It was
the result of a problem observed with a 3.2 kernel and merged in 3.9,
while the issue had been resolved upstream in 3.3 (ab8fabd mm: exclude
reserved pages from dirtyable memory).
The "reserved pages" are a superset of min_free_kbytes, thus this
change is redundant and confusing. Revert it.
Signed-off-by: Johannes Weiner <hannes@...xchg.org>
---
mm/page-writeback.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 3f0c895..d374b29 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -241,9 +241,6 @@ static unsigned long global_dirtyable_memory(void)
if (!vm_highmem_is_dirtyable)
x -= highmem_dirtyable_memory(x);
- /* Subtract min_free_kbytes */
- x -= min_t(unsigned long, x, min_free_kbytes >> (PAGE_SHIFT - 10));
-
return x + 1; /* Ensure that we never return 0 */
}
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists