Page initialization

Submitted by sidc7
on January 14, 2009 - 4:43pm

I had a question regarding the page initialization. On a page fault to a page that has never been touched before the kernel under some conditions maps the page to a zero page maintained by the kernel, the empty_zero_page.

Is this frame always used to initialize a page, or is there any other way, like setting a new page to all zeros, that is used by the kernel to do a page initialization?

Thanks,
-SC

man mmap

Anhydrous (not verified)
on
January 14, 2009 - 9:54pm

Read the bit about MAP_ANONYMOUS

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.