Messages in this thread | | | From | Alexei Fedotov <> | Date | Tue, 15 Jul 2014 21:55:03 +0400 | Subject | Where in the code mmap + MAP_ANONYMOUS clears returned pages? |
| |
Guys,
I look into mmap.c code [1] and try to understand where anonymous memory mapping (mmap + MAP_ANONYMOUS) sets memory to zero. My best guess is I should dig that somewhere in mmap_region.
Could you please help me locating the code which makes returned memory pages clean? Thank you in advance.
[1] http://code.ohloh.net/file?fid=RPa2fuiQ5j_IwR1nymptYBBC3X4&cid=w6qrXNDsMqk
-- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095
[1] Start using Apache Openmeetings today, http://openmeetings.apache.org/ [2] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [3] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |