[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1357712474-27595-1-git-send-email-minchan@kernel.org>
Date: Wed, 9 Jan 2013 15:21:12 +0900
From: Minchan Kim <minchan@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Dan Magenheimer <dan.magenheimer@...cle.com>,
Sonny Rao <sonnyrao@...gle.com>,
Bryan Freed <bfreed@...gle.com>,
Hugh Dickins <hughd@...gle.com>,
Rik van Riel <riel@...hat.com>,
Johannes Weiner <hannes@...xchg.org>,
Minchan Kim <minchan@...nel.org>
Subject: [PATCH 0/2] Use up free swap space before reaching OOM kill
Recently, Luigi reported there are lots of free swap space when
OOM happens. It's easily reproduced on zram-over-swap, where
many instance of memory hogs are running and laptop_mode = 2.
http://marc.info/?l=linux-mm&m=135421750914807&w=2
This patchset fixes the problem. In fact, if we apply one of two,
we can fix the problem but I send two all because it's separate
issue although each of them solves this issues.
Andrew, Could you replace [1] with this patchset in mmotm?
I think this patchset is better than [1].
[1] mm-swap-out-anonymous-page-regardless-of-laptop_mode.patch
Minchan Kim (2):
[1/2] mm: prevent to add a page to swap if may_writepage is unset
[2/2] mm: forcely swapout when we are out of page cache
mm/vmscan.c | 8 ++++++++
1 file changed, 8 insertions(+)
--
1.7.9.5
--
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