diff options
| author | Chris Metcalf <[email protected]> | 2010-08-13 12:24:22 +0000 |
|---|---|---|
| committer | Chris Metcalf <[email protected]> | 2010-08-13 12:24:22 +0000 |
| commit | 749dc6f252b57d5cb9c1f4c1c4aafe4c92a28207 (patch) | |
| tree | 1728f62b00935ecf9ac16bd9e3871f9d0e7ad75c /fs/jbd/commit.c | |
| parent | arch/tile: correct a bug in freeing bootmem by VA for the optional second ini... (diff) | |
| download | kernel-749dc6f252b57d5cb9c1f4c1c4aafe4c92a28207.tar.gz kernel-749dc6f252b57d5cb9c1f4c1c4aafe4c92a28207.zip | |
arch/tile: Use separate, better minsec values for clocksource and sched_clock.
We were using the same 5-sec minsec for the clocksource and sched_clock
that we were using for the clock_event_device. For the clock_event_device
that's exactly right since it has a short maximum countdown time.
But for sched_clock we want to avoid wraparound when converting from
ticks to nsec over a much longer window, so we force a shift of 10.
And for clocksource it seems dodgy to use a 5-sec minsec as well, so we
copy some other platforms and force a shift of 22.
Signed-off-by: Chris Metcalf <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
