From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754840Ab2HUUaP (ORCPT ); Tue, 21 Aug 2012 16:30:15 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:43853 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752719Ab2HUUaJ (ORCPT ); Tue, 21 Aug 2012 16:30:09 -0400 Date: Tue, 21 Aug 2012 13:30:04 -0700 From: Tejun Heo To: linux-kernel@vger.kernel.org Cc: torvalds@linux-foundation.org, mingo@redhat.com, akpm@linux-foundation.org, tglx@linutronix.de, peterz@infradead.org, davem@davemloft.net, tomi.valkeinen@ti.com Subject: Re: [PATCHSET] workqueue: use irqsafe timer in delayed_work Message-ID: <20120821203004.GA32596@google.com> References: <1344461882-10149-1-git-send-email-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1344461882-10149-1-git-send-email-tj@kernel.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 08, 2012 at 02:37:55PM -0700, Tejun Heo wrote: > This patchset makes delayed_work use the irqsafe timer added by the > pending "timer: clean up initializers and implement irqsafe timers" > patchset[1]. This enables try_to_grab_pending() to be used from any > context which in turn makes mod_delayed_work() usable from IRQ > handlers. cancel_delayed_work() is reimplemented using > try_to_grab_pending() so that it also can be used from IRQ handlers > and its behavior is consitent with other canceling operations. > __cancel_delayed_work() is no longer necessary and deprecated. Applied to wq/for-3.7 after pulling in tip/timers/core. Thanks. -- tejun