Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem

From: Al Viro
Date: Thu Jan 14 2016 - 18:34:34 EST


On Thu, Jan 14, 2016 at 10:25:44PM +0000, Al Viro wrote:

> Anyway, mm/shmem.c bit follows. With that + NFS one we ought to be OK
> wrt that class of bogosities. I'll write the bits for
> Documentation/filesystems/porting (basically, "if you preseed the pagecache
> at ->symlink() time, don't put highmem pages there; page_symlink() will
> take care of that, provided that inode_nohighmem() is called first") and
> push the combined patch to #for-linus.

Done and pushed. Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git

Shortlog:
Al Viro (1):
Make sure that highmem pages are not added to symlink page cache

Diffstat:
Documentation/filesystems/porting | 6 +++++-
fs/nfs/dir.c | 5 ++---
mm/shmem.c | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)