diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-18 09:55:14 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-27 13:17:25 +0200 |
commit | 4536148b15595229d0563fb60913b23cb78788ed (patch) | |
tree | a59197c39e82d2d16e78ed85940e18227c4105b5 /build-aux/m4/ax_boost_thread.m4 | |
parent | f4d1fc259b5a62580d952c180b1189ccaa6af1bc (diff) |
support: Add LockedPool
Add a pool for locked memory chunks, replacing LockedPageManager.
This is something I've been wanting to do for a long time. The current
approach of locking objects where they happen to be on the stack or heap
in-place causes a lot of mlock/munlock system call overhead, slowing
down any handling of keys.
Also locked memory is a limited resource on many operating systems (and
using a lot of it bogs down the system), so the previous approach of
locking every page that may contain any key information (but also other
information) is wasteful.
Diffstat (limited to 'build-aux/m4/ax_boost_thread.m4')
0 files changed, 0 insertions, 0 deletions