mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +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
Notes:
sideshowbarker
2024-07-19 18:34:40 +09:00
Author: https://github.com/awesomekling
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