Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D89E3C433F5 for ; Wed, 5 Jan 2022 22:36:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245115AbiAEWgW (ORCPT ); Wed, 5 Jan 2022 17:36:22 -0500 Received: from out01.mta.xmission.com ([166.70.13.231]:51080 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245111AbiAEWgR (ORCPT ); Wed, 5 Jan 2022 17:36:17 -0500 Received: from in02.mta.xmission.com ([166.70.13.52]:39210) by out01.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1n5EtB-00DgC5-GK; Wed, 05 Jan 2022 15:36:13 -0700 Received: from ip68-110-24-146.om.om.cox.net ([68.110.24.146]:50620 helo=email.froward.int.ebiederm.org.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1n5EtA-00ExSX-Hd; Wed, 05 Jan 2022 15:36:13 -0700 From: ebiederm@xmission.com (Eric W. Biederman) To: Al Viro Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Linus Torvalds , Alexey Gladkov , Kyle Huey , Oleg Nesterov , Kees Cook , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Martin Schwidefsky , Christoph Hellwig References: <87a6ha4zsd.fsf@email.froward.int.ebiederm.org> <20211208202532.16409-5-ebiederm@xmission.com> Date: Wed, 05 Jan 2022 16:36:04 -0600 In-Reply-To: (Al Viro's message of "Wed, 5 Jan 2022 06:02:23 +0000") Message-ID: <87zgo94xpn.fsf@email.froward.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1n5EtA-00ExSX-Hd;;;mid=<87zgo94xpn.fsf@email.froward.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.110.24.146;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX18ZYm4a4a0sQT3RXN8pv1gnZRFbvkQ/ui0= X-SA-Exim-Connect-IP: 68.110.24.146 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: [PATCH 05/10] exit: Stop exporting do_exit X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Al Viro writes: > On Wed, Dec 08, 2021 at 02:25:27PM -0600, Eric W. Biederman wrote: >> Now that there are no more modular uses of do_exit remove the EXPORT_SYMBOL. >> >> Suggested-by: Christoph Hellwig >> Signed-off-by: "Eric W. Biederman" >> --- >> kernel/exit.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/kernel/exit.c b/kernel/exit.c >> index f975cd8a2ed8..57afac845a0a 100644 >> --- a/kernel/exit.c >> +++ b/kernel/exit.c >> @@ -843,7 +843,6 @@ void __noreturn do_exit(long code) >> lockdep_free_task(tsk); >> do_task_dead(); >> } >> -EXPORT_SYMBOL_GPL(do_exit); > > "Now" in the commit message is misleading, AFAICS - there's no such users > in the mainline right now (and yes, that one could be moved all the way > up). Yes. I should have said. Now there are few enough users of do_exit that I can inspect the code and see there are no more modular users. Or words to that effect. Because honestly my make_task_dead change got rid of most of the callers of do_exit. Eric