From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758248AbYGJPD4 (ORCPT ); Thu, 10 Jul 2008 11:03:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757283AbYGJPDg (ORCPT ); Thu, 10 Jul 2008 11:03:36 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:44412 "EHLO gprs189-60.eurotel.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755629AbYGJPDf (ORCPT ); Thu, 10 Jul 2008 11:03:35 -0400 Date: Thu, 10 Jul 2008 13:36:00 +0200 From: Pavel Machek To: "Rafael J. Wysocki" Cc: Andrew Morton , ACPI Devel Maling List , LKML , pm list , Zhang Rui , Rus Subject: Re: [PATCH -mm 5/8] Introduce new interface schedule_work_on Message-ID: <20080710113600.GE15412@elf.ucw.cz> References: <200807100152.17755.rjw@sisk.pl> <200807100203.27170.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807100203.27170.rjw@sisk.pl> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2008-07-10 02:03:26, Rafael J. Wysocki wrote: > From: Zhang Rui > Subject: Introduce new interface schedule_work_on > > This interface allows adding a job on a specific cpu. > > Although a work struct on a cpu will be scheduled to other cpu if the cpu dies, > there is a recursion if a work task tries to offline the cpu it's running on. > we need to schedule the task to a specific cpu in this case. > http://bugzilla.kernel.org/show_bug.cgi?id=10897 > > Signed-off-by: Zhang Rui > Tested-by: Rus > Signed-off-by: Rafael J. Wysocki ACK. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html