Re: How to do proper locking
From: M. Warner Losh (imp_at_bsdimp.com)
Date: 08/06/05
- Previous message: John Baldwin: "Re: How to do proper locking"
- In reply to: John Baldwin: "Re: How to do proper locking"
- Next in thread: Hans Petter Selasky: "Re: How to do proper locking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 05 Aug 2005 16:30:32 -0600 (MDT) To: jhb@freebsd.org
In message: <200508051329.14767.jhb@FreeBSD.org>
John Baldwin <jhb@freebsd.org> writes:
: Maybe, but another thing you need to consider is "maintainenance" overhead.
: Device drivers, especially, should be the simplest parts of the kernel to
: implement because we want to minimize the potential for screw up in that
: area. Having to trust that the same code is going to be duplicated 40 or 50
: times without any errors versus having it done once in a centralized place
: where it breaks everyone if it is broken is just insane. Otherwise, we might
: as well go write the whole kernel in assembly so we can tweak every last bit
: out of it. :)
History has shown that when you have to rely on 50 copies of something
being done right, 48 of them will, in fact, have 49 different things
wrong with them.
Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: John Baldwin: "Re: How to do proper locking"
- In reply to: John Baldwin: "Re: How to do proper locking"
- Next in thread: Hans Petter Selasky: "Re: How to do proper locking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|