diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-10 03:32:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-10 03:32:19 +0100 |
commit | cfafc1a905f11da2b856aecea02b8c7e1f95e5dd (patch) | |
tree | 3042743b607d790617051c3e27cb97cb437533ee /hurd | |
parent | b11e2e666ce3e1a8ad167c82bfc1fc9b820f97f3 (diff) |
Fix mach-defpager's kalloc values
* mach-defpager/kalloc.c (MINSIZE): Set to sizeof(vm_offset_t) instead
of hardcoded 4.
(kalloc_init): Set kalloc_max to MINSIZE << (KLIST_MAX-1) instead of
hardcoded 16384.
(kalloc, kfree): Use the cache for the maximum size too.
Diffstat (limited to 'hurd')
0 files changed, 0 insertions, 0 deletions