summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_methods.c
diff options
context:
space:
mode:
authorotto <>2021-02-25 15:20:18 +0000
committerotto <>2021-02-25 15:20:18 +0000
commit052d36f8658e248c066384b08c925f65e7074586 (patch)
tree1e53fb8f01e90fb2daabd5c89841f55313e700eb /src/lib/libssl/ssl_methods.c
parent910a95795c037d1a190eb07c6d86f56bb9eab77f (diff)
downloadopenbsd-052d36f8658e248c066384b08c925f65e7074586.tar.gz
openbsd-052d36f8658e248c066384b08c925f65e7074586.tar.bz2
openbsd-052d36f8658e248c066384b08c925f65e7074586.zip
- Make use of the fact that we know how the chunks are aligned, and
write 8 bytes at the time by using a uint64_t pointer. For an allocation a max of 4 such uint64_t's are written spread over the allocation. For pages sized and larger, the first page is junked in such a way. - Delayed free of a small chunk checks the corresponiding way. - Pages ending up in the cache are validated upon unmapping or re-use. In snaps for a while
Diffstat (limited to 'src/lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions