Commit 8e0db2ca authored by Nils Goroll's avatar Nils Goroll

bring back mlock() of vsm mappings

It got lost during the new world order megacommit
74328de8
parent 23c08c16
......@@ -181,6 +181,7 @@ VSMW_Allocv(struct vsmw *vsmw, const char *class, size_t len,
AZ(close(fd));
assert(seg->ptr != MAP_FAILED);
(void)mlock(seg->ptr, len);
VTAILQ_INSERT_TAIL(&vsmw->segs, seg, list);
fd = openat(vsmw->vdirfd, vsmw->idx, O_APPEND | O_WRONLY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment