|
Message-ID: <alpine.DEB.2.20.1601261018500.27338@east.gentwo.org> Date: Tue, 26 Jan 2016 10:19:08 -0600 (CST) From: Christoph Lameter <cl@...ux.com> To: Laura Abbott <labbott@...oraproject.org> cc: Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>, Joonsoo Kim <js1304@...il.com>, Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org, linux-kernel@...r.kernel.org, kernel-hardening@...ts.openwall.com, Kees Cook <keescook@...omium.org> Subject: Re: [RFC][PATCH 1/3] slub: Drop lock at the end of free_debug_processing On Mon, 25 Jan 2016, Laura Abbott wrote: > Currently, free_debug_processing has a comment "Keep node_lock to preserve > integrity until the object is actually freed". In actuallity, > the lock is dropped immediately in __slab_free. Rather than wait until > __slab_free and potentially throw off the unlikely marking, just drop > the lock in __slab_free. This also lets free_debug_processing take > its own copy of the spinlock flags rather than trying to share the ones > from __slab_free. Since there is no use for the node afterwards, change > the return type of free_debug_processing to return an int like > alloc_debug_processing. Acked-by: Christoph Lameter <cl@...ux.com>\
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.