> Hi Adam,
>
> > This patch add a new script, that is called by all the config scripts
> > when help is needed from Configure.help. It automatically builds a
> > byte index of Configure.help, which can be used on subsequent runs to
> > extract the help. I notice a speed increase on my P188 with 32 megs.
> > This should help out slower machines.
>
> I think the benefit is not worth the cost, both the cost of the new code
> plus the cost of having more state in the kernel source tree.
>
> That part aside, I tried it on top of a plain 2.1.85. I ran
> 'make menuconfig' and asked for help on the first option,
> CONFIG_EXPERIMENTAL. I got this error:
>
> help_add_dir_to_index: closedir Documentation/config No such file or directory
help.c attempts to search for any files that might be in
Documentation/config/, and add them to the help system. Obviously, on vanila
.85, the dir doesn't exist(I just got the error here). It is not a serious
error, as everything else works. I will remove the hard-coded directory, but
right now I can't make a patch. I am fixing/upgrading the debian packages I
maintain.
Txs for the report. Idea: next version don't make an index. It is still
faster at extracting help then sed, even without an index to use. Plus, for
those that are rewriting the config scripts in C, they could use this, and not
have to write it themselves.
Adam.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu