Re: [PATCH] Runtime memory barrier patching

Linus Torvalds (torvalds@transmeta.com)
Mon, 21 Apr 2003 17:06:39 -0700 (PDT)


On Tue, 22 Apr 2003, Jamie Lokier wrote:
>
> Such as removing the lock prefix when running non-SMP?

I think you should use a separate mechanism for that. It's really a
separate issue, _and_ the replacement is actually quite different (and
much more common, so you'd want to use a more compact data structure that
is likely just the list of addresses of locked instructions).

Linus

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