Re: CONFIG_MK6 = lsof hangs unkillable

From: Adrian Bunk
Date: Fri Jan 20 2006 - 15:29:31 EST


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.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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