mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
vmmcache: run writer thread every 15 seconds
This commit is contained in:
@@ -19,7 +19,6 @@ Astral is a 64 bit operating system with its own kernel written in C for the x86
|
|||||||
|
|
||||||
- TCP
|
- TCP
|
||||||
- Fat32
|
- Fat32
|
||||||
- Disk Caching
|
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include <kernel/poll.h>
|
#include <kernel/poll.h>
|
||||||
|
|
||||||
#define TABLE_SIZE 4096
|
#define TABLE_SIZE 4096
|
||||||
#define WRITER_TICK_SECONDS 1
|
#define WRITER_TICK_SECONDS 15
|
||||||
|
|
||||||
static mutex_t mutex;
|
static mutex_t mutex;
|
||||||
static page_t **table;
|
static page_t **table;
|
||||||
|
|||||||
Reference in New Issue
Block a user