Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 16:30:16 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_zeroidle.c
Message-ID:  <Pine.BSF.4.21.0207081622570.29644-100000@InterJet.elischer.org>
In-Reply-To: <200207082312.g68NCbKo022767@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a good reason to have spin and sleep mutexes declared
as different types so that the compiler can notice this sort of thing.


On Mon, 8 Jul 2002, Peter Wemm wrote:

> peter       2002/07/08 16:12:37 PDT
> 
>   Modified files:
>     sys/vm               vm_zeroidle.c 
>   Log:
>   vm_page_queue_free_mtx is a spin mutex, not a normal sleep mutex.
>   I do not know why this didn't panic my box, but I have most certainly
>   been using it:
>   peter@overcee[3:14pm]~src/sys/i386/i386-110> sysctl -a | grep zero
>   vm.stats.misc.zero_page_count: 2235
>   vm.stats.misc.cnt_prezero: 638951
>   vm.idlezero_enable: 1
>   vm.idlezero_maxrun: 16
>   
>   Submitted by:   Tor.Egge@cvsup.no.freebsd.org
>   Approved by:    Tor's patches are never wrong. :-)
>   
>   Revision  Changes    Path
>   1.13      +4 -4      src/sys/vm/vm_zeroidle.c
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0207081622570.29644-100000>