Re: [PATCH] Runtime memory barrier patching

Jamie Lokier
2003-04-22T00:01:29Z

Linus Torvalds 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).

Indeed.

-- Jamie