Skip to content
Snippets Groups Projects
Select Git revision
  • e8ecde25f5e08f89b61d86c32bbb56b405e90c32
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

porting

  • Al Viro's avatar
    e8ecde25
    Make sure that highmem pages are not added to symlink page cache · e8ecde25
    Al Viro authored
    
    inode_nohighmem() is sufficient to make sure that page_get_link()
    won't try to allocate a highmem page.  Moreover, it is sufficient
    to make sure that page_symlink/__page_symlink won't do the same
    thing.  However, any filesystem that manually preseeds the symlink's
    page cache upon symlink(2) needs to make sure that the page it
    inserts there won't be a highmem one.
    
    Fortunately, only nfs and shmem have run afoul of that...
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    e8ecde25
    History
    Make sure that highmem pages are not added to symlink page cache
    Al Viro authored
    
    inode_nohighmem() is sufficient to make sure that page_get_link()
    won't try to allocate a highmem page.  Moreover, it is sufficient
    to make sure that page_symlink/__page_symlink won't do the same
    thing.  However, any filesystem that manually preseeds the symlink's
    page cache upon symlink(2) needs to make sure that the page it
    inserts there won't be a highmem one.
    
    Fortunately, only nfs and shmem have run afoul of that...
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>