Re: [PATCH 1/2] kasan: drain quarantine of memcg slab objects

2016-12-22 Thread Vladimir Davydov
On Tue, Dec 20, 2016 at 10:11:01AM -0800, Greg Thelen wrote: > Per memcg slab accounting and kasan have a problem with kmem_cache > destruction. > - kmem_cache_create() allocates a kmem_cache, which is used for > allocations from processes running in root (top) memcg. > - Processes running in non

Re: [PATCH 1/2] kasan: drain quarantine of memcg slab objects

2016-12-21 Thread Andrey Ryabinin
On 12/20/2016 09:11 PM, Greg Thelen wrote: > Per memcg slab accounting and kasan have a problem with kmem_cache > destruction. > - kmem_cache_create() allocates a kmem_cache, which is used for > allocations from processes running in root (top) memcg. > - Processes running in non root memcg and al

[PATCH 1/2] kasan: drain quarantine of memcg slab objects

2016-12-20 Thread Greg Thelen
Per memcg slab accounting and kasan have a problem with kmem_cache destruction. - kmem_cache_create() allocates a kmem_cache, which is used for allocations from processes running in root (top) memcg. - Processes running in non root memcg and allocating with either __GFP_ACCOUNT or from a SLAB_A