Re: [patch 12/21] No Reclaim LRU Infrastructure

minchan Kim
2008-03-03T03:07:05Z

Sorry, I sended HTML format, so fail to send linux-kernel@vger.kernel.org
I will resend in TEXT/PLAIN format.

On Mon, Mar 3, 2008 at 12:04 PM, minchan Kim <barrioskmc@gmail.com> wrote:
> One more thing.
>
> zoneinfo_show_print fail to show right information.
> That's why 'enum zone_stat_item' and 'vmstat_text' index didn't matched.
> This is a problem about CONFIG_NORECLAIM, too.
>
>
>
>
>
> On Fri, Feb 29, 2008 at 11:48 PM, Lee Schermerhorn <Lee.Schermerhorn@hp.com> wrote:
>
> >
> >
> >
> > On Fri, 2008-02-29 at 13:58 +0900, minchan Kim wrote:
> > >
> > > +#ifdef CONFIG_NORECLAIM
> > > +static inline void lru_cache_add_noreclaim(struct page *page)
> > > +{
> > > + __lru_cache_add(page, LRU_NORECLAIM);
> > > +}
> > > +#else
> > > +static inline void lru_cache_add_noreclaim(struct page *page)
> > > +{
> > > + BUG("Noreclaim not configured, but page added
> > > anyway?!");
> > > +}
> > > +#endif
> > > +
> > >
> > > BUG() can't take a argument.
> >
> > Right. I don't have a clue how that got there :-(.
> >
> > Thanks,
> > Lee
> >
> >
>
>
>
> --
> Thanks,
> barrios

--
Thanks,
barrios