Skip to content
Snippets Groups Projects
Commit 1acb84af authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Higher-half kernel mapping. Unmap where possible, freeing up lower memory

parent 932026fe
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,7 @@ pub fn clone(flags: usize, stack_base: usize) -> Result<usize> { ...@@ -79,6 +79,7 @@ pub fn clone(flags: usize, stack_base: usize) -> Result<usize> {
stack.start_address().get() as *const u8, stack.start_address().get() as *const u8,
stack.size()); stack.size());
} }
new_stack.unmap(true);
stack_option = Some(new_stack); stack_option = Some(new_stack);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment