Re: [Q.] sk_buff headroom size increases by 16, why?

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Jun 14 2000 - 07:09:47 EST


On Fri, 16 Jun 2000 20:13:39 +0900 (KST),
Blusjune Jung <blusjune@yahoo.com> wrote:
> headroom = (headroom+15)&~15; // <-- point of interest
>I think that the code indicated by left arrow means increment of headroom size by 16.

No, it aligns headroom to a 16 byte boundary to get better access
patterns.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:31 EST