Re: [PATCH] Runtime memory barrier patching

Linus Torvalds
2003-04-21T23:55:19Z

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