diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-30 23:57:14 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-12-01 13:00:54 +0100 |
commit | bb63e99d7877023667edaf26495dd657ec2fd57b (patch) | |
tree | 3ae919a00541c27c8f661addb56c6d4ef681d361 /sysdep/unix/io.c | |
parent | 385b3ea3956aefc2868cdd838fc0a90f1d8a7857 (diff) |
Page allocator moved from pools to IO loops.
The resource pool system is highly hierarchical and keeping spare pages
in pools leads to unnecessarily complex memory management.
Loops have a flat hiearchy, at least for now, and it is therefore much
easier to keep care of pages, especially in cases of excessive virtual memory
fragmentation.
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 91d717d0..eee7b586 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2216,9 +2216,6 @@ io_loop(void) timers_fire(&main_birdloop.time, 1); io_close_event(); - /* Try to release some memory if possible */ - check_stored_pages(); - // FIXME poll_tout = (events ? 0 : 3000); /* Time in milliseconds */ if (t = timers_first(&main_birdloop.time)) |