tech-net archive

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

Re: Mandatory PFIL_HOOKS



Masao Uebayashi <uebayasi%gmail.com@localhost> wrote:
> Could you put the pfil hook code in if (__predict_false()) ... ?  ISTR
> that this made a little change when benchmarking packet forwarding.

You want to avoid function call overhead?  I will add a check.  However,
I think the __predict_false() part is not fair. :)

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index