Files
linux/net/sunrpc
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 <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2005-11-15 08:59:19 -08:00
..
2005-11-08 09:41:34 -08:00
2005-10-08 15:00:57 -07:00
2005-11-08 09:41:34 -08:00
2005-04-16 15:20:36 -07:00
2005-11-08 09:41:34 -08:00