aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <[email protected]>2012-10-16 13:28:17 +0530
committerIngo Molnar <[email protected]>2012-10-24 10:01:59 +0200
commitc13d38e4a1fd5dd07135403c613c8091af444169 (patch)
tree85bdc667286f9c9d4437c2020f2dd0d60a8f2c89 /net/unix/sysctl_net_unix.c
parent6760bca9fd16256210f4922a3e9f067d2c7017d7 (diff)
perf, cpu hotplug: Use cached value of smp_processor_id()
The perf_cpu_notifier() macro invokes smp_processor_id() multiple times. Optimize it by using a local variable. Signed-off-by: Srivatsa S. Bhat <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions