From owner-svn-src-head@FreeBSD.ORG Fri May 7 18:57:26 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3A36106567A; Fri, 7 May 2010 18:57:26 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [69.147.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id 93D1E8FC21; Fri, 7 May 2010 18:57:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o47IvQkl081846; Fri, 7 May 2010 18:57:26 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o47IvQpG081844; Fri, 7 May 2010 18:57:26 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201005071857.o47IvQpG081844@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 7 May 2010 18:57:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207752 - head/sys/vm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2010 18:57:26 -0000 Author: kib Date: Fri May 7 18:57:26 2010 New Revision: 207752 URL: http://svn.freebsd.org/changeset/base/207752 Log: One more use for vm_pageout_init_marker(). Reviewed by: alc Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c ============================================================================== --- head/sys/vm/vm_pageout.c Fri May 7 18:22:51 2010 (r207751) +++ head/sys/vm/vm_pageout.c Fri May 7 18:57:26 2010 (r207752) @@ -765,14 +765,7 @@ vm_pageout_scan(int pass) */ page_shortage = vm_paging_target() + addl_page_shortage_init; - /* - * Initialize our marker - */ - bzero(&marker, sizeof(marker)); - marker.flags = PG_FICTITIOUS | PG_MARKER; - marker.oflags = VPO_BUSY; - marker.queue = PQ_INACTIVE; - marker.wire_count = 1; + vm_pageout_marker_init(&marker, PQ_INACTIVE); /* * Start scanning the inactive queue for pages we can move to the