Re: [PATCH -mm 0/3] slab: cleanup mem hotplug synchronization

2014-04-06 Thread Vladimir Davydov
On 04/06/2014 07:33 PM, Vladimir Davydov wrote: > kmem_cache_{create,destroy,shrink} need to get a stable value of > cpu/node online mask, because they init/destroy/access per-cpu/node > kmem_cache parts, which can be allocated or destroyed on cpu/mem > hotplug. To protect against cpu hotplug, thes

[PATCH -mm 0/3] slab: cleanup mem hotplug synchronization

2014-04-06 Thread Vladimir Davydov
Hi, kmem_cache_{create,destroy,shrink} need to get a stable value of cpu/node online mask, because they init/destroy/access per-cpu/node kmem_cache parts, which can be allocated or destroyed on cpu/mem hotplug. To protect against cpu hotplug, these functions use {get,put}_online_cpus. However, the