Re: [PATCH 3/4] plist: shrink struct plist_head

From: Lai Jiangshan
Date: Wed Dec 22 2010 - 21:11:54 EST


On 12/21/2010 05:55 PM, Lai Jiangshan wrote:
> struct plist_head is big, and the field prio_list
> in the struct plist_head is used seldom. So it can be
> removed and we use the first plist_node's prio_list
> when needed.
>
> The size of struct plist_head is decreased a half after shinked.
> The size of struct rtmutex and struct task_struct are
> also decreased after struct plist_head shrinked.
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
> ---
> include/linux/plist.h | 47 ++++++++++++++++++++++---------------------
> lib/plist.c | 54 ++++++++++++++++++++++++++++++++------------------
> 2 files changed, 59 insertions(+), 42 deletions(-)
>

Hi, Ingo, Thomas, Steven,

Any comments about this patch?

Thanks,
Lai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/