Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2005 20:14:39 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org, Divacky Roman <xdivac02@stud.fit.vutbr.cz>, Stanislav Sedov <stas@310.ru>
Subject:   Re: dev_lock() question 
Message-ID:  <15314.1128017679@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 29 Sep 2005 14:08:16 EDT." <200509291408.18098.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200509291408.18098.jhb@FreeBSD.org>, John Baldwin writes:


>Actually, you would think that it could be initialized either via an early 
>SYSINIT() or in the init_mutexes() function in kern_mutex.c and thus not need 
>the early check and avoid penalizing dev_lock().
>
>phk, how early his dev_lock needed?

Far too early due to console madness (in syscons I belive).


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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