Commits
Andrey Ryabinin authored and Konstantin Khorenko committed 8bec805e4ab
mm/slab: Fix deadlock on attempt to shrink slab. echo 1 > /sys/kernel/slab/<name>/shrink deadlocks as kmem_cache_shrink() attempts to lock slab_mutex which is already held by caller. Replace slab_mutex locking with [get,put]_online_mems(). This is what the sane kernel does. Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>