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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4389C433EF for ; Fri, 4 Mar 2022 11:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238424AbiCDLzi (ORCPT ); Fri, 4 Mar 2022 06:55:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231389AbiCDLzh (ORCPT ); Fri, 4 Mar 2022 06:55:37 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D353D1B2AE9 for ; Fri, 4 Mar 2022 03:54:48 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id bi14-20020a05600c3d8e00b00386f2897400so1299439wmb.5 for ; Fri, 04 Mar 2022 03:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pKOBFhzwjYuGQ0/zLr+UcyZBkKfk85ofZ5SAsoGUAJ0=; b=MJENXqVgVSqsNVQcM+jrjypEcMm/DNnckjceh0/izbM1MHKLRwBaXUBJ6bnNo+0qeQ ymYmJPz2ro8JvSXEMhD8I2D79m2hF4iP0fj7Uc0yc8aMNpU2Vj+OwiK4eKktaeJbyXcR Yy4p1MRkqbtVi3TSprr3gNBPEyLlHVsudbaGLIu+yehw+47BmL0q60WePWbv9qaG+PmC IeWI36nXx5Ie0hlgLZdjtG8PADREqSYZDSL1D94artfKY3wbSYjFrZM0wP9+D868rxZA j6XDpFa3hTUG65In3LWIfHJ4Girano9Ch5oduisspMu2waChXN33kAArXomzRhgKyfrP xFjQ== 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=pKOBFhzwjYuGQ0/zLr+UcyZBkKfk85ofZ5SAsoGUAJ0=; b=hsA4urD7yME1545GKwx03udv/Tbi0TosyujlSMUCbo8iCDiyr+FhOc2Ybh6PnXpYn9 Iyw02THbD+OJumScOHyE8b9oOKtcKn2pz9zHNnS+vIRY76rIHcnAnAscd7MNd4Wjy1yn O6coiZjFSkOuFJ9ZlLv3D6Z+J7jTJ6Fa0Gpa5QemrosA20Jn+7g57KMDIWjXAFtKR9Pr VE5xmsjJBjDDHv23DYCCp2TSgId2yrTTe4XFizO+XtRLf7PfFYbtXtK5aPvMNsg8bXiV M1VqfnhUPyGtyX4nn/SoNLholkNpD2/4ciOiKNKZ//1UPx4v7fVSNoo06dVI64KQSfj2 xYQQ== X-Gm-Message-State: AOAM5326JHTLzpwxDqFYHemI4JfaREnk23L2lhgq8MpwPwLrA4Saua2i MGZ1dy4PSHEi/6IzYBC7j8MH1Q== X-Google-Smtp-Source: ABdhPJxmR0SZDu+4BKT+TwvbIcgk+VEUhcGKw5C6sreCAxlaRBiIdimb4VL1dSnVUcg583j8iFYrMA== X-Received: by 2002:a05:600c:354b:b0:381:7ff1:32b4 with SMTP id i11-20020a05600c354b00b003817ff132b4mr7483801wmq.134.1646394886995; Fri, 04 Mar 2022 03:54:46 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id a17-20020a5d5091000000b001edb61b2687sm6109082wrt.63.2022.03.04.03.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 03:54:46 -0800 (PST) Date: Fri, 4 Mar 2022 11:54:44 +0000 From: Daniel Thompson To: Aaron Tomlin Cc: Christoph Hellwig , Christophe Leroy , "mcgrof@kernel.org" , "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: <20220304115444.jlfv6abblqgyzscj@maple.lan> References: <20220228234322.2073104-1-atomlin@redhat.com> <20220228234322.2073104-14-atomlin@redhat.com> <20220302161917.gx5icfszakoye4uh@maple.lan> <20220302203153.3kcmwu662szf3drt@ava.usersys.com> <20220304111207.pmopl7vgxrniwava@ava.usersys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220304111207.pmopl7vgxrniwava@ava.usersys.com> Precedence: bulk List-ID: On Fri, Mar 04, 2022 at 11:12:07AM +0000, Aaron Tomlin wrote: > On Thu 2022-03-03 05:37 -0800, Christoph Hellwig wrote: > > On Wed, Mar 02, 2022 at 08:56:23PM +0000, Christophe Leroy wrote: > > > Do we really want to hide the 'struct list_head modules' from external > > > world ? > > > > > > Otherwise we could declare it in include/linux/module.h ? > > I'd just move the trivial code that uses it from kernel/kdb/ to > > kernel/module/ as it is tied to module internals and just uses the > > KDB interfaces exposed to other parts of the kernel. > > Hi Christoph, > > This is a great idea. I'll do this instead. Adding this as a new file is fine for me. There were proposed changes to this function this kernel cycle (CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOC) which I Acked already. However it looks like all involved with that are already particpating in this thread so I assume an merge issues with that are already in hand. Aaron: Are you OK to add the new kdb file to the "KGDB / KDB /debug_core" file list in MAINTAINERS? Mostly I'd expect to just Ack changes and move on... but I'd like to be in the loop. Daniel.