NFS: kswapd must not block in nfs_release_page
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Jul 2010 19:31:54 +0000 (15:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Jul 2010 19:38:42 +0000 (15:38 -0400)
commitb608b283a962caaa280756bc8563016a71712acf
tree217a745ab305219fab676d4a215c1a709004bd57
parent674b2222920012244ca59978b356b25412a8dcc7
NFS: kswapd must not block in nfs_release_page

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>
Cc: stable@kernel.org
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs.h