aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-18 09:55:14 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-27 13:17:25 +0200
commit4536148b15595229d0563fb60913b23cb78788ed (patch)
treea59197c39e82d2d16e78ed85940e18227c4105b5 /src/ui_interface.cpp
parentf4d1fc259b5a62580d952c180b1189ccaa6af1bc (diff)
downloadbitcoin-4536148b15595229d0563fb60913b23cb78788ed.tar.xz
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 'src/ui_interface.cpp')
0 files changed, 0 insertions, 0 deletions