mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 10:14:58 +00:00
Use a freelist for GDT entries.
Tweak the kmalloc space layout a bit. Get the spawn stress test up and running again.
This commit is contained in:
parent
9da4864a9a
commit
c70afd045e
6 changed files with 40 additions and 21 deletions
|
@ -22,9 +22,9 @@ typedef struct
|
|||
#define CHUNK_SIZE 128
|
||||
#define POOL_SIZE (1024 * 1024)
|
||||
|
||||
#define PAGE_ALIGNED_BASE_PHYSICAL 0x380000
|
||||
#define ETERNAL_BASE_PHYSICAL 0x300000
|
||||
#define BASE_PHYS 0x200000
|
||||
#define PAGE_ALIGNED_BASE_PHYSICAL 0x300000
|
||||
#define ETERNAL_BASE_PHYSICAL 0x200000
|
||||
#define BASE_PHYS 0x100000
|
||||
|
||||
PRIVATE BYTE alloc_map[POOL_SIZE / CHUNK_SIZE / 8];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue