Re: [RFC 06/14] fork: zero vmap stack using clear_page() instead of memset()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

...





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux