Re: [RFC 06/14] fork: zero vmap stack using clear_page() instead of memset()
From: Christophe JAILLET
Date: Sun Mar 17 2024 - 10:49:56 EST
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
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(-)
..