Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933771Ab1ETAUM (ORCPT ); Thu, 19 May 2011 20:20:12 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:65139 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756808Ab1ETAUI (ORCPT ); Thu, 19 May 2011 20:20:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CMNM5P9M9bYyHZ9egLsolh3X/RYh/dzs9IIBt04vy3NKHDVGrhCB6FxuSCkMtfrCPy wTePVTjcOn7OZC4vVDufIeFLteaSxVtYOl8tVJBfdfsHlpcLWke9mFx4cxWfVEtnpzx4 EiR2qt8nou6vwkJULlVj1DCkNnzYpFcpHAVrU= MIME-Version: 1.0 In-Reply-To: <20110519145147.GA14658@localhost> References: <20110514165346.GV6008@one.firstfloor.org> <20110514174333.GW6008@one.firstfloor.org> <20110515152747.GA25905@localhost> <20110517060001.GC24069@localhost> <20110519145147.GA14658@localhost> Date: Fri, 20 May 2011 09:20:07 +0900 Message-ID: Subject: Re: Kernel falls apart under light memory pressure (i.e. linking vmlinux) From: Minchan Kim To: Wu Fengguang Cc: Andrew Lutomirski , Andi Kleen , "linux-mm@kvack.org" , LKML , KOSAKI Motohiro , KAMEZAWA Hiroyuki , Mel Gorman , Johannes Weiner , Rik van Riel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 780 Lines: 28 On Thu, May 19, 2011 at 11:51 PM, Wu Fengguang wrote: >> > I had 6GB swap available, so there shouldn't have >> > been any OOM. >> >> Yes. It's strange but we have seen such case several times, AFAIR. > > I noticed that the test script mounted a "ramfs" not "tmpfs", hence > the 1.4G pages won't be swapped? Right. ramfs pages can not be swapped out. But in log, anon 200M in DMA32 doesn't include unevictable 1.4GB. So we can swap out 200M, still. > > Thanks, > Fengguang > -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/