aboutsummaryrefslogtreecommitdiff
path: root/src/support/pagelocker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* support: Add LockedPoolWladimir J. van der Laan2016-10-271-70/+0
| | | | | | | | | | | | | | 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.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* allocators: split allocators and pagelockerCory Fields2015-03-201-0/+70
Pagelocker is only needed for secure (usually wallet) operations, so don't make the zero-after-free allocator depend on it.