What is the difference between percpu_xxx and this_cpu_xxx?

From: Huang Ying
Date: Tue Sep 13 2011 - 00:28:48 EST


Hi,

If my understanding was correct, from the kernel source code, it appears
that percpu_xxx and this_cpu_xxx have the same semantics and
implementation in effect, haven’t them?

If so, why do we need two API for the same thing?

Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/