mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:55:07 +00:00
Paper over a race in DoubleBuffer.
I'm still somewhat okay throwing InterruptDisabler at races as they screw me. Eventually I'm gonna have to devise a different strategy though.
This commit is contained in:
parent
2e2d883c09
commit
3ac977f50b
4 changed files with 20 additions and 4 deletions
|
@ -90,7 +90,7 @@ void* kmalloc_page_aligned(size_t size)
|
|||
return ptr;
|
||||
}
|
||||
|
||||
void* kmalloc(dword size)
|
||||
void* kmalloc_impl(dword size)
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue