Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1579229
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6] fork: free vmapped stacks in cache when cpus are offline |
| Date | 2017-02-12 16:30 +0100 |
| Message-ID | <ta4g9-7XF-5@gated-at.bofh.it> (permalink) |
| References | <ta24F-6HV-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <hoeun.ryu@gmail.com> > Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v6] fork: free vmapped stacks in cache when cpus are offline Hoeun Ryu <hoeun.ryu@gmail.com> - 2017-02-12 14:10 +0100 Re: [PATCH v6] fork: free vmapped stacks in cache when cpus are offline Thomas Gleixner <tglx@linutronix.de> - 2017-02-12 16:30 +0100
csiph-web