Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934344Ab2FEOBu (ORCPT ); Tue, 5 Jun 2012 10:01:50 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49251 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934265Ab2FEOBt convert rfc822-to-8bit (ORCPT ); Tue, 5 Jun 2012 10:01:49 -0400 Message-ID: <1338904888.28282.184.camel@twins> Subject: Re: [PATCH] kthread: Implement park/unpark facility From: Peter Zijlstra To: Thomas Gleixner Cc: Rusty Russell , Fenghua Yu , Ingo Molnar , H Peter Anvin , Suresh B Siddha , Tony Luck , Asit K Mallick , Arjan Dan De Ven , linux-kernel , x86 , linux-pm , "Srivatsa S. Bhat" Date: Tue, 05 Jun 2012 16:01:28 +0200 In-Reply-To: References: <1338833876-29721-1-git-send-email-fenghua.yu@intel.com> <1338842001.28282.135.camel@twins> <87zk8iioam.fsf@rustcorp.com.au> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 439 Lines: 9 On Tue, 2012-06-05 at 15:41 +0200, Thomas Gleixner wrote: > + * Returns 0 if the thread is parked, -ENOSYS if the thread exited. I think we typically return something like -ESRCH in that case. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/