add config option to disable sanity checks for faster execution
This commit is contained in:
@@ -113,7 +113,9 @@ RUNQ_remove_current_process(void)
|
||||
cp = cp->next;
|
||||
}
|
||||
|
||||
#if SANITY_CHECK_ENABLED == 1
|
||||
KERNEL_sanity_check_memory_lists();
|
||||
#endif
|
||||
|
||||
if ((cp == starting_page) || (!cp))
|
||||
break;
|
||||
@@ -242,7 +244,9 @@ page_replacement_resolved:
|
||||
#endif
|
||||
}
|
||||
|
||||
#if SANITY_CHECK_ENABLED == 1
|
||||
KERNEL_sanity_check_memory_lists();
|
||||
#endif
|
||||
}
|
||||
|
||||
void KERNEL_update_job(size_t page_amount)
|
||||
|
||||
Reference in New Issue
Block a user