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

From: Lee Schermerhorn
Date: Fri Feb 29 2008 - 09:48:53 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/