diff options
author | 2024-01-02 19:46:28 +0100 | |
---|---|---|
committer | 2024-02-23 17:48:19 -0800 | |
commit | 282631cb2447318e2a55b41a665dbe8571c46d70 (patch) | |
tree | 76564c881dbee6dae0f2a20ed2716b7c55a8105f /kernel/kexec_core.c | |
parent | mm/vmalloc: remove vmap_area_list (diff) | |
download | wireguard-linux-282631cb2447318e2a55b41a665dbe8571c46d70.tar.xz wireguard-linux-282631cb2447318e2a55b41a665dbe8571c46d70.zip |
mm: vmalloc: remove global purge_vmap_area_root rb-tree
Similar to busy VA, lazily-freed area is stored to a node it belongs to.
Such approach does not require any global locking primitive, instead an
access becomes scalable what mitigates a contention.
This patch removes a global purge-lock, global purge-tree and global purge
list.
Link: https://lkml.kernel.org/r/20240102184633.748113-7-urezki@gmail.com
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: Baoquan He <bhe@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Kazuhito Hagio <k-hagio-ab@nec.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sony.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/kexec_core.c')
0 files changed, 0 insertions, 0 deletions