Re: [PATCH 2.6.24] mm: BadRAM support for broken memory

KAMEZAWA Hiroyuki
2008-03-03T09:54:14Z

On Mon, 3 Mar 2008 18:35:02 +1100
Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> On Monday 03 March 2008 18:14, KOSAKI Motohiro wrote:
> > > > some architecture use PG_reserved for treat bad memory.
> > > > Why do you want introduce new page flag?
> > > > for show_mem() improvement?
> > >
> > > I'd like to get rid of PG_reserved at some point. So I'd
> > > rather not overload it with more meanings ;)
> >
> > really?
> >
> > as far as I know, IA64 already use PG_reserved for bad memory.
> > please see arch/ia64/kernel/mcs_drv.c#mca_page_isolate.
> >
> > Doesn't it works on ia64 if your patch introduce?
>
> It doesn't really need to use PG_reserved there, no. It could
> use PG_bad for that instead.
>
Hmm, it seems that it's necessary to rewrite ia64/mca code after PG_bad
patch is merged.

Thanks,
-Kame