mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
Kernel: Tidy up debug logging a little bit
When using dbg() in the kernel, the output is automatically prefixed with [Process(PID:TID)]. This makes it a lot easier to understand which thread is generating the output. This patch also cleans up some common logging messages and removes the now-unnecessary "dbg() << *current << ..." pattern.
This commit is contained in:
@@ -570,7 +570,7 @@ bool MemoryManager::validate_range(const Process& process, VirtualAddress base_v
|
||||
VirtualAddress vaddr = base_vaddr.page_base();
|
||||
VirtualAddress end_vaddr = base_vaddr.offset(size - 1).page_base();
|
||||
if (end_vaddr < vaddr) {
|
||||
dbg() << *current << " Shenanigans! Asked to validate " << base_vaddr << " size=" << size;
|
||||
dbg() << "Shenanigans! Asked to validate " << base_vaddr << " size=" << size;
|
||||
return false;
|
||||
}
|
||||
const Region* region = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user