From owner-cvs-src-old@FreeBSD.ORG Fri Sep 18 13:48:49 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 93B3A106568D for ; Fri, 18 Sep 2009 13:48:49 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 66AFD8FC20 for ; Fri, 18 Sep 2009 13:48:49 +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 n8IDmnoU082013 for ; Fri, 18 Sep 2009 13:48:49 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8IDmnmX082012 for cvs-src-old@freebsd.org; Fri, 18 Sep 2009 13:48:49 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <200909181348.n8IDmnmX082012@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Fri, 18 Sep 2009 13:48:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_devstat.c 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: Fri, 18 Sep 2009 13:48:49 -0000 attilio 2009-09-18 13:48:38 UTC FreeBSD src repository Modified files: sys/kern subr_devstat.c Log: SVN rev 197309 on 2009-09-18 13:48:38Z by attilio Don't allocate new unnecessary pages when devstat_alloc() looses the run for re-acuiring the lock, but recheck if new pages are allocatable from the pool and free the previously allocated ones. Tested by: pho, Giovanni Trematerra Revision Changes Path 1.53 +27 -16 src/sys/kern/subr_devstat.c