Re: CONFIG_MK6 = lsof hangs unkillable

From: Andrew Morton
Date: Fri Jan 20 2006 - 17:40:50 EST


Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> On Fri, Jan 20, 2006 at 04:44:07AM -0800, Andrew Morton wrote:
> > Tony Mantler <nicoya@xxxxxx> wrote:
> > >
> > > I'm having trouble running lsof on 2.6.15.1 when the kernel is
> > > compiled with CONFIG_MK6. When run as root, lsof will segfault, and
> > > when run as a user lsof will hang unkillable.
> > >
> > > The same kernel, same machine, but compiled with CONFIG_MK7 runs just
> > > lsof just fine.
> >
> > That's creepy. CONFIG_MK6 hardly does anything. The main thing it does is
> > feed `-march=k6' into the compiler. MK7 uses `-march=athlon'.
> >...
>
> CONFIG_MK7 results in a bigger L1_CACHE_SHIFT than CONFIG_MK6.
>
> AFAIR it wouldn't be the first time that changing L1_CACHE_SHIFT would
> hide a real bug visible with a different L1_CACHE_SHIFT.
>

hm, OK. Well that's something we can ask Tony to eliminate, by patching
his Kconfig.cpu to make CONFIG_MK6 have the larger L1_CACHE_SHIFT (and/or
vice versa).

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