lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 26 Sep 2007 22:38:08 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	linux-kernel@...r.kernel.org
Cc:	mm-commits@...r.kernel.org, xemul@...nvz.org,
	ebiederm@...ssion.com, menage@...gle.com, oleg@...sign.ru,
	sukadev@...ibm.com
Subject: Re: + uninline-find_task_by_xxx-set-of-functions.patch added to
	-mm tree


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

> ------------------------------------------------------
> Subject: Uninline find_task_by_xxx set of functions
> From: Pavel Emelyanov <xemul@...nvz.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@...nvz.org>
> Cc: Sukadev Bhattiprolu <sukadev@...ibm.com>
> Cc: Oleg Nesterov <oleg@...sign.ru>
> Cc: Paul Menage <menage@...gle.com>
> Cc: "Eric W. Biederman" <ebiederm@...ssion.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>

Acked-by: Ingo Molnar <mingo@...e.hu>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ