73 points · by mslusarz · 10y ago · 24 comments
It looks like the encoding of PCOMMIT (+66 0F AE/7) is basically the same as CLFLUSH except with a +66 prefix, so if a CPU doesn't know about PCOMMIT it'll probably try to execute it as a CLFLUSH with an ignored prefix.
But hopefully this "deprecated" information stays around, if for nothing other than "archaeological" purposes:
I love your examples of other removals -- didn't know about those.
("Deprecating pcommit" means that persistent memory is simpler to use; persistent memory itself is not deprecated.)
Its analogous to fysnc() to ensure data reaches the disk in a way that survives power failure. This is like just treating all writes as fsynced and not needing to worry about fsync at all, like with O_DIRECT writes.
I had been using the term "power-fail safe domain" to talk about the line a store crosses where it is then persistent in the face of power failures. But that led people to think power failure was the only event considered so we started saying "persistence domain." I'm certainly open to suggestions on terminology.
Obvious applications are filesystems and databases.