Basically, I just use mmap() to create a memory like standard malloc, because I don't really need it to write the data changes to a file.
However, I expect its dirty page feature which can help me quickly know which pages have been changed so that I can get access to these changes for other purpose, like sending these changes over network, and finally I want to unset the dirty page to monitor a next period of dirty page tracing.
So if a pure-malloc based mmap doesn't record the dirty page flag, it is just useless to my requirement..
BTW, Is there existing solution to satisify my requirement?