lkml.org 
[lkml]   [2008]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 12/21] No Reclaim LRU Infrastructure
    From
    Date
    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



    \
     
     \ /
      Last update: 2008-02-29 15:51    [W:0.063 / U:0.756 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site