Re: [RFC 06/14] fork: zero vmap stack using clear_page() instead of memset()
From: Pasha Tatashin
Date: Sun Mar 17 2024 - 11:15:56 EST
On Sun, Mar 17, 2024 at 10:48 AM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
>
> Le 11/03/2024 à 17:46, Pasha Tatashin a écrit :
> > In preporation for dynamic kernel stacks do not zero the whole span of
>
> Nit: preparation
Thank you,
Pasha
>
> > the stack, but instead only the pages that are part of the vm_area.
> >
> > This is because with dynamic stacks we might have only partially
> > populated stacks.
> >
> > Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
> > ---
> > kernel/fork.c | 6 ++++--
> > 1 file changed, 4 insertions(+), 2 deletions(-)
>
> ...
>