ehlo.

> You want to submit a patch?  If not I can take a look at it,
> but it's been a bit since I've looked at the vm system.

  except for sysctl, the patch is quite simple due to the fact
  that histeresis is already implemented in swap_pager.c, something
  like:

============================================
diff vm/swap_pager.c vm.new/swap_pager.c
217a218,219
>         struct proc* p;
>   
218a221,225
>                 /* warn all processes */
>                 for( p = allproc.lh_first; p != 0; p = p->p_list.le_next ) 
>                 {
>                   psignal(p,SIGDANGER);
>                 }
============================================

============================================
diff sys/signal.h sys.new/signal.h
105a106,109
> #ifndef _POSIX_SOURCE
> #define SIGDANGER       32      /* close to out-of-memory */
> #endif
> 
============================================

============================================
diff kern/kern_sig.c kern.new/kern_sig.c
165a166
>         SA_IGNORE               /* SIGDANGER */
============================================

-- 
dozen @ home

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to