Re: 2.6.22-rc6-mm1

From: Roman Zippel
Date: Sat Jun 30 2007 - 21:48:42 EST


Hi,

On Fri, 29 Jun 2007, Andrew Morton wrote:

> > Reset generates values only if Kconfig and .config agree.
>
> unclear. Could you please explain further what this change does?

Normally generated values (Kconfig entries without a prompt) are cleared
as they are regenerated anyway and so they appear as new should they
become visible and defaults work as expected (once a value is set defaults
aren't used anymore).
The detection whether a value is generated or not is only based on its
visibility status, which can quickly change for a lot of symbols by just
removing a single line from .config or adding a dependency to Kconfig as
you noticed.
The patch now suppresses this logic when .config and Kconfig aren't in
sync and .config needs to be updated, so that you can remove now a random
value from .config and oldconfig won't reask for many other values.

bye, Roman
-
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/