summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <urezki@gmail.com>2022-11-29 18:58:20 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-01-04 04:48:41 +0300
commit8c15a9e8086508962b2b69456ed22dc517d91b15 (patch)
tree8ac30fe300a32fc0c01f68da2683900073e46c39 /scripts/lib/kdoc
parent27538e18b62fa38d38c593e8c9e050a31b6c8cea (diff)
downloadlinux-8c15a9e8086508962b2b69456ed22dc517d91b15.tar.xz
rcu/kvfree: Move bulk/list reclaim to separate functions
The kvfree_rcu() code maintains lists of pages of pointers, but also a singly linked list, with the latter being used when memory allocation fails. Traversal of these two types of lists is currently open coded. This commit simplifies the code by providing kvfree_rcu_bulk() and kvfree_rcu_list() functions, respectively, to traverse these two types of lists. 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>
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions