From: Ren Zhijie <renzhijie2@huawei.com>
To: Lukas Bulwahn <lukas.bulwahn@gmail.com>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: <akpm@linux-foundation.org>, <ndesaulniers@google.com>,
<nathan@kernel.org>, <vbabka@suse.cz>, <masahiroy@kernel.org>,
<arnd@arndb.de>, <seanjc@google.com>, <hannes@cmpxchg.org>,
<ojeda@kernel.org>, <mhiramat@kernel.org>,
<dmitry.torokhov@gmail.com>, <atomlin@redhat.com>,
<ddiss@suse.de>, <christophe.leroy@csgroup.eu>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] init/Kconfig: fix unmet direct dependencies
Date: Wed, 28 Sep 2022 15:52:13 +0800 [thread overview]
Message-ID: <a7b7c161-1e9a-3fba-0ed4-6eb1cb341b6f@huawei.com> (raw)
In-Reply-To: <CAKXUXMxGt9UGhw9Ap_M3U2AF1vw2dX7WpDO71=UwV0Be3t4sNw@mail.gmail.com>
在 2022/9/28 15:20, Lukas Bulwahn 写道:
> On Wed, Sep 28, 2022 at 9:01 AM Sebastian Andrzej Siewior
> <bigeasy@linutronix.de> wrote:
>> On 2022-09-28 06:49:34 [+0000], Ren Zhijie wrote:
>>> --- a/init/Kconfig
>>> +++ b/init/Kconfig
>>> @@ -1273,6 +1273,7 @@ endif # NAMESPACES
>>>
>>> config CHECKPOINT_RESTORE
>>> bool "Checkpoint/restore support"
>>> + select PROC_FS
>> Couldn't this become a depends?
>>
> It could also be a depends (to resolve the warning).
>
> It is just the question whether:
>
> When PROC_FS is not set, should the CHECKPOINT_RESTORE still be
> visible as a config option to add (and then automatically add
> PROC_FS)? Then select is right here.
>
> or:
>
> When PROC_FS is not set, should the CHECKPOINT_RESTORE not be visible
> as a config option to add? Instead the user first needs to add
> PROC_FS, then CHECKPOINT_RESTORE becomes visible as an option to add,
> and then the user can add it. Then depends would be right.
>
> For me, both seem reasonable. So, I assume Ren considered select the
> better choice.
>
> But maybe Ren can confirm.
My consider is that if CHECKPOINT_RESTORE depends on PROC_FS , when
PROC_FS is not set the user have no chance to set it on.
Thanks,
Ren
>
> A kernel build configuration without PROC_FS is quite special
> anyway... and then being interested in CHECKPOINT_ RESTORE for such a
> system is really really special. I wonder if that user then really
> knows what he or she is configuring at that point.
>
>
> Lukas
> .
.
next prev parent reply other threads:[~2022-09-28 7:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 6:49 Ren Zhijie
2022-09-28 7:01 ` Sebastian Andrzej Siewior
2022-09-28 7:20 ` Lukas Bulwahn
2022-09-28 7:52 ` Ren Zhijie [this message]
2022-09-28 9:14 ` Sebastian Andrzej Siewior
2022-09-28 9:32 ` Arnd Bergmann
2022-09-28 11:43 ` Lukas Bulwahn
2022-09-29 6:48 ` Ren Zhijie
2022-09-28 7:12 ` Lukas Bulwahn
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=a7b7c161-1e9a-3fba-0ed4-6eb1cb341b6f@huawei.com \
--to=renzhijie2@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=atomlin@redhat.com \
--cc=bigeasy@linutronix.de \
--cc=christophe.leroy@csgroup.eu \
--cc=ddiss@suse.de \
--cc=dmitry.torokhov@gmail.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=masahiroy@kernel.org \
--cc=mhiramat@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=ojeda@kernel.org \
--cc=seanjc@google.com \
--cc=vbabka@suse.cz \
/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
all inboxes | Powered by JetHome®