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-- | 8.7 KB |
Makefile | -rw-r--r-- | 1.1 KB |
aead_api.c | -rw-r--r-- | 2.5 KB |
aead_api.h | -rw-r--r-- | 569 bytes |
aes_ccm.h | -rw-r--r-- | 1.0 KB |
aes_cmac.c | -rw-r--r-- | 2.1 KB |
aes_cmac.h | -rw-r--r-- | 592 bytes |
aes_gcm.h | -rw-r--r-- | 1013 bytes |
aes_gmac.c | -rw-r--r-- | 2.2 KB |
aes_gmac.h | -rw-r--r-- | 534 bytes |
agg-rx.c | -rw-r--r-- | 16.5 KB |
agg-tx.c | -rw-r--r-- | 29.4 KB |
airtime.c | -rw-r--r-- | 16.2 KB |
cfg.c | -rw-r--r-- | 108.8 KB |
chan.c | -rw-r--r-- | 44.9 KB |
debug.h | -rw-r--r-- | 5.0 KB |
debugfs.c | -rw-r--r-- | 15.9 KB |
debugfs.h | -rw-r--r-- | 440 bytes |
debugfs_key.c | -rw-r--r-- | 12.3 KB |
debugfs_key.h | -rw-r--r-- | 1.6 KB |
debugfs_netdev.c | -rw-r--r-- | 23.8 KB |
debugfs_netdev.h | -rw-r--r-- | 771 bytes |
debugfs_sta.c | -rw-r--r-- | 32.0 KB |
debugfs_sta.h | -rw-r--r-- | 466 bytes |
driver-ops.c | -rw-r--r-- | 7.9 KB |
driver-ops.h | -rw-r--r-- | 34.8 KB |
ethtool.c | -rw-r--r-- | 6.2 KB |
fils_aead.c | -rw-r--r-- | 8.3 KB |
fils_aead.h | -rw-r--r-- | 473 bytes |
he.c | -rw-r--r-- | 3.9 KB |
ht.c | -rw-r--r-- | 16.8 KB |
ibss.c | -rw-r--r-- | 51.4 KB |
ieee80211_i.h | -rw-r--r-- | 73.0 KB |
iface.c | -rw-r--r-- | 54.7 KB |
key.c | -rw-r--r-- | 36.6 KB |
key.h | -rw-r--r-- | 4.7 KB |
led.c | -rw-r--r-- | 10.0 KB |
led.h | -rw-r--r-- | 2.5 KB |
main.c | -rw-r--r-- | 41.4 KB |
mesh.c | -rw-r--r-- | 43.8 KB |
mesh.h | -rw-r--r-- | 13.2 KB |
mesh_hwmp.c | -rw-r--r-- | 36.5 KB |
mesh_pathtbl.c | -rw-r--r-- | 21.0 KB |
mesh_plink.c | -rw-r--r-- | 32.1 KB |
mesh_ps.c | -rw-r--r-- | 16.2 KB |
mesh_sync.c | -rw-r--r-- | 6.4 KB |
michael.c | -rw-r--r-- | 2.0 KB |
michael.h | -rw-r--r-- | 456 bytes |
mlme.c | -rw-r--r-- | 167.9 KB |
ocb.c | -rw-r--r-- | 6.6 KB |
offchannel.c | -rw-r--r-- | 26.4 KB |
pm.c | -rw-r--r-- | 5.5 KB |
rate.c | -rw-r--r-- | 25.0 KB |
rate.h | -rw-r--r-- | 2.9 KB |
rc80211_minstrel.c | -rw-r--r-- | 17.4 KB |
rc80211_minstrel.h | -rw-r--r-- | 3.9 KB |
rc80211_minstrel_debugfs.c | -rw-r--r-- | 5.8 KB |
rc80211_minstrel_ht.c | -rw-r--r-- | 47.0 KB |
rc80211_minstrel_ht.h | -rw-r--r-- | 2.8 KB |
rc80211_minstrel_ht_debugfs.c | -rw-r--r-- | 8.8 KB |
rx.c | -rw-r--r-- | 132.1 KB |
scan.c | -rw-r--r-- | 37.2 KB |
spectmgmt.c | -rw-r--r-- | 7.7 KB |
sta_info.c | -rw-r--r-- | 68.2 KB |
sta_info.h | -rw-r--r-- | 29.2 KB |
status.c | -rw-r--r-- | 37.6 KB |
tdls.c | -rw-r--r-- | 55.7 KB |
tkip.c | -rw-r--r-- | 11.0 KB |
tkip.h | -rw-r--r-- | 697 bytes |
trace.c | -rw-r--r-- | 1.3 KB |
trace.h | -rw-r--r-- | 57.4 KB |
trace_msg.h | -rw-r--r-- | 1.3 KB |
tx.c | -rw-r--r-- | 144.2 KB |
util.c | -rw-r--r-- | 111.7 KB |
vht.c | -rw-r--r-- | 20.4 KB |
wep.c | -rw-r--r-- | 8.3 KB |
wep.h | -rw-r--r-- | 907 bytes |
wme.c | -rw-r--r-- | 6.2 KB |
wme.h | -rw-r--r-- | 681 bytes |
wpa.c | -rw-r--r-- | 31.7 KB |
wpa.h | -rw-r--r-- | 1.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...