David S. Miller
21f644f3ea
[NET]: Undo code bloat in hot paths due to print_mac().
...
If print_mac() is used inside of a pr_debug() the compiler
can't see that the call is redundant so still performs it
even of pr_debug() ends up being a nop.
So don't use print_mac() in such cases in hot code paths,
use MAC_FMT et al. instead.
As noted by Joe Perches, pr_debug() could be modified to
handle this better, but that is a change to an interface
used by the entire kernel and thus needs to be validated
carefully. This here is thus the less risky fix for
2.6.25
Signed-off-by: David S. Miller <davem@davemloft.net >
2008-04-08 16:50:44 -07:00
..
2008-03-03 14:53:16 -08:00
2008-04-01 11:21:08 -07:00
2008-03-29 12:21:31 -04:00
2008-04-02 00:03:00 -07:00
2008-03-28 14:45:23 -07:00
2008-04-02 15:28:19 -07:00
2008-03-12 13:08:09 -07:00
2008-03-04 11:28:41 +01:00
2008-04-02 15:28:19 -07:00
2008-03-23 21:51:12 -07:00
2008-03-05 14:45:31 -05:00
2008-03-26 00:58:19 -04:00
2008-03-30 14:20:24 -07:00
2008-02-08 15:33:33 -08:00
2008-03-30 14:20:24 -07:00
2008-03-27 21:01:14 +01:00
2008-02-23 17:12:15 -08:00
2008-03-10 18:01:19 -07:00
2008-03-18 11:20:33 +01:00
2008-03-27 08:40:41 -04:00
2008-03-23 20:28:20 +01:00
2008-04-02 21:22:05 +02:00
2008-03-14 00:56:59 +01:00
2008-03-30 14:20:24 -07:00
2008-04-01 00:22:53 -04:00
2008-03-12 13:08:09 -07:00
2008-03-31 23:31:13 +01:00
2008-03-30 14:20:23 -07:00
2008-03-13 10:09:27 +11:00
2008-03-28 14:45:23 -07:00
2008-04-01 19:35:47 -03:00
2008-03-28 14:45:23 -07:00
2008-03-18 15:13:40 -05:00
2008-03-30 14:20:24 -07:00
2008-03-30 14:18:41 -07:00
2008-03-22 17:02:20 -07:00
2008-03-28 14:45:22 -07:00
2008-04-08 16:50:44 -07:00
2008-02-14 21:17:08 -08:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-28 14:45:22 -07:00
2008-02-21 15:34:35 -08:00
2008-03-26 14:22:20 -04:00
2008-02-14 22:11:01 +11:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-03-05 12:37:19 +01:00
2008-03-28 12:32:22 -05:00
2008-04-02 15:28:19 -07:00
2008-02-26 14:12:09 +09:00
2008-03-17 08:11:48 -04:00
2008-03-13 13:11:43 -07:00
2008-03-04 18:36:35 -05:00
2008-03-18 01:22:10 -04:00
2008-03-24 22:33:49 -07:00
2008-04-02 15:06:09 -07:00
2008-03-28 14:45:22 -07:00
2008-03-30 14:20:23 -07:00
2008-03-04 16:35:12 -08:00
2008-04-01 11:31:05 -07:00
2008-02-09 11:08:34 -08:00
2008-02-09 11:08:34 -08:00