Subject: Re: [PATCH] Avoid gettimeofday when not needed

From: Andi Kleen <[email-masked]>
Date: Wed, 31 Mar 2004 19:50:20 +0200

On Wed, 31 Mar 2004 09:30:02 -0800
Ben Greear <[email-masked]> wrote:

> Andi Kleen wrote:
> > On Wed, Mar 31, 2004 at 05:24:47PM +0300, Ville Nuorvala wrote:
> > 
> >>There just doesn't seem to be any general flag field in sk_buff that we
> >>might use at this moment. Should one be added, or should we just hide the
> >>flag inside the cb field using the likes of inet_skb_parm and
> >>inet6_skb_parm?
> > 
> > 
> > There are no free bits indeed. I think ->cb is the best choice then.
> 
> Why not add a 32-bit field to the skb to handle various flag needs
> going forward?

That is what ->cb already is

-Andi