Re: [PATCH] configfs: change depends -> select SYSFS

From: Linus Torvalds
Date: Sun Jan 16 2011 - 18:12:25 EST


On Sun, Jan 16, 2011 at 3:06 PM, Stefan Richter
<stefanr@xxxxxxxxxxxxxxxxx> wrote:
> I for one think that layered "select" directives will open too many cans
> of worms.
>
> Best don't use select at all.

That really doesn't work.

The reason everybody wants "select", and "depends on" is near useless,
is that from a usability perspective, it's totally unacceptable to say
"you need to know to enable that random other totally conceptually
unrelated config option".

Why the hell should a OCFS2 user have to know that he needs to enable
configfs to be able to enable ocfs2?

The thing is, we should do exactly the reverse of what you say, and
work towards the goal of "depends on" going away. Right now, the main
reason to use "depends on" is actually just that our Kconfig solvers
are stupid, and don't generally handle "select" very well. But that's
hopefully getting fixed.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/