Eric Dumazet
27f39c73e6
net: Use __this_cpu_inc() in fast path
...
This patch saves 224 bytes of text on my machine.
__this_cpu_inc() generates a single instruction, using no scratch
registers :
65 ff 04 25 a8 30 01 00 incl %gs:0x130a8
instead of :
48 c7 c2 80 30 01 00 mov $0x13080,%rdx
65 48 8b 04 25 88 ea 00 00 mov %gs:0xea88,%rax
83 44 10 28 01 addl $0x1,0x28(%rax,%rdx,1)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-31 00:24:01 -07:00
..
2010-05-13 15:16:27 +02:00
2010-05-15 23:28:40 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 17:18:51 -07:00
2010-05-17 23:23:14 -07:00
2010-04-11 14:53:53 -07:00
2010-02-22 16:20:22 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-26 16:13:54 +02:00
2010-03-30 22:02:32 +09:00
2010-05-17 23:23:14 -07:00
2010-05-17 17:18:50 -07:00
2010-04-11 14:53:53 -07:00
2010-05-15 23:28:40 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-15 23:28:40 -07:00
2010-03-30 22:02:32 +09:00
2010-04-20 16:02:01 +02:00
2010-03-30 22:02:32 +09:00
2010-05-17 23:23:14 -07:00
2010-05-17 17:18:51 -07:00
2010-05-17 23:23:14 -07:00
2010-05-17 17:18:52 -07:00
2010-04-28 15:31:51 -07:00
2010-02-22 16:20:22 -08:00
2010-04-11 14:53:53 -07:00
2010-05-17 22:36:55 -07:00
2010-05-26 00:38:56 -07:00
2010-04-15 13:31:29 +02:00
2010-05-17 17:18:50 -07:00
2010-03-21 18:31:35 -07:00
2010-05-10 18:39:28 +02:00
2010-05-31 00:24:01 -07:00
2009-12-23 14:13:30 -08:00
2010-05-15 23:28:40 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 17:44:35 -07:00
2010-05-16 00:36:33 -07:00
2010-04-11 14:53:53 -07:00
2010-05-17 22:35:36 -07:00
2010-03-30 22:02:32 +09:00
2010-04-27 12:53:25 -07:00
2010-05-17 17:44:35 -07:00
2010-03-30 22:02:32 +09:00
2010-05-31 00:10:35 -07:00
2010-01-17 19:16:02 -08:00
2010-05-17 17:18:51 -07:00
2010-03-30 22:02:32 +09:00
2010-03-25 16:00:30 +01:00
2010-04-07 03:43:19 -07:00