login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
26
Re: + uninline-find_task_by_xxx-set-of-functions.patch added to -mm tree
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: <linux-kernel@...>
Cc: <mm-commits@...>, <xemul@...>, <ebiederm@...>, <menage@...>, <oleg@...>, <sukadev@...>
Subject:
Re: + uninline-find_task_by_xxx-set-of-functions.patch added to -mm tree
Date: Wednesday, September 26, 2007 - 4:38 pm
*
akpm@linux-foundation.org
<akpm@linux-foundation.org> wrote:
quoted text
> ------------------------------------------------------ > Subject: Uninline find_task_by_xxx set of functions > From: Pavel Emelyanov <xemul@openvz.org> > > The find_task_by_something is a set of macros are used to find task by pid > depending on what kind of pid is proposed - global or virtual one. All of > them are wrappers above the most generic one - find_task_by_pid_type_ns() - > and just substitute some args for it. > > It turned out, that dereferencing the current->nsproxy->pid_ns construction > and pushing one more argument on the stack inline cause kernel text size to > grow. > > This patch moves all this stuff out-of-line into kernel/pid.c. Together > with the next patch it saves a bit less than 400 bytes from the .text > section. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> > Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com> > Cc: Oleg Nesterov <oleg@tv-sign.ru> > Cc: Paul Menage <menage@google.com> > Cc: "Eric W. Biederman" <ebiederm@xmission.com> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Ingo Molnar <mingo@elte.hu> Ingo -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: + uninline-find_task_by_xxx-set-of-functions.patch added...
, Ingo Molnar
, (Wed Sep 26, 4:38 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jon Smirl
463 kernel developers missing!
Nigel Cunningham
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan...
Jeff Garzik
Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
836 guests
online.
Syndicate