Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759715AbYCCDVR (ORCPT ); Sun, 2 Mar 2008 22:21:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751550AbYCCDVB (ORCPT ); Sun, 2 Mar 2008 22:21:01 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:41014 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753245AbYCCDVA (ORCPT ); Sun, 2 Mar 2008 22:21:00 -0500 Date: Mon, 03 Mar 2008 12:21:27 +0900 From: KOSAKI Motohiro To: Rick van Rein Subject: Re: [PATCH 2.6.24] mm: BadRAM support for broken memory Cc: kosaki.motohiro@jp.fujitsu.com, KOSAKI Motohiro , linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: <20080302174235.GA26902@phantom.vanrein.org> References: <2f11576a0803020901n715fda8esbfc0172f5a15ae3c@mail.gmail.com> <20080302174235.GA26902@phantom.vanrein.org> Message-Id: <20080303121335.1E7B.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 33 Hi Rick > > > +#define PG_badram 20 /* BadRam page */ > > > > some architecture use PG_reserved for treat bad memory. > > Why do you want introduce new page flag? > > It is clearer to properly name a flag, I suppose. > Is the use that you are mentioning the intended, and only use of the flag? > If not, I think it is clearer to use a separate flag instead of overloading > one. hmmm unfortunately flag bit of struct page is very valuable resource rather than diamond on current implementaion ;-) if you can change to no introduce new page flag, IMHO merge to mainline dramatically become easy. > > for show_mem() improvement? > > For code clarity. agreed with your code is clarify. but... -- 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/