Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3535613pxp; Tue, 8 Mar 2022 16:52:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7wiL+EVde4kFJxwKchZuXryw/VtU8z+uE7KgrQufqC51llXxCJ0RVCterWSZu5kBzDJ5K X-Received: by 2002:aa7:8211:0:b0:4f7:8b7:239b with SMTP id k17-20020aa78211000000b004f708b7239bmr11842490pfi.64.1646787176279; Tue, 08 Mar 2022 16:52:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646787176; cv=none; d=google.com; s=arc-20160816; b=vYFUWwS33i4E7JfSDs4jdPeYeiBT6o7sRrsEi8CVzYItbUxxiJdpl5OgKUYqzeolhK 46jVFp+nKu8ntgeCwdQH7dLl5ZxV6lS4nF8Aeot1Y4whrR4BGrXBuGaIqfn7Z0kSPK/l o42kapuvSoEJfLdw+2y3uGOxtPavfh7RL8F4iWK88wXBHkQODfl6mnsdjxI6CZ5kk9WA 4vcSSb2Vv0fEPWNBQeRtWG9+sGS7zixWrE9Dyh7EcCiklup8i9iPYs+4nYgrenubPvbe lv1MXZnCpwBokufSjL2iKIt14T9yaw1rDGuj8tip1VeUZQcXoAlmkVnVeb2GjOBiZcMX WXNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=y2IyLNhcIcqW/P9xsp3kK8t+WoLf+fyXhFG9KATTpEU=; b=pXpIP73bJp2T1OnkahybvHz0AcbjCoIDSrgY0jrVbpUGHNW5s0UknQ7+ZZHq6nJv25 tmtHp0UmsE5KEnjlp1F7EApLbPfjLD1xWh7oF7DxLsmZvloBJ4LWH7gvdcEz2cJzBkLX nYYKqVNGgdkLgEqaJ0JrXbggjCJ1Rs0isE+WccbfKK+nW/JX+aJuvC2k+pjQf+slIA04 7GLZpQAlZlRS9PP5pOxNTyBqo9zXAIfr5LT3CepYuczHT/3+aslotf9bjuXIY0SIk1ab HqINzliAjfNHWmJ63ACsbI0z4dxbtuWI4KfJ11pro08dOV/+jvjw/LetrxRlXKFW1sv9 l+hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=FNkRgec8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c10-20020a634e0a000000b0034d3d6c31e1si349791pgb.794.2022.03.08.16.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 16:52:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=FNkRgec8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A1E1151C53; Tue, 8 Mar 2022 16:04:12 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347036AbiCHNFj (ORCPT + 99 others); Tue, 8 Mar 2022 08:05:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346893AbiCHNFi (ORCPT ); Tue, 8 Mar 2022 08:05:38 -0500 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5815547AEE; Tue, 8 Mar 2022 05:04:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=y2IyLNhcIcqW/P9xsp3kK8t+WoLf+fyXhFG9KATTpEU=; b=FNkRgec82ncuQvKLVwyz4kOmJ8 4U/FYkpMDZxDHCgItgQ85ivg4FhuKpnd2kbdnwnQdNeKvLRvSqtGxzL7z8RfSKEbwjzsZHVwYQRsf nTysstqkRhPaf+M6YkMyP4nGFDYW2kTVmNq18WFEw9JPc0RJ+0iBh2+1ki+n6aKER/b+KuUb50EY1 5LgC1OB5Z7FZeLvzA/1PeZ1j5aJkK1bGU9l/qgqvc7XamjscU//dNYyd2mDiI8r33J/HHSyu9JSS4 UwR9LAo6DabWmyo/j0gUA6LaJDzAcQ87lgkFJAsG9cdqIMqihCpRBDLtxyh7W+M8E13Yxi/ervoQU 8lJv6jPw==; Received: from [187.56.66.217] (helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1nRZVp-000CZ4-Dc; Tue, 08 Mar 2022 14:04:25 +0100 Message-ID: <23044cc6-ae58-d464-d5d1-3b5e6d4202c8@igalia.com> Date: Tue, 8 Mar 2022 10:04:06 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH V4] notifier/panic: Introduce panic_notifier_filter Content-Language: en-US To: Petr Mladek Cc: "bhe@redhat.com" , "d.hatayama@fujitsu.com" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "dyoung@redhat.com" , "linux-doc@vger.kernel.org" , "vgoyal@redhat.com" , "stern@rowland.harvard.edu" , "akpm@linux-foundation.org" , "andriy.shevchenko@linux.intel.com" , "corbet@lwn.net" , "halves@canonical.com" , "kernel@gpiccoli.net" References: <73011b6f-084b-43f5-cc01-1818a8a57e56@igalia.com> <788ab36d-ef65-4cc8-4edf-a46d2687d97e@igalia.com> From: "Guilherme G. Piccoli" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/03/2022 09:54, Petr Mladek wrote: > [...] > Honestly, I am not that keen about enforcing the priorities. > > It would make sense only when the ordering is really important. > Then there should be some rules. It should be obvious why > something has to be done earlier than something else. > > From my POV, it is just another complexity. Someone will need to > assign the priority to the existing notifiers. People will wonder > about it for newly added notifiers. > > Reproducibility seems to be the only motivation. Is it really a > problem? Do the notifiers affect each other? > > Also the notifiers are typically registered by some early boot > code. It will define some ordering out of box. > > Best Regards, > Petr OK Petr, makes sense. I feel that one the pros of the approach would be to document all the notifiers in the header, but I guess nothing prevents me to do that heh I don't need enforcing the priorities for this. I liked the idea of having everything "reproducible" as you said, but we could face the problem of how to order some independent notifiers... would be something "ad-hoc". I'll progress here without priorities for now, if somebody see an advantage for that, we can use it. Thanks for your points, Guilherme