mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + uninline-find_task_by_xxx-set-of-functions.patch added to -mm tree
       [not found] <200709262035.l8QKZARn002608@imap1.linux-foundation.org>
@ 2007-09-26 20:38 ` Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2007-09-26 20:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: mm-commits, xemul, ebiederm, menage, oleg, sukadev


* akpm@linux-foundation.org <akpm@linux-foundation.org> wrote:

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-26 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200709262035.l8QKZARn002608@imap1.linux-foundation.org>
2007-09-26 20:38 ` + uninline-find_task_by_xxx-set-of-functions.patch added to -mm tree Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®