On Tue, Aug 06, 2013 at 05:43:39PM +0900, Joonsoo Kim wrote: > Currently, we free the avc objects with holding a lock. To minimize > lock hold time, we just move the avc objects to another list > with holding a lock. Then, iterate them and free objects without holding > a lock. This makes lock hold time minimized. > > Signed-off-by: Joonsoo Kim <iamjoonsoo....@lge.com>
I expect kfree() to be fast enough that we don't think we need to bother batching this outside the lock. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/