diff options
author | Wedson Almeida Filho <walmeida@microsoft.com> | 2024-10-22 23:31:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-05 05:33:41 +0100 |
commit | 7f15c46a57c31956591f85b713d7e63cccb25556 (patch) | |
tree | bb39a042e3deec7f4d2f3c17f45e52186ced2ccc /rust/kernel/prelude.rs | |
parent | 77e83550465900ab8454eeb9183df5927f30c599 (diff) |
rust: introduce `InPlaceModule`
This allows modules to be initialised in-place in pinned memory, which
enables the usage of pinned types (e.g., mutexes, spinlocks, driver
registrations, etc.) in modules without any extra allocations.
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20241022213221.2383-3-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/prelude.rs')
0 files changed, 0 insertions, 0 deletions