Hi all, I have a question about atomic operations on nvdimm in Linux kernel.
We can use atomic operations in Linux kernel such as atomic_read(), atomic_write() ...etc., but they don't handle the differences of endianness. From my understanding, we should pay attention to them when storing data to persistent disk. (e.g. metadata in filesystem such as ext4) Maybe I can handle this problem by read/write lock, spinlock...etc. However, atomic_* operations are useful, so I think that they should be in Linux kernel for nvdimm. I suppose that this implementation is not difficult, but there is no version of it as far as I know. They are not just implemented or is there a reason that we don't need them? I'm sorry if there already was in the discussion or I have a wrong understanding. Regards, Fumiya Shigemitsu. _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
