From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755632Ab2IQVie (ORCPT ); Mon, 17 Sep 2012 17:38:34 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:62727 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752474Ab2IQVid (ORCPT ); Mon, 17 Sep 2012 17:38:33 -0400 Date: Mon, 17 Sep 2012 14:38:29 -0700 From: Tejun Heo To: Jiri Kosina Cc: "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86, apm: Make on_cpu0() use workqueue instead of work_on_cpu() Message-ID: <20120917213829.GN18677@google.com> References: <20120824011134.GB21325@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Aug 28, 2012 at 03:57:27PM -0700, Jiri Kosina wrote: > On Thu, 23 Aug 2012, Tejun Heo wrote: > > > Make APM schedule a work item on CPU0 instead of using the expensive > > work_on_cpu(); hopefully, this is the last user of work_on_cpu() and > > we can take out work_on_cpu() in not too distant future. > > > > Tested both paths. Seems to work fine. > > Applying to apm.git, thanks Tejun. It seems we need work_on_cpu() after all and I'm planning on reimplementing it in saner way. Can you please drop this one? Thanks. -- tejun