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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081208125057.GC16560@elte.hu>
Date:	Mon, 8 Dec 2008 13:50:58 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Len Brown <lenb@...nel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	pm list <linux-pm@...ts.linux-foundation.org>
Subject: Re: x86: Change static allocation of trampoline area


* Rafael J. Wysocki <rjw@...k.pl> wrote:

> From: Rafael J. Wysocki <rjw@...k.pl>
> Subject: x86: Change static allocation of trampoline area
> Impact: Improvement
> 
> While debugging a suspend-to-RAM related issue it occured to me that
> if the trampoline code had grown past 4 KB, we would have been
> allocating too little memory for it, since the 4 KB size of the
> trampoline is hardcoded into arch/x86/kernel/e820.c .  Change that
> by making the kernel compute the trampoline size and allocate as much
> memory as necessary.
> 
> Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>
> ---
>  arch/x86/include/asm/trampoline.h |    7 +++++++
>  arch/x86/kernel/e820.c            |   16 ----------------
>  arch/x86/kernel/head32.c          |    3 +++
>  arch/x86/kernel/head64.c          |    3 +++
>  arch/x86/kernel/trampoline.c      |   19 +++++++++++++++++--
>  5 files changed, 30 insertions(+), 18 deletions(-)

applied to tip/x86/setup-memory, thanks Rafael!

	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