[PATCH] Implement the mlock2 function

Florian Weimer fweimer@redhat.com
Fri Nov 24 17:09:00 GMT 2017


On 11/24/2017 06:02 PM, Joseph Myers wrote:
> On Fri, 24 Nov 2017, Florian Weimer wrote:
> 
>> Fallback using mlock is provided if the flags argument is zero.
>>
>> 2017-11-24  Florian Weimer  <fweimer@redhat.com>
>>
>> 	* sysdeps/unix/sysv/linux/mlock2.c: New file.
>> 	* sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
>> 	* sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
>> 	(tests): Add tst-mlock2.
>> 	* sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
>> 	* sysdeps/unix/sysv/linux/libc**.abilist: Update.
>> 	* manual/memory.texi (Page Lock Functions): Move @end deftypefun
>> 	for mlock.  Document mlock2.
> 
> The ChangeLog entry is missing the kernel-features.h change.
> 
> The patch is missing a NEWS update.

Thanks, I've fixed those locally.

Florian



More information about the Libc-alpha mailing list