Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3956625pxv; Mon, 28 Jun 2021 17:41:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTwQ7ndYvUYjJUt4JvsP9rY8nRReI6ksXZEW38+2tY3fOQhoCeJkFGX/Ty0E3m4ou7X55b X-Received: by 2002:a05:6402:d6a:: with SMTP id ec42mr36597798edb.211.1624927267335; Mon, 28 Jun 2021 17:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624927267; cv=none; d=google.com; s=arc-20160816; b=lAt+rzbaJLqd+sPCUE2PwkOy8nmiEX7bk6ubIvGwq4IUl5lF92ce8zboHjjN1XPkRT T1Xw7Qd/KehiiOcNgpqi4S8r2nxG4VxgJBOjOF5GRNN71Z05f/yr7U9OrwsjcqLktdJf rOkAB4Mg0muymmrvScD+B94b7TxtrfZ2rq9TW2wHYEI2RqLzJNuZbSxJVghQUFIuZ1tY TqJcWSRE1oKKvEu9rM7Ah24T6jDMRaBdYgd1VZ5g51GpLBZH4Karkb1yD8Q+B+r97dBN PVdrWZUAAdf+7kFxJCtyKBOfTWF+EhIM3E+Z0EguSPPhY96R9DjyapNSXOHT7IG/JBB8 W0zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=MnOd9iaFXNVD5FJdstRfyB3AFTdce3B7edCsrT/B65c=; b=gRom271DwyiJBZIo9QDuDNNyWLxLYi67k5c9mrKxQ4Pzutomeax4WDK6eS5DUOV5oi ZmGJtpSF0/s5zdYiUDSZYJbNsL/JA/aKOSXr6gEAAHhGgDJDoRDa8FmnHb4vN1NBdOH5 yZLShoeMN60KP/wqi/taf1FmxbH/S7uJvq7bDm4eXfYYCdNFhSN0osrhGaRFAvqsat4W L07GlycimBTcQhKyK1QKjQH4oBrqwo6yet+hjuJ57+lY6KHYHLaMlm/uAB2FjQLtg2pn +RoGKCd2t3JMdMTZdnyWYTah8Hzc05x4jfm1DjaWJE+BZFCUKyh/uGor7B+v1pjQ0D4Y xmQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="pqa8SXQ/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 18si15516013ejj.568.2021.06.28.17.40.44; Mon, 28 Jun 2021 17:41:07 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b="pqa8SXQ/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235737AbhF1XpD (ORCPT + 99 others); Mon, 28 Jun 2021 19:45:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235668AbhF1Xov (ORCPT ); Mon, 28 Jun 2021 19:44:51 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6BA5C061760; Mon, 28 Jun 2021 16:42:24 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id h4so16865748pgp.5; Mon, 28 Jun 2021 16:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=MnOd9iaFXNVD5FJdstRfyB3AFTdce3B7edCsrT/B65c=; b=pqa8SXQ/hrN3EE8tWnQaXTgQQ3IZBW/4UPp07rsEpJERt1vDmlBqwfOVQJuTRyq0Am H/71eemQRinvfC1+TvsMm3hta9jb1/e0qATCWojjxQKaLzr4Oml0uSu5Xq0jVZVXJqER MDi/VtgB+XdWcx9atuL8LQkkSpJ0xM/te+EfGO7nhhSi9Mhs8zUsnBMZEpBTkGIA4Fpk 3pUjAvMP3WS/7h60szKRz131Yf2UsqM8p6CgL0/4ZV5qJrWEmM56TyOTQZFHm/pbrDd7 L/MwUK09uULPkJsmlecXAHPFUVAJaGDsqbKUmRTCqPFtorFVPxlMJpH98IJ4wEi9vvlQ LPbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=MnOd9iaFXNVD5FJdstRfyB3AFTdce3B7edCsrT/B65c=; b=TNez5IS3LfJtyEnxoDKGADLQ8Q8dnbpj3OnyWSiq0qUn/01e9vw0xlKWoD9VGrsKlp o26i3qsumxN4kOjYHMaPqqzFt68h9M5/EUe6ZWc9oU0aDR7u6KEUY8COUSfijQ9LBP0/ s1VpnriQiVVRS1AHuEB4VEhplEA+9wbVENZVrwnJPaxmcab0+fGjw0i7xAlXkFIgJMdM 81Qk7GOWcTX7M9wRSphZpc1wvZqLUYvATo4RjVdU8flCkRBY4eYU8xeZ2meTagEMAKPX sbL9qQKOwBcZchO53lTJT/4xs4EiFPYcLEwXn1rbhsnrpjLIWQSqptc5xWC5fq3tYNZ2 U3FQ== X-Gm-Message-State: AOAM531fJ8lMeXKelxFTjUSAG1DkuxsLvK0sx99hSfYuw+4ECugoVXCT B08hKFtj2qzUzq0GTyd7U1I= X-Received: by 2002:a05:6a00:23d0:b029:2de:c1a2:f1e with SMTP id g16-20020a056a0023d0b02902dec1a20f1emr27465201pfc.60.1624923744460; Mon, 28 Jun 2021 16:42:24 -0700 (PDT) Received: from ?IPv6:2001:df0:0:200c:1c9b:7d7f:b312:1fae? ([2001:df0:0:200c:1c9b:7d7f:b312:1fae]) by smtp.gmail.com with ESMTPSA id m21sm15768932pfa.99.2021.06.28.16.42.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jun 2021 16:42:24 -0700 (PDT) Subject: Re: [PATCH 0/9] Refactoring exit To: Geert Uytterhoeven Cc: Al Viro , "Eric W. Biederman" , Linus Torvalds , linux-arch , Jens Axboe , Oleg Nesterov , Linux Kernel Mailing List , Richard Henderson , Ivan Kokshaysky , Matt Turner , alpha , linux-m68k , Arnd Bergmann , Tejun Heo , Kees Cook References: <87a6njf0ia.fsf@disp2133> <87tulpbp19.fsf@disp2133> <87zgvgabw1.fsf@disp2133> <875yy3850g.fsf_-_@disp2133> <6e283d24-7121-ae7c-d5ad-558f85858a09@gmail.com> <7ad6c3a9-b983-46a5-fc95-f961b636d3fe@gmail.com> From: Michael Schmitz Message-ID: <36123b5d-daa0-6c2b-f2d4-a942f069fd54@gmail.com> Date: Tue, 29 Jun 2021 11:42:16 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On 29/06/21 9:18 am, Geert Uytterhoeven wrote: > >>>> The question then is - will bdflush fail gracefully, or spin retrying >>>> the syscall? >>> Will add to my todo list... >>> BTW, you can boot this ramdisk on ARAnyM, too. >> True. I can't find that ramdisk image anywhere - if you can point me to >> some archive, I'll give that a try. > http://ftp.mac.linux-m68k.org/pub/linux-mac68k/initrd/ Thanks - removing the if (func==1) do_exit(0); part does give similar behaviour as before - kernel warns five times, then shuts up (without change, warns twice only, and /sbin/update no longer runs). Removing the syscall from the m68k syscall table altogether still gives a working ramdisk. /sbin/update is still running, so evidently doesn't care about the invalid syscall result ... Cheers,     Michael > > Gr{oetje,eeting}s, > > Geert >