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

This commit is contained in:
Jeremy Soller
2016-09-14 20:47:55 -06:00
parent 932026fed8
commit 1acb84afbb

View File

@@ -79,6 +79,7 @@ pub fn clone(flags: usize, stack_base: usize) -> Result<usize> {
stack.start_address().get() as *const u8,
stack.size());
}
new_stack.unmap(true);
stack_option = Some(new_stack);
}
}