Re: [PATCH] mm: don't access vm_flags as 'int'

From: Ingo Molnar
Date: Fri May 27 2011 - 02:09:01 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Thu, May 26, 2011 at 11:50 AM, richard -rw- weinberger
> <richard.weinberger@xxxxxxxxx> wrote:
> >
> > This breaks kernel builds with CONFIG_HUGETLBFS=n. :-(
>
> Grr. I did the "allyesconfig" build to find any problems, but that
> obviously also sets HUGETLBFS.
>
> But "allnoconfig" does find this.

Yeah, my experience is that [all[yes|no|mod]|def]config covers about
95% of the build bugs and the remaining 5% are rarely showstopper
problems (they generally don't show up in configs that people use).

Given how fast allnoconfig and defconfig builds i've got allnoconfig
and defconfig scripted to always execute together with allyesconfig.

So if you go the trouble to build allyesconfig manually, it costs
almost no time to tack on the allnoconfig and defconfig as well (and
stick this all into a script), while it increases the efficiency of
the build test remarkably.

Thanks,

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