From owner-cvs-src@FreeBSD.ORG Sat Aug 13 20:21:34 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B5216A41F; Sat, 13 Aug 2005 20:21:34 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 646D843D46; Sat, 13 Aug 2005 20:21:34 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7DKLYa9070278; Sat, 13 Aug 2005 20:21:34 GMT (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7DKLYMc070277; Sat, 13 Aug 2005 20:21:34 GMT (envelope-from kan) Message-Id: <200508132021.j7DKLYMc070277@repoman.freebsd.org> From: Alexander Kabaev Date: Sat, 13 Aug 2005 20:21:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern vfs_cluster.c src/sys/sys buf.h src/sys/vm vm_pager.c vnode_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 20:21:34 -0000 kan 2005-08-13 20:21:34 UTC FreeBSD src repository Modified files: sys/kern vfs_cluster.c sys/sys buf.h sys/vm vm_pager.c vnode_pager.c Log: Do not use vm_pager_init() to initialize vnode_pbuf_freecnt variable. vm_pager_init() is run before required nswbuf variable has been set to correct value. This caused system to run with single pbuf available for vnode_pager. Handle both cluster_pbuf_freecnt and vnode_pbuf_freecnt variable in the same way. Reported by: ade Obtained from: alc MFC after: 2 days Revision Changes Path 1.167 +0 -6 src/sys/kern/vfs_cluster.c 1.188 +2 -0 src/sys/sys/buf.h 1.106 +1 -0 src/sys/vm/vm_pager.c 1.223 +0 -9 src/sys/vm/vnode_pager.c