Messages in this thread | | | Date | Mon, 26 Jan 2015 12:05:13 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH v2 0/2] add support for new persistent memory instructions |
| |
On 01/26/2015 11:51 AM, Ross Zwisler wrote: > > This is fine, but now you've got two fences in a row. Another slightly more > messy choice would be to include the fence in the pcommit assembly, so > you either get pcommit + sfence or a pair of NOPs. >
If that is the required usage pattern, it should be part of the clwb() inline at least.
-hpa
| |