Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp962022imu; Wed, 9 Jan 2019 09:11:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN5zLheOHwZcv7srnJx8Pysw6/Do46k2LUIYGzjeREma15kdvY/9G3npFMYbrdTSdLSmr7gK X-Received: by 2002:a62:5486:: with SMTP id i128mr6561149pfb.215.1547053884707; Wed, 09 Jan 2019 09:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547053884; cv=none; d=google.com; s=arc-20160816; b=f760/fgbl2D5ymjTyQH625pHTe0dX0V7UggiELdgS0eFSszM7locYV9ReJxfShPFtk EfyzaBG8mhLIOI+g67Sk7uvItQw8BbdiPjWuxmDIuYOsopk3JqFiCOwWtWhWs7hOBRVj 7dWR7GdBZ6i413W3CkOvbO4CnFTseHMmeM5A/9Ua1zRHnC/Rym+D+fcXMzYgQb6pr5yU O3IxIV4rWui4PvOFY9V1S25/y9ScOAXLEJGergZCTizmS+JLpi5q3H5m81uUmDbti2sS Rcljd1J95D/d4s82u8v1V4i6vODyyIrosEKprkZOc4hD9MkRXJ4gQz6qqkFEWSPn/kj+ KzpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lQd3iISealpQIzHpdovz9/FYX32h1rnP7i2pp9Ks+20=; b=Eh5hQM3ZmQZlQpweor0TGCVO4XzdH4sVHXOJFyyXd5aYjE8SHobMmUoQcLAn9VJECt p2mIUriKUwIyPAvBtdOeyYRfp1pymVAEeUYNbkRskXkuu2qe1k++hR+j4uxqVcMmAy9a oAU4xHlPAss+y3IGkbm4UBgB/33EKO1ZAr1vrl+gjr3RKgEH20q+X+7327aNw4qkNd7k DsZOwZQXQ46NuVfGXFBM9TGBUOEA48HZq2QE7eCg/PZULzVepV9htLv30rtsRlb8xcDC ryMBoAOYEh1fNF4SGH5Xc0y1/j2o+8ogbqKxAUbLbdAlo6EzrWNr5OFnjlWLaUy0O7Fn bWAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d15si64981336pgt.498.2019.01.09.09.11.08; Wed, 09 Jan 2019 09:11:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726756AbfAIRJi (ORCPT + 99 others); Wed, 9 Jan 2019 12:09:38 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:56939 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbfAIRJi (ORCPT ); Wed, 9 Jan 2019 12:09:38 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1ghHMF-0005M3-IR; Wed, 09 Jan 2019 18:09:35 +0100 Date: Wed, 9 Jan 2019 18:09:35 +0100 From: Sebastian Andrzej Siewior To: Greg Kroah-Hartman Cc: Marc Dionne , Linus Torvalds , Linux Kernel Mailing List , x86@kernel.org Subject: Re: x86/fpu: Don't export __kernel_fpu_{begin,end}() Message-ID: <20190109170935.e6b6rwzpk6dlruu4@linutronix.de> References: <20190109111951.5zvnj7ls6jv56p2u@linutronix.de> <20190109165235.GA8151@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190109165235.GA8151@kroah.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-01-09 17:52:35 [+0100], Greg Kroah-Hartman wrote: > If there are no in-kernel users, the symbols should not be exported > anymore. That's nothing new, we have always done this. The thing is that we had EXPORT_SYMBOL(__kernel_fpu_begin) EXPORT_SYMBOL_GPL(kernel_fpu_begin) and now __kernel_fpu_begin() is no longer exported and static only. All in kernel user (including the kvm module) use kernel_fpu_begin() which is not available to proprietary modules. Hence Marc's mail. > > On the other hand could we just drop EXPORT_SYMBOL_GPL? I doubt this > > helps in any way yet please correct me if I am wrong. > > Yes, it helps, please leave it as-is. As you say. I only notice that certain things used to work and then no longer do because due to $rework it somehow become EXPORT_SYMBOL_GPL only and people complain and we tend to switch the export back to EXPORT_SYMBOL. I'm not aware of a case where it actually helped in anyway. > thanks, > > greg k-h Sebastian