[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1285913973.11684.63.camel@localhost>
Date: Fri, 01 Oct 2010 09:19:33 +0300
From: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
To: Phil Carmody <ext-phil.2.carmody@...ia.com>
Cc: "arjan@...ux.intel.com" <arjan@...ux.intel.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"mingo@...e.hu" <mingo@...e.hu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] timer: permit statically-declared work with
deferrable timers
On Thu, 2010-09-30 at 21:26 +0200, ext Phil Carmody wrote:
> Currently, you have to just define a delayed_work uninitialised, and then
> initialise it before first use. That's a tad clumsy. At risk of playing
> mind-games with the compiler, fooling it into doing pointer arithmetic
> with compile-time-constants, this lets clients properly initialise delayed
> work with deferrable timers statically.
>
> This patch was inspired by the issues which lead Artem Bityutskiy
> to commit 8eab945c5616fc984e97b922d6a2559be93f39a1.
>
> Signed-off-by: Phil Carmody <ext-phil.2.carmody@...ia.com>
Acked-by: Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
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