diff options
author | 2005-06-16 12:57:31 +0200 | |
---|---|---|
committer | 2005-06-16 12:57:31 +0200 | |
commit | c374f127e4ff17a318b9ae95a5bf65f370c2d0b1 (patch) | |
tree | d1e42b31f9a66582096e9548fc90cc069d6f39e2 /kernel/audit.c | |
parent | This patch kills elevator_global_init() in elevator.c which does (diff) | |
download | linux-rng-c374f127e4ff17a318b9ae95a5bf65f370c2d0b1.tar.xz linux-rng-c374f127e4ff17a318b9ae95a5bf65f370c2d0b1.zip |
This patch fixes q->unplug_thresh condition check in
__elv_add_request(). rq.count[READ] + rq.count[WRITE] can increase
more than one if another thread has allocated a request after the
current request is allocated or in_flight could have changed resulting
in larger-than-one change of nrq, thus breaking the threshold
mechanism.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions