Where in the code mmap + MAP_ANONYMOUS clears returned pages?

From: Alexei Fedotov
Date: Tue Jul 15 2014 - 14:03:38 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/