1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00

Kernel: Remove MM_DEBUG debug spam code

This was too spammy to ever actually be used anyway.
This commit is contained in:
Andreas Kling 2021-01-11 22:08:50 +01:00
parent 7c4ddecacb
commit f7435dd95f
6 changed files with 1 additions and 77 deletions

View file

@ -57,7 +57,6 @@
//#define DEBUG_IO
//#define DEBUG_POLL_SELECT
//#define MM_DEBUG
//#define PROCESS_DEBUG
//#define SIGNAL_DEBUG
@ -359,9 +358,6 @@ Process::Process(RefPtr<Thread>& first_thread, const String& name, uid_t uid, gi
#endif
m_page_directory = PageDirectory::create_for_userspace(*this, fork_parent ? &fork_parent->page_directory().range_allocator() : nullptr);
#ifdef MM_DEBUG
dbg() << "Process " << pid().value() << " ctor: PD=" << m_page_directory.ptr() << " created";
#endif
if (fork_parent) {
// NOTE: fork() doesn't clone all threads; the thread that called fork() becomes the only thread in the new process.