mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Phil Carmody <ext-phil.2.carmody@nokia.com>
To: arjan@linux.intel.com, tglx@linutronix.de
Cc: akpm@linux-foundation.org, mingo@elte.hu,
	linux-kernel@vger.kernel.org, Artem.Bityutskiy@nokia.com
Subject: timer: permit statically-declared work with deferrable timers
Date: Thu, 30 Sep 2010 22:26:28 +0300	[thread overview]
Message-ID: <1285874789-1481-1-git-send-email-ext-phil.2.carmody@nokia.com> (raw)


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

             reply	other threads:[~2010-09-30 19:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 19:26 Phil Carmody [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1285874789-1481-1-git-send-email-ext-phil.2.carmody@nokia.com \
    --to=ext-phil.2.carmody@nokia.com \
    --cc=Artem.Bityutskiy@nokia.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®