glibc-kernel-headers: sysctl.h (HEAD)

Jacek Konieczny jajcus w pld.org.pl
Nie, 21 Gru 2003, 11:19:22 CET


On Sun, Dec 21, 2003 at 11:12:11AM +0100, qboosh wrote:
> Module name:	glibc-kernel-headers
> Changes by:	qboosh	03/12/21 11:12:09
> 
> Modified files:
> 	sysctl.h
> 
> Log message:
> - this is intended for use with 2.4.x too, so restored some 2.4 things...
>   (yes, some numbers have double meaning, depending on kernel - but names are unique)
> 
> Index: sysctl.h
> ===================================================================
> RCS file: /cvsroot/glibc-kernel-headers/include/linux/sysctl.h,v
> diff -d -u -r1.1.1.1 -r1.2
> --- sysctl.h	15 Dec 2003 18:46:58 -0000	1.1.1.1
> +++ sysctl.h	21 Dec 2003 10:12:08 -0000	1.2
> @@ -133,16 +133,27 @@
>  /* CTL_VM names: */
>  enum
>  {
> +	VM_SWAPCTL=1,		/* [<2.6 ONLY] struct: Set vm swapping control */
> +	VM_SWAPOUT=2,		/* [<2.6 ONLY] int: Linear or sqrt() swapout for hogs */
> +	VM_FREEPG=3,		/* [<2.6 ONLY] struct: Set free page thresholds */
> +	VM_BDFLUSH=4,		/* [<2.6 ONLY] struct: Control buffer cache flushing */
....

Jak to już trafi na HEAD w SPECS, to trzebaby cofnąć część mojego patcha
do strace (który wywalał odwołania do tych stałych). Chociaż... żeby ten
strace działał i na 2.4 i na 2.6, to trzebaby tam bardziej zamieszać.

Pozdrowienia,
        Jacek



Więcej informacji o liście dyskusyjnej pld-devel-pl