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] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 29 Aug 2009 13:00:46 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Xiao Guangrong <ericxiao.gr@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	"H. Peter Anvin" <hpa@...or.com>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Jens Axboe <jens.axboe@...cle.com>,
	Xiao Guangrong <xiaoguangrong@...fujitsu.com>,
	LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org,
	x86@...nel.org, Jeremy Fitzhardinge <jeremy@...p.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] x86: reuse the boot-time mappings of fixed_addresses


* Xiao Guangrong <ericxiao.gr@...il.com> wrote:

> From: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
> 
> Some fixed_addresses items are only used when system boot, after 
> boot, they are free but no way to use, like early ioremap area. 
> They are wasted for us, we can reuse them after system boot.
> 
> In this patch, we put them in permanent kmap's area and expand 
> vmalloc's address range. In boot time, reserve them in 
> permanent_kmaps_init() to avoid multiple used, after system boot, 
> we unreserved them then user can use it.
> 
> Signed-off-by: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
> ---
>  arch/x86/include/asm/fixmap.h           |    2 ++
>  arch/x86/include/asm/pgtable_32_types.h |    4 ++--
>  arch/x86/mm/init_32.c                   |    8 ++++++++
>  include/linux/highmem.h                 |    2 ++
>  mm/highmem.c                            |   26 ++++++++++++++++++++++++++
>  5 files changed, 40 insertions(+), 2 deletions(-)

I'm wondering, how much space do we save this way, on a typical 
bootup on a typical PC?

	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