rcu/kvfree: Switch to a generic linked list API
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Tue, 29 Nov 2022 15:58:19 +0000 (16:58 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 4 Jan 2023 01:48:41 +0000 (17:48 -0800)
commit27538e18b62fa38d38c593e8c9e050a31b6c8cea
tree3acf8197d93faa44574b432960ebcdaecd852074
parent04a522b7da3dbc083f8ae0aa1a6184b959a8f81c
rcu/kvfree: Switch to a generic linked list API

This commit improves the readability and maintainability of the
kvfree_rcu() code by switching from an open-coded linked list to
the standard Linux-kernel circular doubly linked list.  This patch
does not introduce any functional change.

Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c