# \[PATCH V6 2/6\] mm: mlock: Add new mlock system call

- From: Vlastimil Babka \<hidden\>
- Date: 2015-08-06 14:00:48 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/08/4552405
- Thread: https://ratatoskr.run/linux-alpha/2015/07/4546018/t.md

```text
On 07/29/2015 05:42 PM, Eric B Munson wrote:
> With the refactored mlock code, introduce a new system call for mlock.
> The new call will allow the user to specify what lock states are being
> added.  mlock2 is trivial at the moment, but a follow on patch will add
> a new mlock state making it useful.
>
> Signed-off-by: Eric B Munson <redacted>
> Cc: Michal Hocko <redacted>
> Cc: Vlastimil Babka <redacted>

Acked-by: Vlastimil Babka <redacted>
```
