Major numbers reclaiming for make_dev/MAJOR_AUTO

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Sep 26 03:51:19 PDT 2003


Hi Stefan,

Your patch will work OK in a lot of settings, but there are
unfortunately also some very nasty cases where it will fail
miserably because refcounting dev_t's is not safe yet.

There are a few remaining issues to deal with before we can
properly refcount dev_t's, and that is more or less all the
places in the kernel which uses makedev().

As you may have noticed I've started evicting these from the
console related code.

-- 
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