Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 12 Feb 2017 16:23:36 +0100 (CET)
From: Thomas Gleixner <>
To: Hoeun Ryu <>
cc: Andrew Morton <>, Michal Hocko <>, 
    Ingo Molnar <>, Andy Lutomirski <>, 
    Kees Cook <>, 
    "Eric W. Biederman" <>, 
    Oleg Nesterov <>, Mateusz Guzik <>,,
Subject: Re: [PATCH v6] fork: free vmapped stacks in cache when cpus are

On Sun, 12 Feb 2017, Hoeun Ryu wrote:

>  Using virtually mapped stack, kernel stacks are allocated via vmalloc.
> In the current implementation, two stacks per cpu can be cached when
> tasks are freed and the cached stacks are used again in task duplications.
> but the cached stacks may remain unfreed even when cpu are offline.
>  By adding a cpu hotplug callback to free the cached stacks when a cpu
> goes offline, the pages of the cached stacks are not wasted.
> Signed-off-by: Hoeun Ryu <>
> Acked-by: Michal Hocko <>

Reviewed-by: Thomas Gleixner <>

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.