Re: [PATCH] Fix ARCH=um segfault on x86-64.

From: Rob Landley
Date: Fri Mar 06 2009 - 17:22:34 EST


On Friday 06 March 2009 08:35:43 Jeff Dike wrote:
> On Fri, Mar 06, 2009 at 07:18:34PM +0800, Am??rico Wang wrote:
> > It does work well x86_64, but my question is that whether this will
> > break i386 or not, since before, CONFIG_3_LEVEL_PGTABLES depends on
> > EXPERIMENTAL on i386, this patch removes it.
>
> As long as CONFIG_3_LEVEL_PGTABLES is off on 32-bit, it should be fine.
>
> It did work, last I checked, but 3-level page tables on 32-bit is a
> very rarely used combination, and not useful.

I have no idea if my patch is the _right_ fix, I just know I couldn't use UML
for 2 months and now I can.

If you enable CONFIG_EXPERIMENTAL, then it writes it out to the config file.
If you don't, it hides it and doesn't write it out even though the value would
be y. (The visibility predicates affect the resulting data.)

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