diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-11 16:25:59 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-11-22 19:05:44 +0100 |
commit | 794a4eefa11f3166404d91edddd0f4f19458f652 (patch) | |
tree | 915c139b02ab72ce79622c3c855e6c72af872c4d /lib/locking.h | |
parent | 4f3fa1623f66acd24c227cf0cc5a4af2f5133b6c (diff) |
Keeping un-unmmappable pages until they can be reused
On Linux, munmap() may fail with ENOMEM when virtual memory is too
fragmented. Working this around by just keeping such blocks for future
use.
Diffstat (limited to 'lib/locking.h')
-rw-r--r-- | lib/locking.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/locking.h b/lib/locking.h index 0a69f50f..1a8bdcd4 100644 --- a/lib/locking.h +++ b/lib/locking.h @@ -19,6 +19,7 @@ struct lock_order { struct domain_generic *attrs; struct domain_generic *cork; struct domain_generic *event; + struct domain_generic *resource; }; extern _Thread_local struct lock_order locking_stack; |