Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2956680pxb; Mon, 17 Jan 2022 08:59:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8hPmjEtvc2+xIY5Ym9JS0cdt+y+KfrmOAAK3OzS+s7Wo0piKNb2ghjbBAwO5tDlGACygG X-Received: by 2002:a17:90b:4b07:: with SMTP id lx7mr7588156pjb.225.1642438781310; Mon, 17 Jan 2022 08:59:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642438781; cv=none; d=google.com; s=arc-20160816; b=bOzRx52aao5jk0Pb4OcnHxbZjNZ1ZwAxCI3olz63Z6DHMUyFu1JZgBlX575FKltwwd 3KOmL2/BC2MZfay/XnSyOOtWdqCbvDIqcoKqAxoUJuE45EoZXvQNIcZkg6dHrD3IiBmU WBSC6WrFaddtv2XT/AavOsNvZuhzL4x29Znayox0GiN8/JbKyCpHnwIDkJLDdeZDrkDX 1JE8oZiqTXRmuTChUeP9bhXlqoPuwWlhAnWzmwECToBUNBsGPjdbh06n+3VHpTPg0njG ioWnCwNZedNjAHm368wT3dus/cem6vBVyZLmjXnjcbkmdB1QX7JQX2Mfotd9ayY2mLUU I8Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CSEVknsdd7jDGJj+3PvcdmkBUO+zpH4Q7qOdN2vWYaY=; b=UTfbOozNZnSsNHswDRNyKkraui8KyHvGSYlip7XG8xse5pK6YJULk9XSrM+X0H5uJL qVkv+nUlOIyHuBWrKw68ZR0cispPdIdGgar3e33B26dbIIXJw6awc7+eU2GjUj1VWBGE sGmGIfVmHBN8lidJY5KCYhSTzawrwTOMoPX3S6J5LEjyVxVQ1YaA4gTAaj0/aKAO1wiY WBK0kXDOy8pVYZyrLUNJhRCi/MafOxeMCDvXbDWEztEAxJNHLZQ7H1AyTZ19KXvIUhbx al1GxdWvPwewxazQi0kYqAwiAE179rwA1sLSbJxXHgLprWE0Mdw6R3z6Ko/ifCdEKZMx 38xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=japM3XqN; 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 d7si14722413pgc.618.2022.01.17.08.59.29; Mon, 17 Jan 2022 08:59:41 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=japM3XqN; 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 S237879AbiAQIFp (ORCPT + 99 others); Mon, 17 Jan 2022 03:05:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbiAQIFo (ORCPT ); Mon, 17 Jan 2022 03:05:44 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19F19C061574; Mon, 17 Jan 2022 00:05:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CSEVknsdd7jDGJj+3PvcdmkBUO+zpH4Q7qOdN2vWYaY=; b=japM3XqNI+Dx0lALW0GaEe2xjT vIodQmY8ICdBCuHjUY6i4iepf96oIOeifs/CXf4td3IumFSZFhtStocTjYxMbWXB9YG2yPBoU3xN5 y0OfXEJkV/wS5OXyhat5lhjFOcGs0hH85ATVPwTMFj0Rm8UnLnURvsk0tyEvJ2XSLr3scv/inKpIm vqReXLMi8hcRlRSeplMAq5FLawt5/LeBgNficloBagWsizuJO5v+sY5MZEQc8MyiMHvilj1Pt3hf5 vbTvLRZRBHk6NwzpFu/2aI+isadj7VHgbljiCW4xNzOXJuFv+bzRUooW+B/KD/WPPqCVlxz9KjnGw de+xyYXw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9N1J-00E1Uy-VU; Mon, 17 Jan 2022 08:05:41 +0000 Date: Mon, 17 Jan 2022 00:05:41 -0800 From: Christoph Hellwig To: "Eric W. Biederman" Cc: Al Viro , 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 Subject: Re: [PATCH 03/10] exit: Move oops specific logic from do_exit into make_task_dead Message-ID: References: <87a6ha4zsd.fsf@email.froward.int.ebiederm.org> <20211208202532.16409-3-ebiederm@xmission.com> <87tuefwewa.fsf@email.froward.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tuefwewa.fsf@email.froward.int.ebiederm.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.