Kernel: Run the sync daemon once every second.

This is obviously not a final design, but 10 seconds was way too long.
This commit is contained in:
Andreas Kling 2019-02-17 15:18:20 +01:00
commit d4973842c9
Notes: sideshowbarker 2024-07-19 15:40:30 +09:00

View file

@ -160,7 +160,7 @@ VFS* vfs;
Process::create_kernel_process("syncd", [] {
for (;;) {
Syscall::sync();
sleep(10 * TICKS_PER_SECOND);
sleep(1 * TICKS_PER_SECOND);
}
});
Process::create_kernel_process("Finalizer", [] {