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

From: Steven Rostedt
Date: Thu Dec 23 2010 - 10:09:42 EST


On Thu, 2010-12-23 at 10:13 +0800, Lai Jiangshan wrote:
> 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?

Sorry, I've been trying to get a bunch done before the holiday break.
I'll try to see if I can look at this today. I'll be pushing out your
port of the rtmutex code today. Heh, I need to update it to your latest
changes :-)

Anyway, after today, I'm off till Jan 3rd, so anything not done today
will need to wait till then.

-- Steve


--
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/