Skip to content

Commit

Permalink
[Kernel] SMI can be disabled during kheap unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
codyd51 committed Jan 17, 2023
1 parent 6d2f4ef commit e7c8973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/std/kheap.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int liballoc_lock() {
}

int liballoc_unlock() {
assert(!interrupts_enabled(), "Interrupts enabled during spinlock");
//assert(!interrupts_enabled(), "Interrupts enabled during spinlock");
spinlock_release(&_heap_lock);
//printf("Released heap spinlock (int? %d)\n", interrupts_enabled());
return 0;
Expand Down

0 comments on commit e7c8973

Please sign in to comment.