The patch titled NLM: Have lockd call try_to_freeze has been added to the -mm tree. Its filename is nlm-have-lockd-call-try_to_freeze.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: NLM: Have lockd call try_to_freeze From: Jeff Layton <jlayton@xxxxxxxxxx> lockd makes itself freezable, but never calls try_to_freeze(). Have it call try_to_freeze() within the main loop. Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx> Cc: Neil Brown <neilb@xxxxxxx> Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx> Cc: Chuck Lever <cel@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/lockd/svc.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN fs/lockd/svc.c~nlm-have-lockd-call-try_to_freeze fs/lockd/svc.c --- a/fs/lockd/svc.c~nlm-have-lockd-call-try_to_freeze +++ a/fs/lockd/svc.c @@ -155,6 +155,9 @@ lockd(struct svc_rqst *rqstp) long timeout = MAX_SCHEDULE_TIMEOUT; char buf[RPC_MAX_ADDRBUFLEN]; + if (try_to_freeze()) + continue; + if (signalled()) { flush_signals(current); if (nlmsvc_ops) { _ Patches currently in -mm which might be from jlayton@xxxxxxxxxx are git-cifs.patch sunrpc-spin-svc_rqst-initialization-to-its-own-function.patch sunrpc-export-svc_sock_update_bufs.patch nlm-initialize-completion-variable-in-lockd_up.patch nlm-have-lockd-call-try_to_freeze.patch nlm-convert-lockd-to-use-kthreads.patch nlm-add-reference-counting-to-lockd.patch git-unionfs.patch smbfs-fix-calculation-of-kernel_recvmsg-size-parameter-in-smb_receive.patch deprecate-smbfs-in-favour-of-cifs.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html