diff options
author | Corrado Zoccolo <czoccolo@gmail.com> | 2009-10-05 06:49:23 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-05 09:03:55 (GMT) |
commit | 48e025e63ac908ed6ec5394a294f4ecd510a7476 (patch) | |
tree | 49828c00687c810627f00430dd56ce9901537fc9 /mm/hwpoison-inject.c | |
parent | 30996f40bffe73f05abb92a4cec254befa8cecf7 (diff) | |
download | linux-48e025e63ac908ed6ec5394a294f4ecd510a7476.tar.xz |
cfq-iosched: fix possible problem with jiffies wraparound
The RR service tree is indexed by a key that is relative to current jiffies.
This can cause problems on jiffies wraparound.
The patch fixes it using time_before comparison, and changing
the add_front path to use a relative number, too.
Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions