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
commit e241f3a801
Notes: sideshowbarker 2024-07-19 15:40:38 +09:00

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