[PATCH] JFFS2 symlink cache

David Woodhouse dwmw2 at infradead.org
Thu Feb 17 09:41:10 EST 2005


On Thu, 2005-02-17 at 14:25 +0000, Artem B. Bityuckiy wrote:
> 
> +       /* We use f->dents field to store the target path. */
> +       f->dents = kmalloc(targetlen + 1, GFP_KERNEL);

Why aren't you just using the standard page_symlink_ops so that the
cache can be correctly discarded on memory pressure?

-- 
dwmw2





More information about the linux-mtd mailing list