From: Allison Henderson <achender@kernel.org>
To: Jakub Kicinski <kuba@kernel.org>,
"Matthieu Baerts (NGI0)" <matttbe@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Shuah Khan <shuah@kernel.org>,
netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
rds-devel@oss.oracle.com, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] selftests: rds: config: disable modules
Date: Thu, 21 May 2026 21:39:40 -0700 [thread overview]
Message-ID: <732da40e8718513c0f4799fcb93dd8148951a7d7.camel@kernel.org> (raw)
In-Reply-To: <20260521074212.66205e90@kernel.org>
On Thu, 2026-05-21 at 07:42 -0700, Jakub Kicinski wrote:
> On Wed, 20 May 2026 11:34:43 +1000 Matthieu Baerts (NGI0) wrote:
> > The run.sh script explicitly checks that CONFIG_MODULES is disabled.
> >
> > By default, this config option is enabled. Explicitly disable it to be
> > able to run the RDS tests.
> >
> > Note that writing '# CONFIG_(...) is not set' is usually recommended to
> > disable an option in the .config, but it looks like selftests usually
> > set 'CONFIG_(...)=n', which looks clearer.
> >
> > Fixes: 0f5d68004780 ("selftests: rds: add tools/testing/selftests/net/rds/config")
> > Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
> > ---
> > tools/testing/selftests/net/rds/config | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/tools/testing/selftests/net/rds/config b/tools/testing/selftests/net/rds/config
> > index 97db7ecb892a..3d62d0c750a8 100644
> > --- a/tools/testing/selftests/net/rds/config
> > +++ b/tools/testing/selftests/net/rds/config
> > @@ -1,3 +1,4 @@
> > +CONFIG_MODULES=n
> > CONFIG_NET_NS=y
> > CONFIG_NET_SCH_NETEM=y
> > CONFIG_RDS=y
>
> Hm, okay, if it works it works, but IIUC disabling modules turns all =m
> from the default config into =n (not =y as one would naively hope?) so
> this may come back to bite us. Unless there's a strong reason to not use
> modules it may be good to follow up in net-next and life this
> requirement.
Ok, thanks for the feedback. I will work on a follow up set to rework the module configs as well as rename the scripts.
I think the initial motivation for CONFIG_MODULES=n was to simplify gcov collection, but it should work either way. I
will try to get a patch set out later this week. Thank you!
Allison
next prev parent reply other threads:[~2026-05-22 4:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 1:34 Matthieu Baerts (NGI0)
2026-05-20 4:22 ` Allison Henderson
2026-05-20 9:40 ` Matthieu Baerts
2026-05-21 14:42 ` Jakub Kicinski
2026-05-22 4:39 ` Allison Henderson [this message]
2026-05-21 14:50 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=732da40e8718513c0f4799fcb93dd8148951a7d7.camel@kernel.org \
--to=achender@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=matttbe@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rds-devel@oss.oracle.com \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome