Marin Ramesa, le Wed 13 Nov 2013 16:40:40 +0100, a écrit :
> * vm/vm_fault.c: Qualify constant with const.

Mmm, one could want to change it dynamically.

> ---
>  vm/vm_fault.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/vm/vm_fault.c b/vm/vm_fault.c
> index 7e84961..ae34d91 100644
> --- a/vm/vm_fault.c
> +++ b/vm/vm_fault.c
> @@ -86,7 +86,7 @@ typedef struct vm_fault_state {
>  
>  struct kmem_cache    vm_fault_state_cache;
>  
> -int          vm_object_absent_max = 50;
> +const int    vm_object_absent_max = 50;
>  
>  int          vm_fault_debug = 0;
>  
> -- 
> 1.8.1.4
> 
> 

-- 
Samuel
<m> argh, pi est plus grand que 2. Ca casse tout
 -+- #ens-mim -+-

Reply via email to