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]
Message-ID: <CAE9FiQWTRndGpRDDfiB4RqRPC6sEt252P+QnjPd0+sH8k3YBwg@mail.gmail.com>
Date:	Wed, 5 Sep 2012 11:57:16 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	Pekka Enberg <penberg@...nel.org>
Cc:	Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
	"H. Peter Anvin" <hpa@...or.com>, Jacob Shin <jacob.shin@....com>,
	Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -v3 14/14] x86, mm: Map ISA area with connected ram range
 at the same time

On Wed, Sep 5, 2012 at 1:02 AM, Pekka Enberg <penberg@...nel.org> wrote:
>
> How significant is the speed gain? The "isa_done" flag makes code flow
> more difficult to follow.

Not really much.

when booting system:
memmap=16m$128m memmap=16m$512m memmap=16m$256m memmap=16m$768m memmap=16m$1024m

with the patch
[    0.000000] init_memory_mapping: [mem 0x00000000-0x07ffffff]
[    0.000000]  [mem 0x00000000-0x07ffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x09000000-0x0fffffff]
[    0.000000]  [mem 0x09000000-0x0fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x11000000-0x1fffffff]
[    0.000000]  [mem 0x11000000-0x1fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x21000000-0x2fffffff]
[    0.000000]  [mem 0x21000000-0x2fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x31000000-0x3fffffff]
[    0.000000]  [mem 0x31000000-0x3fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x41000000-0x7fffdfff]
[    0.000000]  [mem 0x41000000-0x7fdfffff] page 2M
[    0.000000]  [mem 0x7fe00000-0x7fffdfff] page 4k


otherwise will have

[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000]  [mem 0x00000000-0x000fffff] page 4k
[    0.000000] init_memory_mapping: [mem 0x00100000-0x07ffffff]
[    0.000000]  [mem 0x00100000-0x001fffff] page 4k
[    0.000000]  [mem 0x00200000-0x07ffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x09000000-0x0fffffff]
[    0.000000]  [mem 0x09000000-0x0fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x11000000-0x1fffffff]
[    0.000000]  [mem 0x11000000-0x1fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x21000000-0x2fffffff]
[    0.000000]  [mem 0x21000000-0x2fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x31000000-0x3fffffff]
[    0.000000]  [mem 0x31000000-0x3fffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x41000000-0x7fffdfff]
[    0.000000]  [mem 0x41000000-0x7fdfffff] page 2M
[    0.000000]  [mem 0x7fe00000-0x7fffdfff] page 4k
--
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