Re: [PATCH] Add rdc321x defconfig file

From: Sam Ravnborg
Date: Mon Feb 25 2008 - 14:02:43 EST


On Mon, Feb 25, 2008 at 12:17:07PM +0100, Ingo Molnar wrote:
>
> * Adrian Bunk <bunk@xxxxxxxxxx> wrote:
>
> > What I want is that e.g. after fiddling with kernel headers I want an
> > easy way of having much compile coverage. And my script that builds
> > all defconfig's is trivial (although it takes a day to finish).
>
> no, i think you misunderstood me. I do allyesconfig testing to make sure
> the kernel is still generic enough on PC hardware - not to catch build
> breakage.
>
> What i do against build breakage is randconfig testing. That catches far
> more build breakage than a few limited number of defconfigs would ever.

Fully agreed.
But to do a few number of repetitive builds over time makes it much easier
to see if something are degenerating.

I could save a selected number of handcrafted configs so I was sure to
cover relevant different configs. But then I had to find out the
typical configuration of various sub-architectures etc.

And asking me to do randconfig is not an option. I have only this
machine to work on and with a -j8 build it gets unresponsive at least
so much that it irritates me.

> More defconfigs would just be a constant maintenance drag, they are
> rather pointless on PC hardware anyway (we'd have to have at least a few
> hundred of them for it to be meaningful as a "default config") and it
> does not really solve the problem either.
10 different configs would cover what I have in mind. This is not all
sort of combinations of dirvers and kernel haching options multiplied
with the arch specific options. This is the typical set of options
that is used to build a kernel to the relevant sub-architectures.

And an occasional defconfig update are not a maintanence burden.

It is a simple equation: 10 additional defconfigs can give you more
build coverage by additional people. Is it worth it?

Sam
--
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/