tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Mandatory PFIL_HOOKS

Could you put the pfil hook code in if (__predict_false()) ... ?  ISTR
that this made a little change when benchmarking packet forwarding.

On Sat, Jun 8, 2013 at 9:19 PM, Mindaugas Rasiukevicius
<> wrote:
> Hi,
> Unless anyone objects, I would like to make packet filter hooks mandatory
> and therefore remove PFIL_HOOKS option.  They are small, often used and not
> worth the #ifdef mess.
> Thanks.
> --
> Mindaugas

Home | Main Index | Thread Index | Old Index