mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Define MADV_REMOVE.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/Alpha version.
|
/* Definitions for POSIX memory map interface. Linux/Alpha version.
|
||||||
Copyright (C) 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
|
Copyright (C) 1997, 1998, 2000, 2003, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -96,6 +96,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 6 /* Don't need these pages. */
|
# define MADV_DONTNEED 6 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 7 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/i386 version.
|
/* Definitions for POSIX memory map interface. Linux/i386 version.
|
||||||
Copyright (C) 1997, 2000, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1997, 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -88,6 +88,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 5 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/ia64 version.
|
/* Definitions for POSIX memory map interface. Linux/ia64 version.
|
||||||
Copyright (C) 1997, 1998, 2000, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1997,1998,2000,2003,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -89,6 +89,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 5 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
|
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
|
||||||
Copyright (C) 1997, 2000, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1997, 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -89,6 +89,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 5 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/s390 version.
|
/* Definitions for POSIX memory map interface. Linux/s390 version.
|
||||||
Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 2000,2001,2002,2003,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -89,6 +89,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 5 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/SH version.
|
/* Definitions for POSIX memory map interface. Linux/SH version.
|
||||||
Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1997,1999,2000,2003,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -88,6 +88,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 5 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/SPARC version.
|
/* Definitions for POSIX memory map interface. Linux/SPARC version.
|
||||||
Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1997,1999,2000,2003,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -90,6 +90,8 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_FREE 5 /* Content can be freed (Solaris). */
|
||||||
|
# define MADV_REMOVE 6 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/x86_64 version.
|
/* Definitions for POSIX memory map interface. Linux/x86_64 version.
|
||||||
Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -89,6 +89,7 @@
|
|||||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||||
|
# define MADV_REMOVE 5 /* Remove these pages and resources. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The POSIX people had to invent similar names for the same things. */
|
/* The POSIX people had to invent similar names for the same things. */
|
||||||
|
Reference in New Issue
Block a user