Hi,
I have 3 questions about pmem_flush and pmem_drain.
1) My understanding is that pmem_flush guarantees the ordering of two sequential pmem writes because hardware
buffer works in order, and pmem_drain with a previous pmem_flush guarantees the persistency of a pmem write.
Is it right?
a power down happens during do_copy_to_pmem function, the content of pmem will be: a portion of well written content
followed by a portion of torn written content. Is it right?
3) Is there any guarantees of persistent ordering within a single pmem_memcpy function?
Thanks a lot~
Tao