]> www.infradead.org Git - users/jedix/linux-maple.git/commit
debugobjects: Collect newly allocated objects in a list to reduce lock contention
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 7 Oct 2024 16:49:53 +0000 (18:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Oct 2024 15:30:30 +0000 (17:30 +0200)
commit813fd07858cfb410bc9574c05b7922185f65989b
tree9329934c73bad7983824db149369173f185d698f
parenta0ae95040853aa05dc006f4b16f8c82c6f9dd9e4
debugobjects: Collect newly allocated objects in a list to reduce lock contention

Collect the newly allocated debug objects in a list outside the lock, so
that the lock held time and the potential lock contention is reduced.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240911083521.2257-3-thunder.leizhen@huawei.com
Link: https://lore.kernel.org/all/20241007164913.073653668@linutronix.de
lib/debugobjects.c