Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbbG1V1u (ORCPT ); Tue, 28 Jul 2015 17:27:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54592 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbbG1V1t (ORCPT ); Tue, 28 Jul 2015 17:27:49 -0400 Date: Tue, 28 Jul 2015 14:27:48 -0700 From: Andrew Morton To: David Kershner Cc: , , , , , , , , Subject: Re: [PATCH v2] kthread: Export kthread functions Message-Id: <20150728142748.a756d7540ad5cdaf4c9efc9e@linux-foundation.org> In-Reply-To: <1438099141-8614-1-git-send-email-david.kershner@unisys.com> References: <1437777920-31156-1-git-send-email-david.kershner@unisys.com> <1438099141-8614-1-git-send-email-david.kershner@unisys.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1444 Lines: 35 On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner wrote: > The s-Par visornic driver, currently in staging, processes a queue > being serviced by the an s-Par service partition. We can get a message > that something has happened with the Service Partition, when that > happens, we must not access the channel until we get a message that the > service partition is back again. > > The visornic driver has a thread for processing the channel, when we > get the message, we need to be able to park the thread and then resume > it when the problem clears. > > We can do this with kthread_park and unpark but they are not exported > from the kernel, this patch exports the needed functions. > > Signed-off-by: David Kershner Please accumulate the acked-by's and reviewed-by's in the changelog as they are received. I presently have Acked-by: Ingo Molnar Acked-by: Neil Horman Cc: Thomas Gleixner Cc: Richard Weinberger Cc: Tejun Heo I'll scoot this into mainline probably this week to make life simpler for the various trees. -- 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/