Project

General

Profile

Actions

Bug #1921

open

we miss mlockall

Added by alexh about 14 years ago. Updated almost 2 years ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Category:
VM subsystem
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We don't have the mlockall/munlockall syscalls as documented in [1]. We have at
least one tool in base that would benefit from it: cryptsetup. Hopefully someone
more familiar with the VM system can implement it without much effort as we
already have mlock/munlock.

Cheers,
Alex Hornung

[1]: http://opengroup.org/onlinepubs/007908799/xsh/mlockall.html

Actions #1

Updated by tuxillo over 2 years ago

  • Description updated (diff)
  • Category set to VM subsystem
  • Status changed from New to In Progress
  • Assignee changed from 0 to tuxillo
  • Priority changed from Low to Normal

We do have mlockall(2) but only MCL_FUTURE is currently supported. MCL_CURRENT still needs work to be done.

Actions #2

Updated by tuxillo over 2 years ago

Initial work commited in c936cb6f

Actions #3

Updated by tuxillo over 2 years ago

Still pending of doing the the rlimit work, this is a reminder to myself.

Actions #4

Updated by tuxillo almost 2 years ago

  • Priority changed from Normal to High
Actions #5

Updated by tuxillo almost 2 years ago

  • Priority changed from High to Urgent

Ignore this comment.

Actions

Also available in: Atom PDF