]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] user of the jiffies rounding code: JBD
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 10 Dec 2006 10:21:26 +0000 (02:21 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sun, 10 Dec 2006 17:57:22 +0000 (09:57 -0800)
commit44d306e1508fef6fa7a6eb15a1aba86ef68389a6
tree84edb1f4d6e1e2d3926f152bad132e037da9024c
parent4c36a5dec25fb344ad76b11860da3a8b50bd1248
[PATCH] user of the jiffies rounding code: JBD

This patch introduces a user: of the round_jiffies() function; the "5 second"
ext3/jbd wakeup.

While "every 5 seconds" doesn't sound as a problem, there can be many of these
(and these timers do add up over all the kernel).  The "5 second" wakeup isn't
really timing sensitive; in addition even with rounding it'll still happen
every 5 seconds (with the exception of the very first time, which is likely to
be rounded up to somewhere closer to 6 seconds)

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/transaction.c