From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id D074A6B0011 for ; Mon, 2 May 2011 16:07:33 -0400 (EDT) Subject: memcg: fix fatal livelock in kswapd From: James Bottomley Content-Type: text/plain; charset="UTF-8" Date: Mon, 02 May 2011 15:07:29 -0500 Message-ID: <1304366849.15370.27.camel@mulgrave.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Chris Mason , linux-fsdevel , linux-mm , linux-kernel , Paul Menage , Li Zefan , containers@lists.linux-foundation.org The fatal livelock in kswapd, reported in this thread: http://marc.info/?t=130392066000001 Is mitigateable if we prevent the cgroups code being so aggressive in its zone shrinking (by reducing it's default shrink from 0 [everything] to DEF_PRIORITY [some things]). This will have an obvious knock on effect to cgroup accounting, but it's better than hanging systems. Signed-off-by: James Bottomley ---