Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1309758

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

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem
Date 2016-01-15 00:40 +0100
Message-ID <qQZEJ-5SS-7@gated-at.bofh.it> (permalink)
References (5 earlier) <qQTJ0-1H2-31@gated-at.bofh.it> <qQVB8-34k-13@gated-at.bofh.it> <qQXjA-4eb-13@gated-at.bofh.it> <qQXWi-4xw-37@gated-at.bofh.it> <qQYz0-5b5-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-14 16:40 +0100
  Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem Tomeu Vizoso <tomeu@tomeuvizoso.net> - 2016-01-14 17:00 +0100
    Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-14 17:30 +0100
      Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem Tomeu Vizoso <tomeu@tomeuvizoso.net> - 2016-01-14 18:00 +0100
        Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-14 18:20 +0100
          Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem Tomeu Vizoso <tomeu@tomeuvizoso.net> - 2016-01-14 20:20 +0100
            Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-14 22:10 +0100
              Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem Linus Torvalds <torvalds@linux-foundation.org> - 2016-01-14 22:50 +0100
                Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-14 23:30 +0100
                Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-15 00:40 +0100
                Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into highmem Linus Torvalds <torvalds@linux-foundation.org> - 2016-01-15 01:00 +0100
                Re: [PATCH v2 06/11] don't put symlink bodies in pagecache into  highmem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-15 01:10 +0100

csiph-web