cvs commit: src/sys/vm vm_map.c vm_map.h vm_pageout.c

[ Available lists | Index of cvs-src | Month of Mar 2003 | Week of 12 Mar 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
David Schultz <das@FreeBSD.org>
Date
12 Mar 2003 15:13:19
Subject
cvs commit: src/sys/vm vm_map.c vm_map.h vm_pageout.c
Message-ID
200303122313.h2CNDHMU046431@repoman.freebsd.org


[ Hide this part ]
das         2003/03/12 15:13:16 PST

FreeBSD src repository

Modified files:
sys/vm vm_map.c vm_map.h vm_pageout.c
Log:
- When the VM daemon is out of swap space and looking for a
process to kill, don't block on a map lock while holding the
process lock. Instead, skip processes whose map locks are held
and find something else to kill.
- Add vm_map_trylock_read() to support the above.

Reviewed by: alc, mike (mentor)

Revision Changes Path
1.287 +13 -2 src/sys/vm/vm_map.c
1.97 +3 -0 src/sys/vm/vm_map.h
1.227 +7 -2 src/sys/vm/vm_pageout.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message



Elapsed time: 0.233 seconds