From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86326 invoked by alias); 24 Nov 2017 17:02:19 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 86314 invoked by uid 89); 24 Nov 2017 17:02:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=no version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 24 Nov 2017 17:02:00 -0000 From: Joseph Myers To: Florian Weimer CC: Subject: Re: [PATCH] Implement the mlock2 function In-Reply-To: <20171124165936.9CEC94071C775@oldenburg.str.redhat.com> Message-ID: References: <20171124165936.9CEC94071C775@oldenburg.str.redhat.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) X-SW-Source: 2017-11/txt/msg00880.txt.bz2 On Fri, 24 Nov 2017, Florian Weimer wrote: > Fallback using mlock is provided if the flags argument is zero. > > 2017-11-24 Florian Weimer > > * 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