1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

Kernel: Shrink kmalloc() chunk size from 128 to 64.

This sacrifices some speed for more space. I don't want to work on a new
allocator right this moment, so this buys me some time.
This commit is contained in:
Andreas Kling 2019-02-17 13:41:15 +01:00
parent 0730b3c15f
commit e241f3a801

View file

@ -19,7 +19,7 @@ struct [[gnu::packed]] allocation_t {
dword nchunk;
};
#define CHUNK_SIZE 128
#define CHUNK_SIZE 64
#define POOL_SIZE (1024 * 1024)
#define ETERNAL_BASE_PHYSICAL 0x100000