This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Implement the mlock2 function
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 24 Nov 2017 17:02:12 +0000
- Subject: Re: [PATCH] Implement the mlock2 function
- Authentication-results: sourceware.org; auth=none
- References: <20171124165936.9CEC94071C775@oldenburg.str.redhat.com>
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.
--
Joseph S. Myers
joseph@codesourcery.com