[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090921.135446.193691811.davem@davemloft.net>
Date: Mon, 21 Sep 2009 13:54:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: john.r.fastabend@...el.com
Cc: jeffrey.t.kirsher@...el.com, netdev@...r.kernel.org,
gospo@...hat.com, linux-scsi@...r.kernel.org
Subject: Re: [net-2.6 PATCH 2/6] net: remove kfree_skb on a NULL pointer in
af_netlink.c
From: John Fastabend <john.r.fastabend@...el.com>
Date: Mon, 21 Sep 2009 12:04:35 +0000
>>
> OK, but this depends on the unlikely() macro in kfree_skb() to catch a
> case that is the expected non-error case. Would it be better to wrap
> the kfree_skb() in an if statement to avoid hitting the unlikely()
> macro? Or is the performance hit from the unlikely() macro so small
> this is not an issue? Thanks for looking at these.
>
Expands too much code inline, that's why we don't do it that
way.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists