Re: test_and_set_bit() not atomic forever? [cli/sti in char/vt.c [patch]]

ralf@uni-koblenz.de
Tue, 2 Jun 1998 00:17:55 +0200


On Mon, Jun 01, 1998 at 11:42:07AM +0100, Jamie Lokier wrote:

> I wrote:
> > Perhaps a fixup table to convert all the `lock's to `nop's at
> > initialisation time?
>
> ralf@uni-koblenz.de wrote:
> > That's nonsense as only the SMP kernel uses the lock prefix.
>
> Please reread. We were talking about when people run SMP kernels on a
> non-SMP system.

That is exactly what I'm talking about. Just if SMP worries you, why the
complexity of patching SMP away at runtime? You'll end up with a solution
that is technical inferior (practically impossible to get rid of all the
SMP stuff) and more complex. It's only an issue for distribution makers
and they can solve the problem very easily.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu