Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ frame_dealloc
Function
frame_dealloc
os/src/mm/frame_allocator.rs:107–109 ·
view source on GitHub ↗
(ppn: PhysPageNum)
Source
from the content-addressed store, hash-verified
105
}
106
107
pub fn frame_dealloc(ppn: PhysPageNum) {
108
FRAME_ALLOCATOR.exclusive_access().dealloc(ppn);
109
}
110
111
#[allow(unused)]
112
pub fn frame_allocator_test() {
Callers
2
dma_dealloc
Method · 0.85
drop
Method · 0.85
Calls
2
exclusive_access
Method · 0.80
dealloc
Method · 0.45
Tested by
no test coverage detected