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-- | 705 bytes |
Makefile | -rw-r--r-- | 398 bytes |
gsi.c | -rw-r--r-- | 59.0 KB |
gsi.h | -rw-r--r-- | 7.9 KB |
gsi_private.h | -rw-r--r-- | 3.7 KB |
gsi_reg.h | -rw-r--r-- | 15.4 KB |
gsi_trans.c | -rw-r--r-- | 23.3 KB |
gsi_trans.h | -rw-r--r-- | 7.3 KB |
ipa.h | -rw-r--r-- | 5.1 KB |
ipa_clock.c | -rw-r--r-- | 7.5 KB |
ipa_clock.h | -rw-r--r-- | 1.3 KB |
ipa_cmd.c | -rw-r--r-- | 19.3 KB |
ipa_cmd.h | -rw-r--r-- | 5.5 KB |
ipa_data-sc7180.c | -rw-r--r-- | 6.0 KB |
ipa_data-sdm845.c | -rw-r--r-- | 6.3 KB |
ipa_data.h | -rw-r--r-- | 9.8 KB |
ipa_endpoint.c | -rw-r--r-- | 46.5 KB |
ipa_endpoint.h | -rw-r--r-- | 2.9 KB |
ipa_gsi.c | -rw-r--r-- | 1.5 KB |
ipa_gsi.h | -rw-r--r-- | 1.9 KB |
ipa_interrupt.c | -rw-r--r-- | 7.1 KB |
ipa_interrupt.h | -rw-r--r-- | 3.6 KB |
ipa_main.c | -rw-r--r-- | 25.0 KB |
ipa_mem.c | -rw-r--r-- | 13.6 KB |
ipa_mem.h | -rw-r--r-- | 3.1 KB |
ipa_modem.c | -rw-r--r-- | 8.7 KB |
ipa_modem.h | -rw-r--r-- | 801 bytes |
ipa_qmi.c | -rw-r--r-- | 17.5 KB |
ipa_qmi.h | -rw-r--r-- | 1.1 KB |
ipa_qmi_msg.c | -rw-r--r-- | 16.7 KB |
ipa_qmi_msg.h | -rw-r--r-- | 8.6 KB |
ipa_reg.c | -rw-r--r-- | 797 bytes |
ipa_reg.h | -rw-r--r-- | 17.9 KB |
ipa_smp2p.c | -rw-r--r-- | 8.9 KB |
ipa_smp2p.h | -rw-r--r-- | 1.2 KB |
ipa_table.c | -rw-r--r-- | 20.9 KB |
ipa_table.h | -rw-r--r-- | 2.3 KB |
ipa_uc.c | -rw-r--r-- | 6.7 KB |
ipa_uc.h | -rw-r--r-- | 680 bytes |
ipa_version.h | -rw-r--r-- | 625 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...