]> Git Repo - linux.git/commit - lib/klist.c
driver core: Remove completion from struct klist_node
authorMatthew Wilcox <[email protected]>
Thu, 16 Oct 2008 20:57:54 +0000 (14:57 -0600)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
include/linux/klist.h
lib/klist.c
This page took 0.054657 seconds and 4 git commands to generate.