NeilBrown 1887b93529 [PATCH] knfsd: make sure nfsd doesn't hog a cpu forever
Being kernel-threads, nfsd servers don't get pre-empted (depending on
CONFIG).  If there is a steady stream of NFS requests that can be served
from cache, an nfsd thread may hold on to a cpu indefinitely, which isn't
very friendly.

So it is good to have a cond_resched in there (just before looking for a
new request to serve), to make sure we play nice.

Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-15 08:59:19 -08:00
..
2005-11-08 09:41:34 -08:00
2005-11-08 09:41:34 -08:00
2005-10-31 16:34:10 -02:00
2005-11-08 09:41:34 -08:00
2005-11-11 12:04:28 -08:00
2005-11-08 09:41:34 -08:00
2005-11-08 09:41:34 -08:00
2005-11-10 02:26:41 +01:00
2005-11-08 09:41:34 -08:00
2005-11-08 09:41:34 -08:00
2005-11-09 07:55:58 -08:00
2005-11-08 09:41:34 -08:00