Date: Fri, 30 Apr 2010 21:21:21 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r207451 - head/sys/vm Message-ID: <201004302121.o3ULLL9I083465@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Fri Apr 30 21:21:21 2010 New Revision: 207451 URL: http://svn.freebsd.org/changeset/base/207451 Log: don't call vm_pageout_flush with the page queue mutex held Reported by: Michael Butler Modified: head/sys/vm/vm_object.c Modified: head/sys/vm/vm_object.c ============================================================================== --- head/sys/vm/vm_object.c Fri Apr 30 21:20:14 2010 (r207450) +++ head/sys/vm/vm_object.c Fri Apr 30 21:21:21 2010 (r207451) @@ -1058,7 +1058,9 @@ vm_object_page_collect_flush(vm_object_t } runlen = maxb + maxf + 1; + vm_page_unlock_queues(); vm_pageout_flush(ma, runlen, pagerflags); + vm_page_lock_queues(); for (i = 0; i < runlen; i++) { if (ma[i]->dirty) { vm_page_unlock_queues();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004302121.o3ULLL9I083465>