mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Kernel: Increase kmalloc chunk size from 8 bytes to 32 bytes
This gives a huge speedup when running "git status" in a SerenityOS repository directory. Most of the time was spent allocating strings.
This commit is contained in:
@@ -47,7 +47,7 @@ struct [[gnu::packed]] allocation_t
|
||||
};
|
||||
|
||||
#define BASE_PHYSICAL (0xc0000000 + (4 * MB))
|
||||
#define CHUNK_SIZE 8
|
||||
#define CHUNK_SIZE 32
|
||||
#define POOL_SIZE (3 * MB)
|
||||
|
||||
#define ETERNAL_BASE_PHYSICAL (0xc0000000 + (2 * MB))
|
||||
|
||||
Reference in New Issue
Block a user