On Sun, 21 Oct 2007 12:48:14 -0700 (PDT)
David Miller <[EMAIL PROTECTED]> wrote:

> 
> You are missing a crucial point.
> 
> The compiler may emit the same exact loads and stores when it inlines
> memcpy() if it "knows" the objects are aligned properly.  And it very
> much will do this.
> 

Not sure that would be valid. memcpy() is defined as having void* arguments, 
and the compiler cannot just ignore that if it chooses to inline it.

Still, just give it the char* from the skb and it cannot make any assumption on 
alignment.

Rgds
Pierre

Attachment: signature.asc
Description: PGP signature

Reply via email to