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

Lee Schermerhorn
2008-02-29T14:48:53Z

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