Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp730930pxm; Thu, 3 Mar 2022 03:34:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIIvu6xzNK8KZO02NcrtSLtn3Gsb3KFIaUHo3aLDfJ26wN0GPKmouMQEng/4R2g42UO4dg X-Received: by 2002:a17:902:d4d1:b0:150:1d1c:30bd with SMTP id o17-20020a170902d4d100b001501d1c30bdmr33989788plg.1.1646307267074; Thu, 03 Mar 2022 03:34:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646307267; cv=none; d=google.com; s=arc-20160816; b=zj4XV7ii5HowB1clvz+HCqz5LQO7S67DVERXokCGGwZRtuIaxjqSeOOwc/qsc/UjWL OzKNY6GwQ/QawqEbKIKCv1clJnuG7h+daPETuA+DmGUbI+KYRWWc2zqB9UnUmR1PlAKh JCFiyfQtAudDPWuvPE9FDt9cQqPwlGV9kL5j4GAduSOGjn/HMPsYV1/JOpnCDB33ueWy LCt4s5fGHyXmbNLakbx93waQgUrndCZiG9utO2YxRyUWq4smFoMbQzTLK8PfnjY4J/+H sxIkdKqe4vW0XBQN2mXDPTmuJe/RIcu71N+lYChf+1ApsvIlrg5/MgD62/gSrV0d+uYr DNaw== 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=JprPZetbIa3gZelRValOQCvT2YcVAHIjq5tXKGeAvvg=; b=CwmK/r9wgO4Z2ocx1Gh13dYh66YUkySkOr9/Ocfvsa7jUScdfBoi6dJD2lnX8MPvEe pL3VlBAE8pKM4fgEi7L5QUayn7atv+vkIW9xxk1IB9VXmfbEEFVWqoCENYgcewzVBZQu ztkvKEUaI42Lkwa/pOp5hc6GWpA3PfKUjTtgNPror+WRN0GtbBH/3bCs9KndhfiqPPQ0 AMfTfr3d6Hzemh49O3ru1mbdknCEVKGHHNeB2/6mcBT1E5NQIWCLmPpRd5OstqjtPEvh 8QNxaDStJFUvVkbEGMjdtHxyFUu71CcS6t/5aTvo3oFfcSbb8HOPLWlIu+fD/SmkKGwx pDTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BHwJGfG4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om9-20020a17090b3a8900b001bf119b29d8si934951pjb.17.2022.03.03.03.34.11; Thu, 03 Mar 2022 03:34:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BHwJGfG4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232452AbiCCKo6 (ORCPT + 99 others); Thu, 3 Mar 2022 05:44:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbiCCKo4 (ORCPT ); Thu, 3 Mar 2022 05:44:56 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC4544707D for ; Thu, 3 Mar 2022 02:44:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646304250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JprPZetbIa3gZelRValOQCvT2YcVAHIjq5tXKGeAvvg=; b=BHwJGfG44PmOkTa2V20R9sVGXfVTr3Q2X7yHKK9stdIFh2vbO2x785W2fk+Z7NeRcZIbkc 82AHQhWyeo7cWSky633VF9KsuUX9H6Up6x/iKP6spTipCi5z5xeGhcJ8zB/JYSF8W4ILYN 4vKCDlfDlKw+3sWAClFc+kYJfJqP+Bs= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-262-W0Sa21xDNUWyLL5u4iXOlQ-1; Thu, 03 Mar 2022 05:44:08 -0500 X-MC-Unique: W0Sa21xDNUWyLL5u4iXOlQ-1 Received: by mail-wm1-f69.google.com with SMTP id bg33-20020a05600c3ca100b00380dee8a62cso1223475wmb.8 for ; Thu, 03 Mar 2022 02:44:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=JprPZetbIa3gZelRValOQCvT2YcVAHIjq5tXKGeAvvg=; b=hgQNAwt8J3LjyVtZx5TSSFd33e/uzayvPHfuMTI3+9Vz17qUf5BoL3waON3GMIp17K lujd6wKkshJ+KhVzQAI8KME20mOGpncucvC+odzNMm+cEcBkkFUMhdt7fISXWJ5j4sxt SA/dDyU7jrlyEzmyuRp8VemSKDva8xyHe3rOMjOA6ASG8NkyGDjyCTBaO4W4TYm2128c /J329Sfx4fwwjEPQ/FiQ8tplIcci8K1diC2l7yrSZUslHyQXaSixEbMsUN0pXZFvCcym O+afmNazJMDfrah39gsNZ3QeE+takryDqn/4G4kRY9VhiD9i7fqhJDfutV/L/ALaziWb xFOQ== X-Gm-Message-State: AOAM533p+ha/hhBSYRwz19dNfEwUq+s7cn0hKchedf9IYZA1qroFDGOm E4wfhlsA8QuWBx9bki44jdkmlr60ZBOBAfUxZ2yp1FyH5VjEjXz7V8hmNF5Pa25MWcdJl+5SgJQ trQzueIVgd7MvUoiUsiuZfXM= X-Received: by 2002:adf:f947:0:b0:1ef:9b55:7cba with SMTP id q7-20020adff947000000b001ef9b557cbamr15964001wrr.142.1646304246605; Thu, 03 Mar 2022 02:44:06 -0800 (PST) X-Received: by 2002:adf:f947:0:b0:1ef:9b55:7cba with SMTP id q7-20020adff947000000b001ef9b557cbamr15963983wrr.142.1646304246425; Thu, 03 Mar 2022 02:44:06 -0800 (PST) Received: from localhost (cpc111743-lutn13-2-0-cust979.9-3.cable.virginm.net. [82.17.115.212]) by smtp.gmail.com with ESMTPSA id l10-20020a056000022a00b001f017dfb5cdsm2135555wrz.90.2022.03.03.02.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 02:44:05 -0800 (PST) Date: Thu, 3 Mar 2022 10:44:04 +0000 From: Aaron Tomlin To: Luis Chamberlain Cc: Christophe Leroy , Daniel Thompson , "pmladek@suse.com" , "cl@linux.com" , "mbenes@suse.cz" , "akpm@linux-foundation.org" , "jeyu@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-modules@vger.kernel.org" , "void@manifault.com" , "atomlin@atomlin.com" , "allen.lkml@gmail.com" , "joe@perches.com" , "msuchanek@suse.de" , "oleksandr@natalenko.name" , "jason.wessel@windriver.com" Subject: Re: [PATCH v9 13/14] module: Move kdb_modules list out of core code Message-ID: <20220303104404.crqt7oz4kydq36fo@ava.usersys.com> X-PGP-Key: http://pgp.mit.edu/pks/lookup?search=atomlin%40redhat.com X-PGP-Fingerprint: 7906 84EB FA8A 9638 8D1E 6E9B E2DE 9658 19CC 77D6 References: <20220228234322.2073104-1-atomlin@redhat.com> <20220228234322.2073104-14-atomlin@redhat.com> <20220302161917.gx5icfszakoye4uh@maple.lan> <20220302203153.3kcmwu662szf3drt@ava.usersys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Wed 2022-03-02 14:46 -0800, Luis Chamberlain wrote: > Since we are doing this to help with the cleaning this crap up > the natural thing to do is have the code be a helper which only > built-in code can use, so writing a helper starting with > list_for_each_entry() which prints the modules out. I'm > surprised we have no other users of this. There is nothing > kdb specific about the functionality in that code. So it should > just be moved. Hi Luis, Good point, albeit is it really worth it since the only external user is kernel/debug/kdb/ code? Kind regards, -- Aaron Tomlin