Date: Thu, 27 Aug 2009 15:48:58 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm swap_pager.c vm_pageout.c vm_pageout.h Message-ID: <200908271549.n7RFnFht055825@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-08-27 15:48:58 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/vm swap_pager.c vm_pageout.c vm_pageout.h
Log:
SVN rev 196590 on 2009-08-27 15:48:58Z by jhb
MFC 181019, 183474, 191277, and 191626:
- Move the code for doing out-of-memory grass from vm_pageout_scan()
into the separate function vm_pageout_oom(). Supply a parameter for
vm_pageout_oom() describing a reason for the call.
- Call vm_pageout_oom() from the swp_pager_meta_build() when swap zone
is exhausted.
- In both pageout oom handler and vm_daemon, acquire the reference to
the vmspace of the examined process instead of directly accessing its
vmspace, that may change. Also, as an optimization, check for P_INEXEC
flag before examining the process.
Revision Changes Path
1.295.2.3 +5 -2 src/sys/vm/swap_pager.c
1.292.2.7 +97 -75 src/sys/vm/vm_pageout.c
1.41.10.2 +4 -0 src/sys/vm/vm_pageout.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908271549.n7RFnFht055825>
