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 F159BC433EF for ; Mon, 13 Dec 2021 14:51:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234951AbhLMOva (ORCPT ); Mon, 13 Dec 2021 09:51:30 -0500 Received: from out01.mta.xmission.com ([166.70.13.231]:52936 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbhLMOv1 (ORCPT ); Mon, 13 Dec 2021 09:51:27 -0500 Received: from in02.mta.xmission.com ([166.70.13.52]:45796) by out01.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mwmfk-007Cyd-Mm; Mon, 13 Dec 2021 07:51:24 -0700 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95]:40216 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 1mwmfj-00BB7w-LH; Mon, 13 Dec 2021 07:51:24 -0700 From: ebiederm@xmission.com (Eric W. Biederman) To: Heiko Carstens Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Linus Torvalds , Alexey Gladkov , Kyle Huey , Oleg Nesterov , Kees Cook , Al Viro , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev References: <87a6ha4zsd.fsf@email.froward.int.ebiederm.org> <20211208202532.16409-1-ebiederm@xmission.com> Date: Mon, 13 Dec 2021 08:50:44 -0600 In-Reply-To: (Heiko Carstens's message of "Sun, 12 Dec 2021 18:48:56 +0100") Message-ID: <87czm036ez.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=1mwmfj-00BB7w-LH;;;mid=<87czm036ez.fsf@email.froward.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX18KAzcwgpDXJi2izmCoG3YxLtoPlPFwE2s= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: [PATCH 01/10] exit/s390: Remove dead reference to do_exit from copy_thread 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 Heiko Carstens writes: > On Wed, Dec 08, 2021 at 02:25:23PM -0600, Eric W. Biederman wrote: >> My s390 assembly is not particularly good so I have read the history >> of the reference to do_exit copy_thread and have been able to >> verify that do_exit is not used. >> >> The general argument is that s390 has been changed to use the generic >> kernel_thread and kernel_execve and the generic versions do not call >> do_exit. So it is strange to see a do_exit reference sitting there. >> >> The history of the do_exit reference in s390's version of copy_thread >> seems conclusive that the do_exit reference is something that lingers >> and should have been removed several years ago. > ... >> Remove this dead reference to do_exit to make it clear that s390 is >> not doing anything with do_exit in copy_thread. >> >> Signed-off-by: "Eric W. Biederman" >> --- >> arch/s390/kernel/process.c | 1 - >> 1 file changed, 1 deletion(-) > > Applied to s390 tree. Just in case you want to apply this to your tree too: > Acked-by: Heiko Carstens Thank you for looking at this and confirming I had read that the code properly and that the do_exit reference was no longer used. I will probably take this through my tree as well just so I don't have that trailing do_exit reference. At this point I will give things a bit more for people to review or say something about the other changes and if there is no negative feedback I think I will just apply the lot. Eric