Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3356202pxb; Mon, 17 Jan 2022 18:27:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOUsgLROaZGHOPs1lRImOWk//APDsNx6g1uJ/hEsnxmUBE4reI5mskX9YB2uDXJbH6sPB6 X-Received: by 2002:a17:902:8305:b0:14a:bd99:203b with SMTP id bd5-20020a170902830500b0014abd99203bmr7279748plb.74.1642472849427; Mon, 17 Jan 2022 18:27:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642472849; cv=none; d=google.com; s=arc-20160816; b=byb9cEmcreXcHPjl7RJ3Hm45wrWXWcYoW9HCywNMaUE2fJQDym75voUTykfYApI4WU LqBRsKb36kpDqgKZywMtyfv2g106MSDFV0gUSowTjm84r/uFbaNCnCSCbTMc72MAQNaX waaW4+m7Im7dPywSHERelO90E0VHFfEtqs7P/3kEhZDFQWVC9shM5EaBqeA99AOJqsTf Gk8x7v72a6FGD4xaK7XK7D2AnMa6GoCKXVqzj3kujt1bRzMLFA4gxKYt8XwkyGHi1h6K XWV32rGeYp3aGN9FgbLV2IiXsoMg/3mLrVmenX8r2LOqCgNWaLONK7rbsU8/KhJI4a3/ CX4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=pdicfYPh/cJqs+qcdljjb8ettWI+vVTkxwvWOBzEf6w=; b=bwA8tdrJs7BPEf0LUSyMB7M21EO8bVZbfIhCeBJFEN6I9vVSMhRuUiy/MacKBpS/VP SICIKffbvM/sbRVZqcET5ZGCaAu/E1/fULcbmTD8XFT/JQFODfs2gatihkpgwwwmTzCb FPaZ7z96yhm1DbkhaCACm6lbfAiKVdGWjVvJ8+EE/ZucUofraTfhvdexMiAyTlk9otqM W+3EW+RW4FBTt6wbFuZyORVhwUlMSeGDPlZnsh+WAYWEpXZBp6MO9n0A2v4ptINJxpOr tV4Re0QrZUpUa/iFgvGKwtCtzXQSuEM+G+bdhwLS+Y9g2lo454X4tY5fws08UkgbiwpH W0EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 19si4346566pgl.570.2022.01.17.18.27.17; Mon, 17 Jan 2022 18:27:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232216AbiAQNYe (ORCPT + 99 others); Mon, 17 Jan 2022 08:24:34 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:44289 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbiAQNYd (ORCPT ); Mon, 17 Jan 2022 08:24:33 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M1YxX-1nBupo2alf-0035sr; Mon, 17 Jan 2022 14:24:31 +0100 Received: by mail-wm1-f48.google.com with SMTP id p1-20020a1c7401000000b00345c2d068bdso24314402wmc.3; Mon, 17 Jan 2022 05:24:31 -0800 (PST) X-Gm-Message-State: AOAM530S+K8nZjQ6nFaGRCvNnTDitvHffA5wJM+mQxJLOBSsaeyV/96U HaiwzEMVWeQQtHLyytgAMFwv08QKifd0jiHqm9w= X-Received: by 2002:a05:600c:287:: with SMTP id 7mr20194084wmk.98.1642425871265; Mon, 17 Jan 2022 05:24:31 -0800 (PST) MIME-Version: 1.0 References: <87a6ha4zsd.fsf@email.froward.int.ebiederm.org> <20211208202532.16409-3-ebiederm@xmission.com> <87tuefwewa.fsf@email.froward.int.ebiederm.org> In-Reply-To: From: Arnd Bergmann Date: Mon, 17 Jan 2022 14:24:15 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 03/10] exit: Move oops specific logic from do_exit into make_task_dead To: Christoph Hellwig Cc: "Eric W. Biederman" , Al Viro , Linux Kernel Mailing List , linux-arch , Linus Torvalds , Alexey Gladkov , Kyle Huey , Oleg Nesterov , Kees Cook , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Martin Schwidefsky Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:8bIhuw277tfE4HLaWlFOWrJ6rrxuiD9sBkYWBO6XkfVkLUNjvQU GhFgiDoRwUfYspdA33XVXAEyoiwpyyIkKMui9XUaBLKAnyjyQW6BGLyfslvGbNxcvlba4PY k1t2bLWhYSwomHDO6vxRRbRhRbDGrcLSRH0uf0w/vmOrqE9RrZ93OykSKU8mGK7bT3/UDj8 NwtiYDKGUR1ZKHhZWzrYA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UasFNevNMQQ=:vMmOPlj3KKZvx9gLV8YB9a AsWi8f9gXhaNzNxGQYrWpeZXpBUqWZ7kaH/I+5AmaEEE823/KF71N0p7Ff12n2HxxNMQARlse A7dz/2SYH2xjZYdNmsD3ZIEloylhMw4TEn8c2SG/XWl/Ll8NSVerCCNVXwPoPo7Q2XxzP+KGq kjUDt3v3qk7pM+9IJfvC1WizbhA1DnySzYcH/9MvgcvF1Qd7Sdp46Ai9D4PC2VM6jTQAKjb+g p2VwrbCkpkQSTISKOf/wxZCnQTsd4FIUjYrGUCQuAsWDTPHQvrucNkCQ+yvG2ZtdTMex01ym9 2ftMeGfJpW5qc8AubWxm5RIMMpnosa6eq2PdPVkR7MT0hRANoqnIAiKGqteZ67uPwCuNr1Li3 X0XPPUvP+kea6Mq1O8IBTU2jSnp2h/4mLpA+VZLfT5wJ1cpEBDjSTN7RCEKvzctdMOWrFFH44 +Eua5+N7L/bA7K05W0RPu9l1Rl6kX3O2r/7CO5RKjVzNEzXriazNA5rUr8YzTa2O3Jviz8cct qMz6ItOl9gPwjpti3MnJxYx4ZLitEAvTp0yKSJteAcmVXEqt1SsxgFuYutvHr8LwFTHQOvwLq DBaKqHJ2P4SO0aSMBPNIu6FkLEK4/YoN+ZB7iQTOOGIlMighbe7hbN2B+yEcs5f1leT9dZb7E u+bsxhBZtuy57vCedwgz8CZMOj5K0/6E0Zw2MN5qAh8fuh6GZX93UrfQ92iBID6iKNlo= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 17, 2022 at 9:05 AM Christoph Hellwig wrote: > > On Fri, Jan 07, 2022 at 12:59:33PM -0600, Eric W. Biederman wrote: > > Assuming it won't be too much longer before the rest of the arches have > > set_fs/get_fs removed it looks like it makes sense to leave the > > force_uaccess_begin where it is, and just let force_uaccess_begin be > > removed when set_fs/get_fs are removed from the tree. > > > > Christoph does it look like the set_fs/get_fs removal work is going > > to stall indefinitely on some architectures? If so I think we want to > > find a way to get kernel threads to run with set_fs(USER_DS) on the > > stalled architectures. Otherwise I think we have a real hazard of > > introducing bugs that will only show up on the stalled architectures. > > I really need help from the arch maintainers to finish the set_fs > removal. There have been very few arch maintainers helping with that > work (arm, arm64, parisc, m68k) in addition to the ones I did because > I have the test setups and knowledge. I'll send out another ping, > for necrotic architectures like ia64 and sh I have very little hope. I did a conversion of microblaze for fun at some point, and I think I never sent that out. I haven't tested it, but if this looks correct to you and Michal, it could serve as a model for other trivial conversions. I also looked into converting ia64 and sh at the same time, but I can't find those patches now, so I think they were never complete. Arnd