lkml.org 
[lkml]   [2024]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 06/14] fork: zero vmap stack using clear_page() instead of memset()
From
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@soleen.com>
> ---
> kernel/fork.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)

..


\
 
 \ /
  Last update: 2024-05-27 15:52    [W:1.205 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site