Date: Fri, 18 Sep 2009 13:48:38 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_devstat.c Message-ID: <200909181348.n8IDmnmX082012@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
<giovanni dot trematerra at gmail dot com>
Revision Changes Path
1.53 +27 -16 src/sys/kern/subr_devstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909181348.n8IDmnmX082012>
