From mboxrd@z Thu Jan 1 00:00:00 1970 From: ranshalit@gmail.com (Ran Shalit) Date: Tue, 15 Sep 2015 22:40:50 +0300 Subject: mmap - post/pre actions Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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