diff options
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-08-20 17:59:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-08 16:31:04 +0100 |
commit | 3cce0362ee92d089dc93ab1099e1d1c8f0dde7a5 (patch) | |
tree | 575203bb7893d06a08703d488c41b994f4ea8b5b /tools/perf/scripts/python/stackcollapse.py | |
parent | 0ee23db48fcc1f00122516e0ecb35665dcd6e08e (diff) |
rcu/kvfree: Add kvfree_rcu_barrier() API
commit 2b55d6a42d14c8675e38d6d9adca3014fdf01951 upstream.
Add a kvfree_rcu_barrier() function. It waits until all
in-flight pointers are freed over RCU machinery. It does
not wait any GP completion and it is within its right to
return immediately if there are no outstanding pointers.
This function is useful when there is a need to guarantee
that a memory is fully freed before destroying memory caches.
For example, during unloading a kernel module.
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions