https://github.com/torvalds/linux
Revision ddeff520f02b92128132c282c350fa72afffb84a authored by Nikita Danilov on 09 August 2006, 17:53:47 UTC, committed by Trond Myklebust on 24 August 2006, 19:48:46 UTC
nfs_wb_page() waits on request completion and, as a result, is not safe to be
called from nfs_release_page() invoked by VM scanner as part of GFP_NOFS
allocation. Fix possible deadlock by analyzing gfp mask and refusing to
release page if __GFP_FS is not set.

Signed-off-by: Nikita Danilov <danilov@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 374d969debfb290bafcb41d28918dc6f7e43ce31 commit)
1 parent ef7d1b2
History
Tip revision: ddeff520f02b92128132c282c350fa72afffb84a authored by Nikita Danilov on 09 August 2006, 17:53:47 UTC
NFS: Fix a potential deadlock in nfs_release_page
Tip revision: ddeff52
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 521 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 70.9 KB
Makefile -rw-r--r-- 46.5 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top