Re: [PATCH 06/10] [vfs] don't put symlink bodies in pagecache into highmem
From: Dave Chinner
Date: Thu Nov 19 2015 - 18:03:13 EST
On Tue, Nov 17, 2015 at 11:00:42PM +0000, Al Viro wrote:
> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>
> kmap() in page_follow_link_light() needed to go - allowing to hold
> an arbitrary number of kmaps for long is a great way to deadlocking
> the system.
>
> new helper (inode_nohigh(inode)) needs to be used for pagecache
inode_nohighmem() seems like a better name as it's self-documenting
at the call site.
Cheers,
Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
--
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/