mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:08:12 +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:
parent
fc5ebe2a50
commit
ba83bf8a0d
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue