1
Fork 0
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:
Andreas Kling 2019-01-12 23:23:35 +01:00
parent 2e2d883c09
commit 3ac977f50b
4 changed files with 20 additions and 4 deletions

View file

@ -90,7 +90,7 @@ void* kmalloc_page_aligned(size_t size)
return ptr;
}
void* kmalloc(dword size)
void* kmalloc_impl(dword size)
{
InterruptDisabler disabler;