diff options
author | 2016-04-12 16:47:33 +0000 | |
---|---|---|
committer | 2016-04-12 16:47:33 +0000 | |
commit | c652bc87b34e917a889b57085fc3b358d9f82e92 (patch) | |
tree | 827c34d89a606798bf798978b67d6486b6d6b2a5 /lib/libc | |
parent | No need to rescan chunks in each discipline to find appropriate (diff) | |
download | wireguard-openbsd-c652bc87b34e917a889b57085fc3b358d9f82e92.tar.xz wireguard-openbsd-c652bc87b34e917a889b57085fc3b358d9f82e92.zip |
Simplify amap traversal in amap_swap_off.
There's no need to insert marker elements to find the next item in the
amap list. The next amap can be determined by looking at the currently
examined amap.
Care must be taken to get the next element before the current amap is
possibly deleted, and after all the current amap's pages were read in
from swap (because the page-in may sleep and remove items from the amap
list).
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions