Re: sunrpc woes with tux2 in 2.4.15-pre8,9

J Sloan (jjs@pobox.com)
Thu, 22 Nov 2001 17:48:56 -0800


Trond Myklebust wrote:

> Something is indeed very wrong. Your setup uses a PIII, and no SMP. It
> shouldn't be requiring atomic_dec_and_lock() at all. Certainly this is
> the case on my own setup on stock 2.4.15-pre9.
>
> Could you check that the TUX patch isn't squashing the #define and
> test for ATOMIC_DEC_AND_LOCK that is contained in
> include/linux/spinlock.h in the stock Linus kernel. The latter is a
> workaround that is designed to stop MODVERSIONS from interfering with
> the re-#definition of atomic_dec_and_lock() in spinlock.h.

Yes, it looks like he's doing just that -

I built it with smp enabled and the problem
goes away, so it's an implicit assumption
of smp in the current tux code.

cu

jjs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/