This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-802-g922bb78


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  922bb78c0c074aaeaa9f0312195b717674ed7430 (commit)
      from  a3aaa59816881c909249b68881e788152d753345 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=922bb78c0c074aaeaa9f0312195b717674ed7430

commit 922bb78c0c074aaeaa9f0312195b717674ed7430
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 21 22:21:23 2017 +0000

    Update hppa bits/mman.h from Linux 4.14.
    
    This patch updates the hppa bits/mman.h based on Linux 4.14.  Some
    MADV_* macros are removed in Linux 4.14 as unused/unimplemented, so
    this patch removes them from glibc, while adding two new macros added
    in Linux 4.14.
    
    Tested (compilation only) for hppa with build-many-glibcs.py.
    
    	* sysdeps/unix/sysv/linux/hppa/bits/mman.h
    	[__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
    	[__USE_MISC] (MADV_VPS_PURGE): Likewise.
    	[__USE_MISC] (MADV_VPS_INHERIT): Likewise.
    	[__USE_MISC] (MADV_HWPOISON): New macro.
    	[__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.

diff --git a/ChangeLog b/ChangeLog
index c72be0c..720f78f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-11-21  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/hppa/bits/mman.h
+	[__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
+	[__USE_MISC] (MADV_VPS_PURGE): Likewise.
+	[__USE_MISC] (MADV_VPS_INHERIT): Likewise.
+	[__USE_MISC] (MADV_HWPOISON): New macro.
+	[__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
+
 2017-11-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index 4ad9153..2aaca01 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -85,9 +85,6 @@
 # define MADV_SEQUENTIAL  2	/* Expect sequential page references */
 # define MADV_WILLNEED	  3	/* Will need these pages */
 # define MADV_DONTNEED	  4	/* Dont need these pages */
-# define MADV_SPACEAVAIL  5	/* Insure that resources are reserved */
-# define MADV_VPS_PURGE	  6	/* Purge pages from VM page cache */
-# define MADV_VPS_INHERIT 7	/* Inherit parents page size */
 # define MADV_FREE	  8	/* Free pages only if memory pressure.  */
 # define MADV_REMOVE	  9	/* Remove these pages and resources.  */
 # define MADV_DONTFORK	 10	/* Do not inherit across fork.  */
@@ -101,6 +98,8 @@
 # define MADV_DODUMP	 70	/* Clear the MADV_NODUMP flag */
 # define MADV_WIPEONFORK 71	/* Zero memory on fork, child only.  */
 # define MADV_KEEPONFORK 72	/* Undo MADV_WIPEONFORK.  */
+# define MADV_HWPOISON	 100	/* Poison a page for testing.  */
+# define MADV_SOFT_OFFLINE 101	/* Soft offline page for testing.  */
 #endif
 
 /* The POSIX people had to invent similar names for the same things.  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                |    9 +++++++++
 sysdeps/unix/sysv/linux/hppa/bits/mman.h |    5 ++---
 2 files changed, 11 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]