diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-11-15 09:09:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-15 17:59:19 +0100 |
commit | 1887b93529410633b5529a7c2d304897dbed5b3e (patch) | |
tree | bb51359d16e40503dc8faa56bd429311d3514bda /Documentation | |
parent | [PATCH] Add missing EXPORT_SYMBOLS() for __ide_mm_* functions on powerpc (diff) | |
download | linux-1887b93529410633b5529a7c2d304897dbed5b3e.tar.xz linux-1887b93529410633b5529a7c2d304897dbed5b3e.zip |
[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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions