Re: [RFC v2 PATCH 0/4] speed up page allocation for __GFP_ZERO

From: Michal Hocko
Date: Mon Jan 04 2021 - 07:56:59 EST


On Mon 21-12-20 11:25:22, Liang Li wrote:
[...]
> Security
> ========
> This is a weak version of "introduce init_on_alloc=1 and init_on_free=1
> boot options", which zero out page in a asynchronous way. For users can't
> tolerate the impaction of 'init_on_alloc=1' or 'init_on_free=1' brings,
> this feauture provide another choice.

Most of the usecases are about the start up time imporvemtns IIUC. Have
you tried to use init_on_free or this would be prohibitive for your
workloads?

--
Michal Hocko
SUSE Labs