llist: Make some llist functions inline
authorHuang Ying <ying.huang@intel.com>
Thu, 8 Sep 2011 06:00:42 +0000 (14:00 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Oct 2011 09:30:53 +0000 (11:30 +0200)
commit1230db8e1543c0471dd165727d34647ab098cc1e
tree6667af62e0a0bb24b315f5b9e61ea7635293135b
parent22f92bacbeea24b20e447444c28e7cad9f1ac3f8
llist: Make some llist functions inline

Because llist code will be used in performance critical scheduler
code path, make llist_add() and llist_del_all() inline to avoid
function calling overhead and related 'glue' overhead.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1315461646-1379-2-git-send-email-ying.huang@intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/acpi/apei/Kconfig
include/linux/llist.h
lib/Kconfig
lib/Makefile
lib/llist.c