diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-24 16:10:59 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-25 09:52:28 +0200 |
commit | ce7495b49a5192b1cba17fd88cdb2495a40824e2 (patch) | |
tree | 005901ea2c816483fd1e195a066b0685f8c4d7b9 /sysdep/unix/alloc.c | |
parent | 19e79eb8adddb6194248974443b9a906f66984ce (diff) |
Refactoring of domains connected to pools
Diffstat (limited to 'sysdep/unix/alloc.c')
-rw-r--r-- | sysdep/unix/alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/alloc.c b/sysdep/unix/alloc.c index cafcc8dd..1b951da2 100644 --- a/sysdep/unix/alloc.c +++ b/sysdep/unix/alloc.c @@ -318,7 +318,8 @@ resource_sys_init(void) /* We assume that page size has only one bit and is between 1K and 256K (incl.). * Otherwise, the assumptions in lib/slab.c (sl_head's num_full range) aren't met. */ - empty_pages_domain = DOMAIN_NEW(resource, "Empty Pages"); + empty_pages_domain = DOMAIN_NEW(resource); + DOMAIN_SETUP(resource, empty_pages_domain, "Empty Pages", NULL); initialized = 1; return; } |