Samuel Thibault <firstname.lastname@example.org
>>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.
>See man mmap. Anonymous memory is explicitly documented as being set to
Ok,thanks. So libraries and things are potentially expecting the memory to be 0, hence my troubles.
Timo Juhani Lindfors <email@example.com
> How did you disable it?
By removing __GFP_ZERO flag from alloc_page_vma function.