From: Al Viro Date: Sun, 20 Oct 2013 12:44:39 +0000 (-0400) Subject: nfsd regression since delayed fput() X-Git-Tag: v3.12-rc7~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7314d74fcb089b127ef5753b5263ac8473f33bc;p=pandora-kernel.git nfsd regression since delayed fput() Background: nfsd v[23] had throughput regression since delayed fput went in; every read or write ends up doing fput() and we get a pair of extra context switches out of that (plus quite a bit of work in queue_work itselfi, apparently). Use of schedule_delayed_work() gives it a chance to accumulate a bit before we do __fput() on all of them. I'm not too happy about that solution, but... on at least one real-world setup it reverts about 10% throughput loss we got from switch to delayed fput. Signed-off-by: Al Viro --- Reading git-diff-tree failed