From: Christoph Lameter Date: Tue, 14 Dec 2010 16:28:45 +0000 (-0600) Subject: irq_work: Use per cpu atomics instead of regular atomics X-Git-Tag: v2.6.38-rc1~455^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20b876918c065818b3574a426d418f68b4f8ad19;p=pandora-kernel.git irq_work: Use per cpu atomics instead of regular atomics The irq work queue is a per cpu object and it is sufficient for synchronization if per cpu atomics are used. Doing so simplifies the code and reduces the overhead of the code. Before: christoph@linux-2.6$ size kernel/irq_work.o text data bss dec hex filename 451 8 1 460 1cc kernel/irq_work.o After: christoph@linux-2.6$ size kernel/irq_work.o text data bss dec hex filename 438 8 1 447 1bf kernel/irq_work.o Cc: Peter Zijlstra Signed-off-by: Christoph Lameter --- Reading git-diff-tree failed