Date: Fri, 19 Mar 2010 22:39:27 +0000 (UTC) From: Attilio Rao <attilio@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: <201003192239.o2JMddSc090761@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2010-03-19 22:39:27 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/vm swap_pager.c vm_pageout.c vm_pageout.h
Log:
SVN rev 205349 on 2010-03-19 22:39:27Z by attilio
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.
Sponsored by: Sandvine Incorporated
Reviewed by: emaste
Revision Changes Path
1.273.2.7 +6 -3 src/sys/vm/swap_pager.c
1.268.2.7 +95 -73 src/sys/vm/vm_pageout.c
1.41.2.1 +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?201003192239.o2JMddSc090761>
