rust/kernel/processor.rs

Source file repositories/reference/linux-study-clean/rust/kernel/processor.rs

File Facts

System
Linux kernel
Corpus path
rust/kernel/processor.rs
Extension
.rs
Size
393 bytes
Lines
15
Domain
Rust Kernel Layer
Bucket
Rust API Membrane
Inferred role
Rust Kernel Layer: implementation source
Status
source implementation candidate

Why This File Exists

Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.

Dependency Surface

Detected Declarations

Annotated Snippet

pub fn cpu_relax() {
    // SAFETY: Always safe to call.
    unsafe { bindings::cpu_relax() }
}

Annotation

Implementation Notes