diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-28 15:24:15 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-08 10:14:58 +0200 |
commit | f2c5dbd7b7396457efc114f825acfdd4db4608f8 (patch) | |
tree | 9c65570230dfc05b8580c86db0154b6b2a98515c /kernel/hrtimer.c | |
parent | hrtimer: export ktime_add_safe (diff) | |
download | linux-f2c5dbd7b7396457efc114f825acfdd4db4608f8.tar.xz linux-f2c5dbd7b7396457efc114f825acfdd4db4608f8.zip |
UBIFS: start using hrtimers
UBIFS uses timers for write-buffer write-back. It is not
crucial for us to write-back exactly on time. We are fine
to write-back a little earlier or later. And this means
we may optimize UBIFS timer so that it could be groped
with a close timer event, so that the CPU would not be
waken up just to do the write back. This is optimization
to lessen power consumption, which is important in
embedded devices UBIFS is used for.
hrtimers have a nice feature: they are effectively range
timers, and we may defind the soft and hard limits for
it. Standard timers do not have these feature. They may
only be made deferrable, but this means there is effectively
no hard limit. So, we will better use hrtimers.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions