[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a24804730905130931g6acbe0b1t6a6656d51c937624@mail.gmail.com>
Date: Wed, 13 May 2009 09:31:33 -0700
From: Chris Peterson <cpeterso@...terso.com>
To: David Howells <dhowells@...hat.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] use round_jiffies() for slow work thread pool's 5
second cull timer
>> This is a revised patch to round the slow work queue's 5 second timers to
>> whole seconds with round_jiffies().
>
> Why? Your patch description doesn't say.
>
oops, good question. round_jiffies is useful for timers for which the
exact time they fire does not matter too much, as long as they fire
approximately every X seconds.
By rounding non-time-critical timers to whole seconds, all such timers
will be batched up to fire at the same time, rather than at various
times spread out. The goal of this is to have the CPU wake up less,
which saves power.
chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists