Revision 55860d96ca59265d35427da0ee7d7f61e404f8e7 authored by Sebastian Andrzej Siewior on 26 June 2020, 03:29:55 UTC, committed by Linus Torvalds on 26 June 2020, 07:27:37 UTC
According to Christopher Lameter two fixes have been merged for the same problem. As far as I can tell, the code does not acquire the list_lock and invoke kmalloc(). list_slab_objects() misses an unlock (the counterpart to get_map()) and the memory allocated in free_partial() isn't used. Revert the mentioned commit. Link: http://lkml.kernel.org/r/20200618201234.795692-1-bigeasy@linutronix.de Fixes: aa456c7aebb14 ("slub: remove kmalloc under list_lock from list_slab_objects() V2") Link: https://lkml.kernel.org/r/alpine.DEB.2.22.394.2006181501480.12014@www.lameter.com Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Yu Zhao <yuzhao@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8982ae5
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.5 KB |
Makefile | -rw-r--r-- | 563 bytes |
af_rxrpc.c | -rw-r--r-- | 25.1 KB |
ar-internal.h | -rw-r--r-- | 41.6 KB |
call_accept.c | -rw-r--r-- | 18.4 KB |
call_event.c | -rw-r--r-- | 12.0 KB |
call_object.c | -rw-r--r-- | 16.9 KB |
conn_client.c | -rw-r--r-- | 34.6 KB |
conn_event.c | -rw-r--r-- | 12.3 KB |
conn_object.c | -rw-r--r-- | 12.6 KB |
conn_service.c | -rw-r--r-- | 5.8 KB |
input.c | -rw-r--r-- | 37.4 KB |
insecure.c | -rw-r--r-- | 2.2 KB |
key.c | -rw-r--r-- | 29.1 KB |
local_event.c | -rw-r--r-- | 2.7 KB |
local_object.c | -rw-r--r-- | 11.7 KB |
misc.c | -rw-r--r-- | 2.3 KB |
net_ns.c | -rw-r--r-- | 3.7 KB |
output.c | -rw-r--r-- | 16.4 KB |
peer_event.c | -rw-r--r-- | 10.1 KB |
peer_object.c | -rw-r--r-- | 12.3 KB |
proc.c | -rw-r--r-- | 8.1 KB |
protocol.h | -rw-r--r-- | 7.1 KB |
recvmsg.c | -rw-r--r-- | 21.5 KB |
rtt.c | -rw-r--r-- | 5.8 KB |
rxkad.c | -rw-r--r-- | 32.6 KB |
security.c | -rw-r--r-- | 3.5 KB |
sendmsg.c | -rw-r--r-- | 22.0 KB |
skbuff.c | -rw-r--r-- | 2.6 KB |
sysctl.c | -rw-r--r-- | 3.8 KB |
utils.c | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...