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 SMTP id 111FA6B004D for ; Thu, 16 Jul 2009 09:55:05 -0400 (EDT) Received: from localhost (smtp.ultrahosting.com [127.0.0.1]) by smtp.ultrahosting.com (Postfix) with ESMTP id 4D2E982C7A1 for ; Thu, 16 Jul 2009 10:14:26 -0400 (EDT) Received: from smtp.ultrahosting.com ([74.213.175.254]) by localhost (smtp.ultrahosting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nBcKDoj9Md1b for ; Thu, 16 Jul 2009 10:14:26 -0400 (EDT) Received: from gentwo.org (unknown [74.213.171.31]) by smtp.ultrahosting.com (Postfix) with ESMTP id 325DB82C7A8 for ; Thu, 16 Jul 2009 10:14:20 -0400 (EDT) Date: Thu, 16 Jul 2009 09:54:49 -0400 (EDT) From: Christoph Lameter Subject: Re: [PATCH] mm: Warn once when a page is freed with PG_mlocked set V2 In-Reply-To: <20090716163537.9D3D.A69D9226@jp.fujitsu.com> Message-ID: References: <20090715220445.GA1823@cmpxchg.org> <20090716163537.9D3D.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: Johannes Weiner , 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, 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. Reviewed-by: Christoph Lameter -- 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