[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1285874789-1481-1-git-send-email-ext-phil.2.carmody@nokia.com>
Date: Thu, 30 Sep 2010 22:26:28 +0300
From: Phil Carmody <ext-phil.2.carmody@...ia.com>
To: arjan@...ux.intel.com, tglx@...utronix.de
Cc: akpm@...ux-foundation.org, mingo@...e.hu,
linux-kernel@...r.kernel.org, Artem.Bityutskiy@...ia.com
Subject: timer: permit statically-declared work with deferrable timers
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
--
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