Skip to content

Commit a300471

Browse files
committed
MAINTAINERS: add rust bindings entry for bitmap API
This entry enumerates bitmap and related APIs listed in BITMAP API entry that rust requires but cannot use directly (i.e. inlined functions and macros). The "Rust kernel policy" (https://rust-for-linux.com/rust-kernel-policy) document describes the special status of rust support: "Exceptionally, for Rust, a subsystem may allow to temporarily break Rust code." Accordingly, the following policy applies to all interfaces under the BITMAP API entry that are used in rust codebase, including those not listed explicitly here. Bitmap developers do their best to keep the API stable. When API or user-visible behavior needs to be changed such that it breaks rust, bitmap and rust developers collaborate as follows: - bitmap developers don't consider rust bindings as a blocker for the API change; - bindings maintainer (me) makes sure that kernel build doesn't break with CONFIG_RUST=y. This implies fixes in the binding layer, but not in rust codebase; - rust developers adopt new version of API in their codebase and remove unused bindings timely. CC: Danilo Krummrich <dakr@redhat.com> CC: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
1 parent 7365676 commit a300471

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4021,6 +4021,11 @@ F: tools/include/vdso/bits.h
40214021
F: tools/lib/bitmap.c
40224022
F: tools/lib/find_bit.c
40234023

4024+
BITMAP API BINDINGS [RUST]
4025+
M: Yury Norov <yury.norov@gmail.com>
4026+
S: Maintained
4027+
F: rust/helpers/cpumask.c
4028+
40244029
BITOPS API
40254030
M: Yury Norov <yury.norov@gmail.com>
40264031
R: Rasmus Villemoes <linux@rasmusvillemoes.dk>

0 commit comments

Comments
 (0)