Matthew Dillon said:
> :> global references across subroutine calls! I'll send Luoqi another email.
> :>
> :> In the case of the NFS stuff, the changes have been pretty well tested
> :> so I think we are in the clear.
> :
> :On a somewhat similar note, what do you think about converting a lot
> :of the NFS macros to functions, yes i know it will be difficult, but
> :there is so much forced inlining it just seems like it would reduce
> :the codesize signifigantly and play nicer with the CPU cache.
> :
> :It would also make the code a lot more readable.
> :
> :Worthwhile exercise?
> :
> :-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
>
> Well, the issue with converting many of the macros to inline functions
> is with the embedded goto's and references to variables defined outside
> the macros. Converting them to functions would basically require
> rewriting a huge chunk of NFS code.
>
My working kernel runs with a few strategic NFS macros being converted
to functions, and the size improvement is about 50K or so (maybe more!!!)
John
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message