[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Physical page zeroing on allocation

Viacheslav Fedorov, le Mon 01 Apr 2013 11:11:44 -0500, a écrit :
> I was wondering, when allocating an anonymous physical page on a Page Fault,
> why does kernel have to fill it with zeroes?
> I understand it has something to do with security.
> But let's say I trust my environment. Then why when I disable zeroing of the
> allocated pages, the applications crash in libc?

See man mmap. Anonymous memory is explicitly documented as being set to


Reply to: