kevacoin/src/support
Wladimir J. van der Laan 4536148b15 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.
2016-10-27 13:17:25 +02:00
..
allocators support: Add LockedPool 2016-10-27 13:17:25 +02:00
cleanse.cpp openssl: abstract out OPENSSL_cleanse 2015-02-15 11:34:02 -05:00
cleanse.h openssl: abstract out OPENSSL_cleanse 2015-02-15 11:34:02 -05:00
lockedpool.cpp support: Add LockedPool 2016-10-27 13:17:25 +02:00
lockedpool.h support: Add LockedPool 2016-10-27 13:17:25 +02:00