plist: Shrink struct plist_head
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 21 Dec 2010 09:55:14 +0000 (17:55 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Mar 2011 20:13:26 +0000 (15:13 -0500)
commitbf6a9b8336ba12672755c2ae898b0abe42c7a5ac
treec85f2b2acac9bf9b88e0c19d90d252b1780e0d35
parent017f2b239dabb2740b91df162e004371b861f371
plist: Shrink struct plist_head

struct plist_head is used in struct task_struct as well as struct
rtmutex. If we can make it smaller, it will also make these structures
smaller as well.

The field prio_list in struct plist_head is seldom used and we can get
its information from the plist_nodes. Removing this field will decrease
the size of plist_head by half.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4D107982.9090700@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/plist.h
lib/plist.c