Luigi Rizzo <lu...@labinfo.iet.unipi.it>
>not speaking about vinum, but to me, the indentation of 8 char and
>line length of 80 chars are almost mutually exclusive.
>
>See e.g. tcp_input.c ip_input.c and many network device drivers as
>an example -- basically all places where, for efficiency reasons,
>the code tries to expand in-line various block,

According to most of the coding standards I've read, readability
(and hence maintainability) come before efficiency.  That said, I
agree that efficiency _is_ an issue within the kernel's critical
paths (the TCP/IP code being one).

Judicious use of inline functions (and macros) should help move
code to the left - and may even make it more understandable.

Peter

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to