Date: Fri, 26 Sep 2003 12:51:09 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Stefan Farfeleder <stefan@fafoe.narf.at> Cc: hackers@freebsd.org Subject: Re: Major numbers reclaiming for make_dev/MAJOR_AUTO Message-ID: <72699.1064573469@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 17 Sep 2003 17:55:45 %2B0200." <20030917155544.GG697@wombat.fafoe.narf.at>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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?72699.1064573469>