8 ms·
Does GCC use PCOMMIT?
by _RPM 10y ago
Does GCC use PCOMMIT?
- wmf 10y agoNo. "all known operating systems supporting persistent memory ... have already been updated to remove all uses of PCOMMIT."
- caf 10y agoThis isn't the kind of instruction a compiler would emit for regular code.
- _RPM 10y agoWhat would this be used for?
- amluto 10y agoHand-written stuff. You'd do asm volatile ("pcommit"); or similar.
- loeg 10y agoKernel direct access to Xpoint and similar DIMMs. Potentially applications via mmap. You'd probably write a simple assembly function for it and invoke that from a language that can call assembly routines. Obvious applications are filesystems and databases.