Re: [patch 2/21] reduced locking in buffer.c

David S. Miller (davem@redhat.com)
Tue, 13 Aug 2002 10:34:28 -0700 (PDT)


From: Linus Torvalds <torvalds@transmeta.com>
Date: Tue, 13 Aug 2002 10:34:37 -0700 (PDT)

On Sun, 11 Aug 2002, Andrew Morton wrote:
> Resend. Replace the buffer lru spinlock protection with
> local_irq_disable and a cross-CPU call to invalidate them.

This almost certainly breaks on sparc, where CPU cross-calls are
non-maskable, so local_irq_disable doesn't do anything for them.

Talk to Davem about this - there may be some workaround.

I told him it's OK in 2.5.x as I've discovered a way to implement
sparc32 (once we have it working again) such that local_irq_disable
blocks cross calls.
-
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/