diff options
author | 2005-06-23 00:08:49 -0700 | |
---|---|---|
committer | 2005-06-23 09:45:15 -0700 | |
commit | fa72b903f75e4f0f0b2c2feed093005167da4023 (patch) | |
tree | 12087e87fb8d41d10013946e5b2c91e57265c29e /kernel/posix-timers.c | |
parent | [PATCH] blk: use find_first_zero_bit() in blk_queue_start_tag() (diff) | |
download | linux-rng-fa72b903f75e4f0f0b2c2feed093005167da4023.tar.xz linux-rng-fa72b903f75e4f0f0b2c2feed093005167da4023.zip |
[PATCH] blk: remove blk_queue_tag->real_max_depth optimization
blk_queue_tag->real_max_depth was used to optimize out unnecessary
allocations/frees on tag resize. However, the whole thing was very broken -
tag_map was never allocated to real_max_depth resulting in access beyond the
end of the map, bits in [max_depth..real_max_depth] were set when initializing
a map and copied when resizing resulting in pre-occupied tags.
As the gain of the optimization is very small, well, almost nill, remove the
whole thing.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/posix-timers.c')
0 files changed, 0 insertions, 0 deletions