Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1909270imu; Thu, 10 Jan 2019 05:14:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN7WnhXYD9/UpQG4aVX3UioZHDyDgkTngA/2MVm2x3cdMQbmXqtzCKqL789J7SmlQza/gElI X-Received: by 2002:aa7:80d7:: with SMTP id a23mr10003258pfn.86.1547126066533; Thu, 10 Jan 2019 05:14:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547126066; cv=none; d=google.com; s=arc-20160816; b=KE87+v7j/AZztzoBekmd08XLAVdLPzjWDj9pcc8Lair20coFQRzUIVBB+JhHJQ7cAR j6iEmqZTIG1CmLFLAQmZe0fNFqgoxWLRChnjA6wU8maN2hoGUEMf7j8Qxue6lGStQo7e aeaikeJswG+2ZqMPfcbdBBoetLPpl1sOe5hHBmCqdsPmX+7/P4qaDxvcp1w2opSOHYqL qDwvOq44YzMoHSxMN4k0xc2Lno9bh9bkj4tk4AgoIsoDuMT4Qxxv7iYfjNQczLYw1Dss LzCMSBlpPQu5pnmVIbC6DSCWlQzPdTp7bso2XEAyxnQNrOX2T/BmfHlmjRLv8yYiQ73m alUA== 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:dkim-signature; bh=Bmot1O8rwzOsmtSJc5DmJuqK2R+tqdyJFmkgV+4BfAk=; b=iLNtIwIVU1NTIj2HpSpjtHHXaEoXv9DBSmCdU+RJsweA2M9Phlki6Qd0oYkF52A/iZ CCwIKWjHjRo1o6DyFeIZ2oEmUcLwRQOi7IefSBeGBq5Ug8iQCY458MyWPwIPPuPRXOKh MrVrIphSX7Lw1AYpr0ESa+amUjJYGS/FQrMZt8Re24SW+9SoDDpqFiDm2+ZaJt1KWN4a QwDOad+Hh85Bj8d0JJNED7Z3sJe3nbfYklimFfZPjUKgUERWRuxSSqg3v3g3O4fv+dxV e4Zq1gmZHCEEAbhlDrWh3xW0ClEw9XkEDf3U+YmNcO+inQMx+6ZMq3tHFwroOglp64s8 H02g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jR7PCt7a; 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 y22si17045388pfa.6.2019.01.10.05.14.10; Thu, 10 Jan 2019 05:14:26 -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; dkim=pass header.i=@kernel.org header.s=default header.b=jR7PCt7a; 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 S1728748AbfAJNLg (ORCPT + 99 others); Thu, 10 Jan 2019 08:11:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:36960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728131AbfAJNLf (ORCPT ); Thu, 10 Jan 2019 08:11:35 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7206220879; Thu, 10 Jan 2019 13:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547125894; bh=GbOeBpWB+htKNiWD2D794EUDwYV5XMDYhjd9tXtw68g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jR7PCt7aElDElU64b30zNhbWaMB1N1mK3hpXBre6cpdiJ9ZXpYZ5lUjgj7dwmv/4L hTBf1ivsxZUrf198k3yk7JaD53XMScMjJWIjyuJu9xsi52Qn93j+/m7b8figfDldM9 y2bsWIBrj93FK47owfkN4sdOUPrwqBU3geOciryc= Date: Thu, 10 Jan 2019 14:11:32 +0100 From: Greg Kroah-Hartman To: Sebastian Andrzej Siewior 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: <20190110131132.GC20217@kroah.com> References: <20190109111951.5zvnj7ls6jv56p2u@linutronix.de> <20190109165235.GA8151@kroah.com> <20190109170935.e6b6rwzpk6dlruu4@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190109170935.e6b6rwzpk6dlruu4@linutronix.de> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 09, 2019 at 06:09:35PM +0100, Sebastian Andrzej Siewior wrote: > 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. Ok, that is fine. > All in kernel user (including the kvm module) use kernel_fpu_begin() > which is not available to proprietary modules. Hence Marc's mail. But since when did out-of-tree modules use __kernel_fpu_begin? It's an x86-only thing, and shouldn't really be used by anyone, right? > > > 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. That is a different topic than the whole _GPL symbol export at all. Please don't conflate the two. > I'm not aware of a case where it actually helped in anyway. The use of the _GPL symbol exports has helped in numerous places over the years. I'd be glad to discuss details over a beverage sometime :) thanks, greg k-h