dev_lock() question

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Sep 29 11:14:41 PDT 2005


In message <200509291408.18098.jhb at 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 at 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.


More information about the freebsd-hackers mailing list