DragonFly BSD
DragonFly kernel List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Batch/At (if it wasn't broken, no worries I broke it :-) )


From: Diane Bruce <db@xxxxxx>
Date: Tue, 5 Sep 2006 13:20:55 -0400

On Tue, Sep 05, 2006 at 10:06:45AM -0700, Matthew Dillon wrote:
>     And just as a side note... procedure call overhead on a modern cpu can
>     be as little as 0 cpu cycles for small procedures, and typically do not
>     cost more then 5 nanoseconds in any case.  This is because procedure calls

Exactly.

>     In the DragonFly kernel we only inline the tiniest, most heavily-used
>     critical path routines, though there are still a lot of 'old' inlines
>     inherited from FreeBSD that have not yet been unwound (the most aggregious
>     being in the NFS code and containing out-of-band goto's).

Don't get me started on goto's.

Just don't.

;-)

- Diane

--
- db@xxxxxx http://www.db.net/~db



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]