Matthew Dillon writes:
 > :Speaking of NFS changes, there was talk at one time about turning the
 > :nfsm macros into functions.  Is this going to happen?
 > 
 >     No.  The nfsm macros have goto's all over the place that jump outside
 >     the macro, and also use local variables declared outside the macro. 
 >     Short of rewriting a fairly large hunk of the NFS code entirely it
 >     aint gonna happen.  Nobody is contemplating rewriting the code.

Exactly why I wasn't going to try to do it myself ;-)

But I could have sworn I read somewhere that somebody was planning
it.  Oh well.

 >     You can use gdb to disassemble the code to locate the exact point where
 >     the panic occured.  It is definitely more difficult, but there isn't
 >     much we can do about it.  The rpc design tends to keep things aligned
 >     and NFS packet elements tend to be sized such that alignment remains 
 >     intact, so if these panics can be tracked down the fixes should be 
 >     relatively easy to make.  Unfortunately, we just don't see these sorts
 >     of panics on Intel boxes all that much because IA32 allows misaligned
 >     accesses.  This means there are almost certainly alignment bugs in the
 >     code.
 > 
 >                                              -Matt

I'm all in favor of having all the developers have alphas so these
things get caught early ;-)


Cheers,
Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer  http://www.cs.duke.edu/~gallatin
Duke University                         Email: [EMAIL PROTECTED]
Department of Computer Science          Phone: (919) 660-6590


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to