Re: [RFC] [PATCH 1/4] Add extended attributes to ext2/3

From: Rik van Riel (
Date: Tue Oct 08 2002 - 13:21:02 EST

On Tue, 8 Oct 2002 wrote:

> This first patch creates a generic interface for registering caches with
> the VM subsystem so that they can react appropriately to memory
> pressure.

> +/* BKL must be held */

... but it isn't. Also, kswapd isn't holding the bkl while
traversing the list.

> +void register_cache(struct cache_definition *cache)
> +{
> + list_add(&cache->link, &cache_definitions);
> +}

I suspect you'll want a semaphore for the cache_definitions



A: No.
Q: Should I include quotations after my reply?

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:26 EST