Date: Tue, 11 Mar 2008 12:35:06 -0700 From: "Peter Wemm" <peter@wemm.org> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: arch@freebsd.org Subject: Re: amd64 cpu_switch in C. Message-ID: <e7db6d980803111235n706f7dct9b65804916a95a03@mail.gmail.com> In-Reply-To: <5546.1205229755@critter.freebsd.dk> References: <20080311095557.GX68971@server.vk2pj.dyndns.org> <5546.1205229755@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 11, 2008 at 3:02 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > In message <20080311095557.GX68971@server.vk2pj.dyndns.org>, Peter Jeremy write > s: > > > >>The only appreciable downside is that it lowers the barrier of entry for > >>modifying a very sensitive piece of code. > > > >IMHO, this isn't a valid reason. Increasing the both the legibility > >and performance of a very sensitive piece of code is a good thing. > >Having more people understand the code is also a good thing. > > This is not a legal inference, and that's exactly the point Jeff made: > > Just because it is written in C doesn't mean people will understand > it, it merely means that they will _think_ they understand it. I'd like to point out that if I hadn't converted the run queue parts of cpu_switch into C, then KSE might never have happened. At least, not in the form that hit the tree. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7db6d980803111235n706f7dct9b65804916a95a03>