[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140212163644.GG5121@pd.tnic>
Date: Wed, 12 Feb 2014 17:36:44 +0100
From: Borislav Petkov <bp@...en8.de>
To: Tejun Heo <tj@...nel.org>
Cc: Prarit Bhargava <prarit@...hat.com>, linux-edac@...r.kernel.org,
Doug Thompson <dougthompson@...ssion.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] edac, poll timeout cannot be zero
On Wed, Feb 12, 2014 at 11:23:11AM -0500, Tejun Heo wrote:
> Hah... can't you just do it on object initialization? It's a bit
> nasty and fragile to game initialization state.
>
> > or so... I.e., what PREPARE_WORK() does?
>
> It allows you to change the callback without breaking the
> synchronization. Of course, if there's a pending work item, it may or
> may not execute the newly assigned function. It's also a bit nasty
> and has only few users in the whole kernel and I think we might wanna
> get rid of them.
Yeah, no, I certainly don't have to touch wq inner organs - I was
wondering whether there's such functionality already. The simple patch I
sent earlier should be good enough then.
Thanks!
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
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