public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* timer: permit statically-declared work with deferrable timers
@ 2010-09-30 19:26 Phil Carmody
  2010-09-30 19:26 ` [PATCH 1/1] " Phil Carmody
  2010-09-30 20:08 ` Thomas Gleixner
  0 siblings, 2 replies; 6+ messages in thread
From: Phil Carmody @ 2010-09-30 19:26 UTC (permalink / raw)
  To: arjan, tglx; +Cc: akpm, mingo, linux-kernel, Artem.Bityutskiy


Arjen, Thomas,

This patch is an enabler which hopefully can lead to simplification of code 
elsewhere. For example, it would turn Artem's patch I refer to in the commit
message (8eab945c5616fc984e97b922d6a2559be93f39a1) into just:

-static DECLARE_DELAYED_WORK(cache_cleaner, do_cache_clean);
+static DECLARE_DEFERRED_WORK(cache_cleaner, do_cache_clean);

rather than the creation of a __init helper that required touching 3 files.

I'm prepared to follow up with such simplifying patches if it's considered
worthwhile.

Cheers,
Phil

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-01  6:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 19:26 timer: permit statically-declared work with deferrable timers Phil Carmody
2010-09-30 19:26 ` [PATCH 1/1] " Phil Carmody
2010-10-01  6:19   ` Artem Bityutskiy
2010-09-30 20:08 ` Thomas Gleixner
2010-09-30 20:50   ` Phil Carmody
2010-09-30 20:55     ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox