diff options
| author | Takashi Iwai <tiwai@suse.de> | 2004-08-30 20:32:46 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-30 20:32:46 -0700 |
| commit | 8cd809c5d8186db25db4718531dd173dc7bbcfc8 (patch) | |
| tree | 04f624cc9d72a46e3e847e0b9793fc0a63dec092 /fs/proc/array.c | |
| parent | b08e758948d781968ba967f669761f8ee81a9fcd (diff) | |
[PATCH] Fix the unnecessary entropy call in the irq handler
Currently add_interrupt_randomness() is called at each interrupt when one
of the handlers has SA_SAMPLE_RANDOM flag, regardless whether the interrupt
is processed by that handler or not. This results in the higher latency
and perfomance loss.
The patch fixes this behavior to avoid the unnecessary call by checking the
return value from each handler.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
