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
History
File Mode Size
fc
fc_encode.h -rw-r--r-- 21.0 KB
fc_frame.h -rw-r--r-- 6.3 KB
fcoe_sysfs.h -rw-r--r-- 3.1 KB
iscsi_if.h -rw-r--r-- 25.6 KB
iscsi_proto.h -rw-r--r-- 15.5 KB
iser.h -rw-r--r-- 2.3 KB
libfc.h -rw-r--r-- 30.9 KB
libfcoe.h -rw-r--r-- 13.4 KB
libiscsi.h -rw-r--r-- 13.6 KB
libiscsi_tcp.h -rw-r--r-- 3.8 KB
libsas.h -rw-r--r-- 17.8 KB
sas.h -rw-r--r-- 12.5 KB
sas_ata.h -rw-r--r-- 2.1 KB
scsi.h -rw-r--r-- 8.6 KB
scsi_bsg_iscsi.h -rw-r--r-- 2.2 KB
scsi_cmnd.h -rw-r--r-- 9.0 KB
scsi_common.h -rw-r--r-- 2.1 KB
scsi_dbg.h -rw-r--r-- 2.1 KB
scsi_device.h -rw-r--r-- 21.2 KB
scsi_devinfo.h -rw-r--r-- 3.7 KB
scsi_dh.h -rw-r--r-- 2.5 KB
scsi_driver.h -rw-r--r-- 897 bytes
scsi_eh.h -rw-r--r-- 1.6 KB
scsi_host.h -rw-r--r-- 26.3 KB
scsi_ioctl.h -rw-r--r-- 1.3 KB
scsi_proto.h -rw-r--r-- 10.7 KB
scsi_request.h -rw-r--r-- 667 bytes
scsi_tcq.h -rw-r--r-- 961 bytes
scsi_transport.h -rw-r--r-- 2.6 KB
scsi_transport_fc.h -rw-r--r-- 26.3 KB
scsi_transport_iscsi.h -rw-r--r-- 16.7 KB
scsi_transport_sas.h -rw-r--r-- 6.8 KB
scsi_transport_spi.h -rw-r--r-- 6.5 KB
scsi_transport_srp.h -rw-r--r-- 4.8 KB
scsicam.h -rw-r--r-- 636 bytes
sg.h -rw-r--r-- 13.6 KB
srp.h -rw-r--r-- 7.1 KB
viosrp.h -rw-r--r-- 5.4 KB

back to top