]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
driver core: Remove completion from struct klist_node
authorMatthew Wilcox <matthew@wil.cx>
Thu, 16 Oct 2008 20:57:54 +0000 (14:57 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 18:44:30 +0000 (10:44 -0800)
commit210272a28465a7a31bcd580d2f9529f924965aa5
treebd368e8f27c7691b12deaafc1a52c79db1fa1cc9
parent929d2fa5955ab27aa21fac615b23e0e92e8dc3a0
driver core: Remove completion from struct klist_node

Removing the completion from klist_node reduces its size from 64 bytes
to 28 on x86-64.  To maintain the semantics of klist_remove(), we add
a single list of klist nodes which are pending deletion and scan them.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/klist.h
lib/klist.c