Re: [PATCH] netdevice.h: Add __cold to netdev_<level> logging functions

From: David Miller
Date: Sun Feb 03 2019 - 23:28:07 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Sat, 02 Feb 2019 19:47:25 -0800

> Add __cold to the netdev_<level> logging functions similar to
> the use of __cold in the generic printk function.
>
> Using __cold moves all the netdev_<level> logging functions
> out-of-line possibly improving code locality and runtime
> performance.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Sure, let's give this a try.

I'll push this out to net-next when my build testing completes.

Thanks.