• Rusty Russell's avatar
    [PATCH] Use Local Percpu Macros for Local Percpu Variables · 6d338bb2
    Rusty Russell authored
    In general, it is more better to use get_cpu_var() and __get_cpu_var()
    to access per-cpu variables on this CPU than to use smp_processor_id()
    and per_cpu().  In the current default implemention they are equivalent,
    but on IA64 the former is already faster, and other archs will follow.
    6d338bb2
buffer.c 77.1 KB