diff options
author | Wedson Almeida Filho <wedsonaf@gmail.com> | 2024-12-19 18:04:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-20 17:19:26 +0100 |
commit | 51158207294108898e5b72bb78fa51a7e848844f (patch) | |
tree | 6ff5e5addb551cf1a2b098baa72d7515708f4953 /rust/helpers/helpers.c | |
parent | 9b90864bb42befdc10fa5c60dd1d8033c8535726 (diff) | |
download | lwn-51158207294108898e5b72bb78fa51a7e848844f.tar.gz lwn-51158207294108898e5b72bb78fa51a7e848844f.zip |
rust: add rcu abstraction
Add a simple abstraction to guard critical code sections with an rcu
read lock.
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Wedson Almeida Filho <wedsonaf@gmail.com>
Co-developed-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Tested-by: Fabien Parent <fabien.parent@linaro.org>
Link: https://lore.kernel.org/r/20241219170425.12036-5-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/helpers.c')
-rw-r--r-- | rust/helpers/helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c index dcf827a61b52..060750af6524 100644 --- a/rust/helpers/helpers.c +++ b/rust/helpers/helpers.c @@ -20,6 +20,7 @@ #include "page.c" #include "pid_namespace.c" #include "rbtree.c" +#include "rcu.c" #include "refcount.c" #include "security.c" #include "signal.c" |