On Sat, Apr 25, 2015 at 08:32:47PM +0200, Christoph Hellwig wrote: > On Sat, Apr 25, 2015 at 03:57:28PM +0100, Al Viro wrote: > > > Note that caching the symlink in a kmalloc'ed buffer might be > > > more efficient than the pagecache for most cases anyway. > > > > Hmm... When would you free the sucker? > > final iput. Similar design to the generic ACL cache. Except that in this case you have to deal with the cases when it should _not_ be freed in ->evict_inode() (and doing that in generic code is right out). I'm not sure it will be simpler that way, actually... -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html