You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our kernel::types::ScopeGuard API is slightly different with the to-be-stable version. We should create a new type kernel::mem::DropGuard which matches the upstream API and implementation, and migrate the users over. This would allow us to replace it with pub use core::mem::DropGuard; when our MSRV is bumped high enough.
This requires introducing the new type, convert users, and then remove the old API, likely over multiple kernel release cycles (thus marking the issue as medium difficulty).
NOTE: kernel::mem exists in linux-next but not yet in rust-next, so you should choose target branch carefully. Please do not work on this task until the linked upstream PR is merged.
This requires submitting a proper patch to the LKML and the Rust for Linux mailing list. Please recall to test your changes (including generating the documentation if changed, running the Rust doctests if changed, etc.), to justify the commit well in the message ("what" & "why"), to use a proper title for the commit, to sign your commit under the Developer's Certificate of Origin and to add a Suggested-by: tag, and a Link: tag to this issue. Please see https://docs.kernel.org/process/submitting-patches.html and https://rust-for-linux.com/contributing for details.
Hello, you did'nt send the patch properly so they won't review it.
Please cc all the maintainers/reviewers of the modules you made the change in. Also, split the patch on each module into it's own patch and send it as a series instead of a single patch covering all 5 modules.
I'll attach a link to the documentation if you find it helpful. https://docs.kernel.org/process/submitting-patches.html https://docs.kernel.org/process/submit-checklist.html
Hello, you did'nt send the patch properly so they won't review it. Please cc all the maintainers/reviewers of the modules you made the change in. Also, split the patch on each module into it's own patch and send it as a series instead of a single patch covering all 5 modules. I'll attach a link to the documentation if you find it helpful. https://docs.kernel.org/process/submitting-patches.htmlhttps://docs.kernel.org/process/submit-checklist.html
Activity
moosama76 commentedon Sep 13, 2026
I will work on this
moosama76 commentedon Sep 16, 2026
I sent a patch https://lore.kernel.org/rust-for-linux/20260916100937.541933-1-mohamed.osama189110@gmail.com/
Sagartaunk commentedon Sep 26, 2026
Hello, you did'nt send the patch properly so they won't review it.
Please cc all the maintainers/reviewers of the modules you made the change in. Also, split the patch on each module into it's own patch and send it as a series instead of a single patch covering all 5 modules.
I'll attach a link to the documentation if you find it helpful.
https://docs.kernel.org/process/submitting-patches.html
https://docs.kernel.org/process/submit-checklist.html
moosama76 commentedon Sep 26, 2026
thank you so much!