Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507AbbG3Ds2 (ORCPT ); Wed, 29 Jul 2015 23:48:28 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:35391 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752542AbbG3Ds1 convert rfc822-to-8bit (ORCPT ); Wed, 29 Jul 2015 23:48:27 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: [PATCH v2] kthread: Export kthread functions From: yalin wang In-Reply-To: Date: Thu, 30 Jul 2015 11:48:17 +0800 Cc: Andrew Morton , David Kershner , tj@kernel.org, laijs@cn.fujitsu.com, nacc@linux.vnet.ibm.com, nhorman@redhat.com, mingo@redhat.com, linux-kernel@vger.kernel.org, jes.sorensen@redhat.com, sparmaintainer@unisys.com Content-Transfer-Encoding: 8BIT Message-Id: References: <1437777920-31156-1-git-send-email-david.kershner@unisys.com> <1438099141-8614-1-git-send-email-david.kershner@unisys.com> <20150728142748.a756d7540ad5cdaf4c9efc9e@linux-foundation.org> To: Thomas Gleixner X-Mailer: Apple Mail (2.2098) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1772 Lines: 42 > On Jul 29, 2015, at 18:34, Thomas Gleixner wrote: > > On Tue, 28 Jul 2015, Andrew Morton wrote: > >> 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. > i am curious why not make some tiny functions to be inline ? so that don’t need EXPORT_SYMOBLS , shrink the kernel size. Thanks-- 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/