Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757236Ab1ETDMV (ORCPT ); Thu, 19 May 2011 23:12:21 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:59770 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755396Ab1ETDMU (ORCPT ); Thu, 19 May 2011 23:12:20 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Message-ID: <4DD5DC06.6010204@jp.fujitsu.com> Date: Fri, 20 May 2011 12:12:06 +0900 From: KOSAKI Motohiro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: luto@mit.edu CC: minchan.kim@gmail.com, kamezawa.hiroyu@jp.fujitsu.com, fengguang.wu@intel.com, andi@firstfloor.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mgorman@suse.de, hannes@cmpxchg.org, riel@redhat.com Subject: Re: Kernel falls apart under light memory pressure (i.e. linking vmlinux) References: <20110512054631.GI6008@one.firstfloor.org> <20110514165346.GV6008@one.firstfloor.org> <20110514174333.GW6008@one.firstfloor.org> <20110515152747.GA25905@localhost> <20110517060001.GC24069@localhost> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 25 > Right after that happened, I hit ctrl-c to kill test_mempressure.sh. > The system was OK until I typed sync, and then everything hung. > > I'm really confused. shrink_inactive_list in > RECLAIM_MODE_LUMPYRECLAIM will call one of the isolate_pages functions > with ISOLATE_BOTH. The resulting list goes into shrink_page_list, > which does VM_BUG_ON(PageActive(page)). > > How is that supposed to work? Usually clear_active_flags() clear PG_active before calling shrink_page_list(). shrink_inactive_list() isolate_pages_global() update_isolated_counts() clear_active_flags() shrink_page_list() -- 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/