diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-12-29 21:41:23 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-29 21:41:23 -0800 |
| commit | b2e92a52042252a89d4ee939d7bdcb98a9714701 (patch) | |
| tree | 27988cd28276ff925b295fbd7e9856aa2c506f84 /include/linux | |
| parent | a93e679a7d1ca9cd662520a79830fec88a9654ca (diff) | |
[PATCH] Reduce context switch rate due to the random driver
add_disk_randomness() is causing a context switch per disk request. It
is scheduling process-context work one timer tick in the future for
every request.
But is has a buffer for this, so change it to not set up the
process-context work until that buffer is half full.
The patch reduces the context switch rate during a 20 megabyte/sec
write to scsi from 150/sec to 50/sec.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
