2 ms·
You deal with this in a Rust kernel in exactly the same way you deal with it in a C kernel: by using different APIs for allocation. Linux doesn't use malloc; a
by Rusky 7y ago
You deal with this in a Rust kernel in exactly the same way you deal with it in a C kernel: by using different APIs for allocation.
Linux doesn't use malloc; a Rust kernel need not use Box::new either.