summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/paste.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-04-07 11:07:56 +0000
committerdlg <dlg@openbsd.org>2015-04-07 11:07:56 +0000
commit786f6c84e747ccb9777ad35d2b01160679aec089 (patch)
treee07b6cf2f0655a83a9d39c3f2bb6cfe63c6e99fe /usr.bin/tmux/paste.c
parentDo not pass an `ifp' argument to interface input handlers since it (diff)
downloadwireguard-openbsd-786f6c84e747ccb9777ad35d2b01160679aec089.tar.xz
wireguard-openbsd-786f6c84e747ccb9777ad35d2b01160679aec089.zip
introduce a garbage collector for (very) idle pool pages.
now that idle pool pages are timestamped we can tell how long theyve been idle. this adds a task that runs every second that iterates over all the pools looking for pages that have been idle for 8 seconds so it can free them. this idea probably came from a conversation with tedu@ months ago. ok tedu@ kettenis@
Diffstat (limited to 'usr.bin/tmux/paste.c')
0 files changed, 0 insertions, 0 deletions