From nobody Sun May 24 19:33:16 2026 Received: from mail-106113.protonmail.ch (mail-106113.protonmail.ch [79.135.106.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0935F3A0E80 for ; Fri, 22 May 2026 05:42:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.113 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779428570; cv=none; b=bw0n+9W3K36lD/oGOa7IvocZSSfeCFnJBTTNKWU3K2xPfqsFgm25h/chKQYJtWld0jFTun/Lg2iOUmnJv4XN6kwYpFWAEXZ5xGj+oCCigceDH2b+M20jQ5ua7/G/A78Ro48AxnhkAA+xuNg08SyVxukVIucDlRoCpDT+xDir9+8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779428570; c=relaxed/simple; bh=AiYYHhQnDBXRUI9uA1z+yKZgFykrG5PGIkYYq/LUh38=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VaDWXR36CW+V6dmdYo88ZucreevnEcP3ScXq2r85DlWnh8ISEN61YRKkf0kOFy4hWVI+UiYBTLZ5mrgmh011qmFCE6UUqJY5y74X0S9pc8d1w7v+xbK2lDQ94XJ/T5zYXsE05gH/8dk2HSBGZtZIX/bmFnLQFkQcrREwI/wBGis= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (2048-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=sA3NBIpC; arc=none smtp.client-ip=79.135.106.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="sA3NBIpC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=protonmail; t=1779428558; x=1779687758; bh=iFA0pc/4fnxZD3BhBLp52E7zERRWsWbpT/pe9uVu+0Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=sA3NBIpCnDDvF+agL24aTcvnSdPqUZ1WCmEmRGYzu0IvVn+jTsYls8ox3SwvG/4X3 zHiLcZ20KFW7e37rjQN7yUhaaYlkpq0x+P2wQv88ghU4NVyHTKHqCspZVKhPF19JNy ro/TWVqAgMqke08AZId+ys3h8pwlewqcgaVHG7SfFM/U/N4Il9Y6M9SZ7z8DdoEXN0 M91V4IQRdgCs+e6h/n4nBRtrrW7m8oGlTaPSzVw1qhAsZhK76WochIHdlehvmESVQS 7/7XSboTW33QM4z318RVx2fOOLeJ4tTLK57OsQcvpCxGWi+g9G7v4YYwrajFUO95ou je3f2N59jAsQw== X-Pm-Submission-Id: 4gMDgv06L5z2ScPH From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rcu@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ojeda@kernel.org, boqun@kernel.org, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, a.hindborg@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, peterz@infradead.org, fujita.tomonori@gmail.com, tamird@kernel.org, jiangshanlai@gmail.com, paulmck@kernel.org, josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v3 1/3] rust: helpers: add SRCU helpers Date: Fri, 22 May 2026 08:41:50 +0300 Message-ID: <20260522054228.114814-2-work@onurozkan.dev> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20260522054228.114814-1-work@onurozkan.dev> References: <20260522054228.114814-1-work@onurozkan.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Add helper wrappers for SRCU functions that are exposed to Rust through generated bindings. Signed-off-by: Onur =C3=96zkan --- rust/helpers/helpers.c | 1 + rust/helpers/srcu.c | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 rust/helpers/srcu.c diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c index 625921e27dfb..f3562d3b3888 100644 --- a/rust/helpers/helpers.c +++ b/rust/helpers/helpers.c @@ -88,6 +88,7 @@ #include "signal.c" #include "slab.c" #include "spinlock.c" +#include "srcu.c" #include "sync.c" #include "task.c" #include "time.c" diff --git a/rust/helpers/srcu.c b/rust/helpers/srcu.c new file mode 100644 index 000000000000..e9f723d7f8c9 --- /dev/null +++ b/rust/helpers/srcu.c @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include + +__rust_helper int rust_helper_init_srcu_struct_with_key(struct srcu_struct= *ssp, + const char *name, + struct lock_class_key *key) +{ +#ifdef CONFIG_DEBUG_LOCK_ALLOC + return __init_srcu_struct(ssp, name, key); +#else /* !CONFIG_DEBUG_LOCK_ALLOC */ + return init_srcu_struct(ssp); +#endif /* CONFIG_DEBUG_LOCK_ALLOC */ +} + +__rust_helper int rust_helper_srcu_read_lock(struct srcu_struct *ssp) +{ + return srcu_read_lock(ssp); +} + +__rust_helper void rust_helper_srcu_read_unlock(struct srcu_struct *ssp, i= nt idx) +{ + srcu_read_unlock(ssp, idx); +} --=20 2.51.2 From nobody Sun May 24 19:33:16 2026 Received: from mail-43171.protonmail.ch (mail-43171.protonmail.ch [185.70.43.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74EDF3A1D05 for ; Fri, 22 May 2026 05:42:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779428573; cv=none; b=RiB1LzObVy30LlPIbgzSSWRn5CgW6riGl1MdL4tzxk1exsiHPQ4QsYbQKj766xxCJQF2euwESb17BTyLue2sz8sJL62mLS+6uLVJ84O9dLOjrm6sr41+uHhG3sky05GstlPbeJpz8dgy21zY640XprqTN62VLZ+eCQZ/VZXVwBw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779428573; c=relaxed/simple; bh=VyHDPfzgboSDBdYwyL4hLr0QEZzsMvqg/MkfKOxxuCw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qYXz+tuSPQKNeprjglplyGYgw+QEZhQPiBSD0v/W37tEXocibyGyPCF/Z8RmiW07spVqIeKxPBlZcfWaZXQ87k4/XsT6EFgszebShr+XWuIgXTzyOAoB3pFuRTpjINzNLSzqivZP8HeAn2dcRBFpjWFhH3rsuOSW4gXAK/5mkIo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (2048-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=b5MJ5oCJ; arc=none smtp.client-ip=185.70.43.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="b5MJ5oCJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=protonmail; t=1779428562; x=1779687762; bh=ZWcrCB8OMxpIpkGp621JdmItw4PzNVKkExpa+RY8gJY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=b5MJ5oCJZo1XfbiN0VAsqAyL9WDAh9pP1PZR3KnvZH2OUq002eB1lKQjHXoG2yTD0 k8oj4XUIJAQVycSMARSD3yGFhN/nhTnZeuG2aUC7lVfNGOrv3amx1P/Pd8VsteCGEx NZAZGHCnSDgyQxKIX9o5WIsSwYFcjiE3ZvG1xoh6kYLnzDyer1EOO4PenATEPLq551 nN88zWqYfdPoBSlffvSr0K9UAf4CFIcd4yu4bbIaQoun9ASItu5v2pIURmg/GJ3T5k +wtaxJJK1dpx1rhSFW8wXZMFMY3CQxiiNk2aYwlO9iun78moce57/sUrMYLr3yCCO6 BkgMkNnzgHW9Q== X-Pm-Submission-Id: 4gMDgx1m6nz2ScPK From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rcu@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ojeda@kernel.org, boqun@kernel.org, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, a.hindborg@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, peterz@infradead.org, fujita.tomonori@gmail.com, tamird@kernel.org, jiangshanlai@gmail.com, paulmck@kernel.org, josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v3 2/3] rust: sync: add SRCU abstraction Date: Fri, 22 May 2026 08:41:51 +0300 Message-ID: <20260522054228.114814-3-work@onurozkan.dev> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20260522054228.114814-1-work@onurozkan.dev> References: <20260522054228.114814-1-work@onurozkan.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Add a Rust abstraction for sleepable RCU (SRCU), backed by C srcu_struct. Provide FFI helpers and a safe wrapper with a guard-based API for read-side critical sections. Cleanup is handled via `PinnedDrop`, which explicitly drains pending grace periods and callbacks via `synchronize_srcu` and `srcu_barrier` before executing `cleanup_srcu_struct` to guarantee memory safety e.g. when there are leaked guards (via `mem::forget($guard)`). Signed-off-by: Onur =C3=96zkan --- rust/kernel/sync.rs | 2 + rust/kernel/sync/srcu.rs | 156 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100644 rust/kernel/sync/srcu.rs diff --git a/rust/kernel/sync.rs b/rust/kernel/sync.rs index 993dbf2caa0e..0d6a5f1300c3 100644 --- a/rust/kernel/sync.rs +++ b/rust/kernel/sync.rs @@ -21,6 +21,7 @@ pub mod rcu; mod refcount; mod set_once; +pub mod srcu; =20 pub use arc::{Arc, ArcBorrow, UniqueArc}; pub use completion::Completion; @@ -31,6 +32,7 @@ pub use locked_by::LockedBy; pub use refcount::Refcount; pub use set_once::SetOnce; +pub use srcu::Srcu; =20 /// Represents a lockdep class. /// diff --git a/rust/kernel/sync/srcu.rs b/rust/kernel/sync/srcu.rs new file mode 100644 index 000000000000..c8fd370e8528 --- /dev/null +++ b/rust/kernel/sync/srcu.rs @@ -0,0 +1,156 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Sleepable read-copy update (SRCU) support. +//! +//! C header: [`include/linux/srcu.h`](srctree/include/linux/srcu.h) + +use crate::{ + bindings, + error::to_result, + prelude::*, + sync::LockClassKey, + types::{ + NotThreadSafe, + Opaque, // + }, +}; + +use pin_init::pin_data; + +/// Creates an [`Srcu`] initialiser with the given name and a newly-create= d lock class. +#[doc(hidden)] +#[macro_export] +macro_rules! new_srcu { + ($($name:literal)?) =3D> { + $crate::sync::Srcu::new($crate::optional_name!($($name)?), $crate:= :static_lock_class!()) + }; +} +pub use new_srcu; + +/// Sleepable read-copy update primitive. +/// +/// SRCU readers may sleep while holding the read-side guard. +/// +/// The destructor waits for active readers and callbacks, so it may sleep. +/// If a read-side guard has been leaked, dropping an [`Srcu`] may never r= eturn. +/// +/// # Invariants +/// +/// This represents a valid `struct srcu_struct` initialized by the C SRCU= API +/// and it remains pinned and valid until the pinned destructor runs. +#[repr(transparent)] +#[pin_data(PinnedDrop)] +pub struct Srcu { + #[pin] + inner: Opaque, +} + +impl Srcu { + /// Creates a new SRCU instance. + #[inline] + pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> im= pl PinInit { + try_pin_init!(Self { + inner <- Opaque::try_ffi_init(|ptr: *mut bindings::srcu_struct= | { + // SAFETY: `ptr` points to valid uninitialised memory for = a `srcu_struct`. + to_result(unsafe { + bindings::init_srcu_struct_with_key(ptr, name.as_char_= ptr(), key.as_ptr()) + }) + }), + }) + } + + /// Enters an SRCU read-side critical section. + /// + /// Leaking the returned [`Guard`] leaves the SRCU read-side critical + /// section active and makes `drop` sleep forever. + #[inline] + pub fn read_lock(&self) -> Guard<'_> { + // SAFETY: By the type invariants, `self` contains a valid `struct= srcu_struct`. + let idx =3D unsafe { bindings::srcu_read_lock(self.inner.get()) }; + + // INVARIANT: `idx` was returned by `srcu_read_lock()` for this `S= rcu`. + Guard { + srcu: self, + idx, + _not_send: NotThreadSafe, + } + } + + /// Waits until all pre-existing SRCU readers have completed. + #[inline] + pub fn synchronize(&self) { + // SAFETY: By the type invariants, `self` contains a valid `struct= srcu_struct`. + unsafe { bindings::synchronize_srcu(self.inner.get()) }; + } + + /// Waits until all pre-existing SRCU readers have completed, expedite= d. + /// + /// This requests a lower-latency grace period than [`Srcu::synchroniz= e`] typically + /// at the cost of higher system-wide overhead. Prefer [`Srcu::synchro= nize`] by default + /// and use this variant only when reducing reset or teardown latency = is more important + /// than the extra cost. + #[inline] + pub fn synchronize_expedited(&self) { + // SAFETY: By the type invariants, `self` contains a valid `struct= srcu_struct`. + unsafe { bindings::synchronize_srcu_expedited(self.inner.get()) }; + } +} + +#[pinned_drop] +impl PinnedDrop for Srcu { + fn drop(self: Pin<&mut Self>) { + let ptr =3D self.inner.get(); + + // `cleanup_srcu_struct()` may return early if readers are still a= ctive. Because `Srcu` + // owns the embedded `srcu_struct`, returning from `drop` in that = state could free memory + // that is still referenced by the C side. + // + // Wait for all readers to complete first. If any `Guard` was leak= ed, `synchronize_srcu()` + // will sleep forever. + // + // SAFETY: By the type invariants, `self` contains a valid and pin= ned `struct srcu_struct`. + unsafe { bindings::synchronize_srcu(ptr) }; + + // Ensure all SRCU callbacks have been finished before freeing. + // SAFETY: By the type invariants, `self` contains a valid and pin= ned `struct srcu_struct`. + unsafe { bindings::srcu_barrier(ptr) }; + + // SAFETY: By the type invariants, `self` contains a valid and pin= ned `struct srcu_struct`. + unsafe { bindings::cleanup_srcu_struct(ptr) }; + } +} + +// SAFETY: `srcu_struct` may be shared and used across threads. +unsafe impl Send for Srcu {} +// SAFETY: `srcu_struct` may be shared and used concurrently. +unsafe impl Sync for Srcu {} + +/// Guard for an active SRCU read-side critical section on a particular [`= Srcu`]. +/// +/// Leaking this guard with [`core::mem::forget`] leaves the SRCU read-side +/// critical section active and makes dropping the associated [`Srcu`] sle= ep forever. +/// +/// # Invariants +/// +/// `idx` is the index returned by `srcu_read_lock()` for `srcu`. +#[must_use =3D "if unused, the lock will be immediately unlocked"] +pub struct Guard<'a> { + srcu: &'a Srcu, + idx: i32, + _not_send: NotThreadSafe, +} + +impl Guard<'_> { + /// Explicitly releases the SRCU read-side critical section. + #[inline] + pub fn unlock(self) {} +} + +impl Drop for Guard<'_> { + #[inline] + fn drop(&mut self) { + // SAFETY: `Guard` is only constructible through `Srcu::read_lock(= )`, + // which returns a valid index for the SRCU instance. + unsafe { bindings::srcu_read_unlock(self.srcu.inner.get(), self.id= x) }; + } +} --=20 2.51.2 From nobody Sun May 24 19:33:16 2026 Received: from mail-106111.protonmail.ch (mail-106111.protonmail.ch [79.135.106.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E0F13A1A3F for ; Fri, 22 May 2026 05:42:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.111 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779428575; cv=none; b=AI3uDz9Ln0FDzAS6KE/MutjgXuy+nT7c6WlgSLrrxQTIbmwumZlpqCe5MCnbapj8cWANw0ggaQTM1WX8ScDjUgbI+qVAoe2LU0dK+bCqDtxQg0RdZsRGV+x9766eYh8VNKrO7zuFdv6AxFk33ey3d5LwKXX3QJqYzj9hpfyGEW4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779428575; c=relaxed/simple; bh=OXKg7IoJRXxJABbEWtm/U0WbRH/zsPKFQvYu+ZBgzKg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BCu0yBnOD3Ry/NTg2wvpECUiWLpdL7G60YRRf1aWFMwwAsvRZeKDjRo0AswC9ES0dCmwvVhOfo9IqoKPS6+av/NtVTe1KVnrgwMYuBCGt1s0V/0DivbmP7od1za4CA4J/Jbbj7kfR/V8lGmQWNCa+lGXd/hwTKVeD+oUoMLeGV0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (2048-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=NnAeN398; arc=none smtp.client-ip=79.135.106.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="NnAeN398" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=protonmail; t=1779428566; x=1779687766; bh=/JxKK4le+0Qf2c0FvyVzReRLUsasiZAYNwA0SE2Vp0s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=NnAeN398wKRYB9Ua3klckuSKVdf9df3GtEYGwikx0/w/YQLN2E+mKtAMGlohahOTb 0vreDlnPEYkBk2Ep5OJ3g06obdxmqNMWZW15IyyqlO7CVyonumbssiCTaXoaT1Ee3L u7RTvtccx2JAWuszMZhQp43oiJbFVCCxIxXYzvQMcnms8nkcb+f3j7wQaNKhgGo9Mt Cg0eV6Tyo0UXoNTxZhffH4saXg/68Yr89aI0ruPZjWTh2UPWkjqWXojMjUP07qhV/E FOEsJFAagAf7C0DtaTiF/3C0Bd40lZ+VnA/FjDBBAy2snKvLJxPsRvOblWnwKMwshq Ra5tUiBN4iFXA== X-Pm-Submission-Id: 4gMDh10dp6z2ScPd From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rcu@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ojeda@kernel.org, boqun@kernel.org, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, a.hindborg@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, peterz@infradead.org, fujita.tomonori@gmail.com, tamird@kernel.org, jiangshanlai@gmail.com, paulmck@kernel.org, josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v3 3/3] MAINTAINERS: add Rust SRCU files to SRCU entry Date: Fri, 22 May 2026 08:41:52 +0300 Message-ID: <20260522054228.114814-4-work@onurozkan.dev> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20260522054228.114814-1-work@onurozkan.dev> References: <20260522054228.114814-1-work@onurozkan.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Include Rust side implementation files to the SRCU maintainer entry. Signed-off-by: Onur =C3=96zkan --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e0b307b2108c..7739a435f258 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24624,6 +24624,7 @@ SLEEPABLE READ-COPY UPDATE (SRCU) M: Lai Jiangshan M: "Paul E. McKenney" M: Josh Triplett +M: Onur =C3=96zkan (RUST) R: Steven Rostedt R: Mathieu Desnoyers L: rcu@vger.kernel.org @@ -24632,6 +24633,8 @@ W: http://www.rdrop.com/users/paulmck/RCU/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git rcu/dev F: include/linux/srcu*.h F: kernel/rcu/srcu*.c +F: rust/helpers/srcu.c +F: rust/kernel/sync/srcu.rs =20 SMACK SECURITY MODULE M: Casey Schaufler --=20 2.51.2