From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FDF8C433EF for ; Wed, 15 Sep 2021 01:07:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70A8C604DC for ; Wed, 15 Sep 2021 01:07:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbhIOBIU (ORCPT ); Tue, 14 Sep 2021 21:08:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbhIOBIU (ORCPT ); Tue, 14 Sep 2021 21:08:20 -0400 X-Greylist: delayed 31087 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 14 Sep 2021 18:07:02 PDT Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 720A5C061574 for ; Tue, 14 Sep 2021 18:07:02 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQJO4-004GfQ-5l; Wed, 15 Sep 2021 01:06:56 +0000 Date: Wed, 15 Sep 2021 01:06:56 +0000 From: Al Viro To: Linus Torvalds Cc: Michael Schmitz , Christoph Hellwig , Andreas Schwab , Geert Uytterhoeven , Greg Ungerer , linux-m68k Subject: Re: RFC: remove set_fs for m68k Message-ID: References: <20210815074236.GA23777@lst.de> <63c35a20-3eec-1825-fa18-5df28f5b6eaa@gmail.com> <20210816065851.GA26665@lst.de> <7517d306-21ad-daa1-a2fb-b273211cb588@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-m68k@vger.kernel.org On Tue, Sep 14, 2021 at 09:38:58AM -0700, Linus Torvalds wrote: > On Tue, Sep 14, 2021 at 9:28 AM Al Viro wrote: > > > > See https://lkml.kernel.org/lkml/YP2dTQPm1wGPWFgD@zeniv-ca.linux.org.uk/T/ > > for original thread. > > Ok, thanks for the pointer. > > I'm actually surprised we have that "multiple nested signals" thing > still. I had this memory of us having removed that, and just returning > to user space with the one signal frame set up. Too much headache and too many things to keep track of - for example, you have to cope with fun like raising (and handling) SIGTRAP on singlestepping into signal handler on some architectures. That would need to be special-cased and so would SIGSEGV on failure to set sigframe up, etc. Al, back to digging through io_uring and hating every minute of that...