mmap - post/pre actions

Ran Shalit ranshalit at gmail.com
Tue Sep 15 15:40:50 EDT 2015


Hello,

I need to implement mmap for non-volatile memory chip (NVRAM).
I already did something simple, but now I understand that it is not complete:
The nvram need to be unlock and locked after finishing the memory task
of read/write.

Does mmap can handle such post/pre actions or not ( I guess that if
not -  I will need to use read/write alternatives) ?

Thank you,
Ran



More information about the Kernelnewbies mailing list