Kernel: kmalloc does not dump stack trace

dump_stack_trace() page faults and i dont feel like debugging this
now :)
This commit is contained in:
Bananymous
2023-04-21 13:45:13 +03:00
parent fc71d2f7c4
commit 26fe6ad898
2 changed files with 3 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ no_memory:
dwarnln("could not allocate {H} bytes ({} aligned)", size, align);
dwarnln(" {6H} free (fixed)", s_kmalloc_fixed_info.free);
dwarnln(" {6H} free", s_kmalloc_info.free);
Debug::dump_stack_trace();
//Debug::dump_stack_trace();
ASSERT(!is_corrupted());
return nullptr;