Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2003 21:28:29 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Juli Mallett <jmallett@freebsd.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: PERFORCE change 38917 for review 
Message-ID:  <4060.1065036509@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 01 Oct 2003 14:23:49 CDT." <20031001142349.A87379@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20031001142349.A87379@FreeBSD.org>, Juli Mallett writes:
>* "M. Warner Losh" <imp@bsdimp.com> [ Date: 2003-09-30 ]
>	[ w.r.t. Re: PERFORCE change 38917 for review ]
>> In message: <Pine.BSF.4.21.0309301448160.53279-100000@InterJet.elischer.org>
>>             Julian Elischer <julian@elischer.org> writes:
>> : Someone who understands all this stuff should update
>> : 
>> : /usr/share/examples/drivers/make_device_driver.sh
>> 
>> That's premature at this time.  We're trying to hash out the
>> guarnatees that various subsystems need to make in order to ensure
>> that we can successfully detach drivers.
>
>In other words, the strawman is being used to find the fundamental
>flaws/races/... that we need to grow the APIs/etc. to accomodate?

Yes, that's the concept.

It is rather trivial to solve the actual problems, throw enough mutexes
at it and you're done.

It is far more tricky to do it in a way where you get both readable
source code (so people understand what it does and how it does it),
simple conceptual models (so people can understand it) etc.

And then of course, once we have that we need a transistion plan,
and that in itself is a problem because we want to minimize code
sweeps, and we have a lot of practically untestable drivers.

>Groovy.  Better APIs and primitives :D

Yeah, well, eventually.

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