irq_work: Use llist in the struct irq_work logic
authorHuang Ying <ying.huang@intel.com>
Thu, 8 Sep 2011 06:00:46 +0000 (14:00 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Oct 2011 10:43:49 +0000 (12:43 +0200)
commit38aaf8090d34b623b7919d8c933f6e938c9bf44b
tree4d036cfedd9e7669b6491900e407f59adbc93c69
parent781f7fd916fc77a862e20063ed3aeedf173234f9
irq_work: Use llist in the struct irq_work logic

Use llist in irq_work instead of the lock-less linked list
implementation in irq_work to avoid the code duplication.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1315461646-1379-6-git-send-email-ying.huang@intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/irq_work.h
kernel/irq_work.c