NFS: kswapd must not block in nfs_release_page
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 3 Aug 2010 21:22:16 +0000 (17:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:20:36 +0000 (10:20 -0700)
commit0c88c156dfb335e3ae4fc50a76b88082544d1d3c
treebb4388bb86f871df9a48f11767b2b67529f89496
parenta53c911be2f79cca99410110d88dc09f6639bc26
NFS: kswapd must not block in nfs_release_page

commit b608b283a962caaa280756bc8563016a71712acf upstream

See https://bugzilla.kernel.org/show_bug.cgi?id=16056

If other processes are blocked waiting for kswapd to free up some memory so
that they can make progress, then we cannot allow kswapd to block on those
processes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/file.c