Date: Mon, 26 May 2008 18:16:08 +0200 From: Ed Schouten <ed@80386.nl> To: Robert Watson <rwatson@FreeBSD.org> Cc: arch@freebsd.org, "Bruce M. Simpson" <bms@FreeBSD.org>, current@freebsd.org, Ade Lovett <ade@FreeBSD.org>, net@freebsd.org Subject: Re: HEAD UP: non-MPSAFE network drivers to be disabled (was: 8.0 network stack MPsafety goals (fwd)) Message-ID: <20080526161608.GE64397@hoeg.nl> In-Reply-To: <20080526162427.X26343@fledge.watson.org> References: <20080524111715.T64552@fledge.watson.org> <1211640498.1510.8.camel@localhost> <20080524165519.K9809@fledge.watson.org> <e7db6d980805241656q30193933hcd983b6322d02df8@mail.gmail.com> <20080525105726.O39741@fledge.watson.org> <5D4AF8D7-88A7-4197-A0FE-7CA992EE5F96@FreeBSD.org> <483AD498.6070207@FreeBSD.org> <20080526162427.X26343@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--6Vw0j8UKbyX0bfpA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Robert, * Robert Watson <rwatson@FreeBSD.org> wrote: > If the new tty code maintains support for line disciplines, updating > the existing SLIP code and adding locking code would probably be an > equally sized (or shorter) task. The new TTY layer should still support line disciplines, unfortunately I haven't implemented the line discipline switching (TIOCSETD) yet. I would really prefer to have this in userspace. There are several advantages of implementing this in userspace: - We don't have to port things twice (make it MPSAFE first and port it to the new TTY layer later, or the other way around). - It is less likely to break. The entire userspace TTY and Tun/Tap userspace programming interfaces are more likely to be stable than the kernel interfaces. - It will be easier to port to other operating systems. - Implementing this in userspace could make it easier to configure and more flexible. Any comments/ideas/etc? --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --6Vw0j8UKbyX0bfpA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEUEARECAAYFAkg64kgACgkQ52SDGA2eCwVNEwCeMjSWFgbJCjcu53B1O8b2XFqe bksAlRZdlcBdfp8GQDALl4pjfAvspFs= =4oXx -----END PGP SIGNATURE----- --6Vw0j8UKbyX0bfpA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080526161608.GE64397>