Patch to protect process from pageout killing

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Mar 29 14:02:45 PST 2003


In message <200303280910.32307.wes at softweyr.com>, Wes Peters writes:

>I've reworked my patch to use the madvise(2) syscall, like the original 
>4.x patch did.  I've even documented it, in a man page of all places.  
>Please see attached patch.  If nobody objects, I'll commit sometime this 
>weekend.

I'm still not certain about the inheritance of this, do we want/is it
inherited ?

Also, thinking about it, on at least a handful of machines I would
have more use for MADV_KILLMEFIRST having the exact opposite
behaviour.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list