From owner-cvs-src-old@FreeBSD.ORG Thu Aug 27 15:49:15 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3C911065740 for ; Thu, 27 Aug 2009 15:49:15 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C24818FC44 for ; Thu, 27 Aug 2009 15:49:15 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7RFnFtb055826 for ; Thu, 27 Aug 2009 15:49:15 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7RFnFht055825 for cvs-src-old@freebsd.org; Thu, 27 Aug 2009 15:49:15 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200908271549.n7RFnFht055825@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 27 Aug 2009 15:48:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/vm swap_pager.c vm_pageout.c vm_pageout.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 15:49:15 -0000 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