From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id A6C6F6B009A for ; Thu, 16 Jul 2009 12:02:59 -0400 (EDT) Date: Thu, 16 Jul 2009 18:01:39 +0200 From: Johannes Weiner Subject: Re: [PATCH] mm: Warn once when a page is freed with PG_mlocked set V2 Message-ID: <20090716160139.GB1883@cmpxchg.org> References: <20090715220445.GA1823@cmpxchg.org> <20090716163537.9D3D.A69D9226@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: KOSAKI Motohiro , Mel Gorman , Andrew Morton , Maxim Levitsky , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Lee Schermerhorn , Pekka Enberg , Jiri Slaby List-ID: On Thu, Jul 16, 2009 at 09:54:49AM -0400, Christoph Lameter wrote: > On Thu, 16 Jul 2009, KOSAKI Motohiro wrote: > > > I like this patch. but can you please separate two following patches? > > - introduce __TESTCLEARFLAG() > > - non-atomic test-clear of PG_mlocked on free > > That would mean introducing the macro without any use case? It is fine the > way it is I think. Yeah, it's borderline. In any case, I have the split version here as well. Andrew, you choose :) > Reviewed-by: Christoph Lameter Thanks, Hannes -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org