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:	Thu, 13 Mar 2008 20:03:37 -0700
From:	"Yinghai Lu" <yhlu.kernel@...il.com>
To:	"Johannes Weiner" <hannes@...urebad.de>
Cc:	"KAMEZAWA Hiroyuki" <kamezawa.hiroyu@...fujitsu.com>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"Ingo Molnar" <mingo@...e.hu>, "Andi Kleen" <ak@...e.de>,
	"Christoph Lameter" <clameter@....com>,
	linux-kernel@...r.kernel.org,
	"Yasunori Goto" <y-goto@...fujitsu.com>
Subject: Re: [PATCH] mm: make reserve_bootmem can crossed the nodes

On Thu, Mar 13, 2008 at 7:58 PM, Johannes Weiner <hannes@...urebad.de> wrote:
> Hi,
>
>
>  KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> writes:
>
>  > Background:
>  > - reserve_bootmem is called for *reserve* memory before bootmem allocator.
>  > - It specifies <address, size>.
>  > - Because <addrees, size> are argments, memory hole in <address, size> is not
>  >   problem here.
>  >
>  > Before change,
>  > - reseve_bootmem() only works for Node(0)
>  >
>  > After change
>  > - reserve_bootmem() works on sutiable nodes for <address, size>
>  > - It can spread accross among prural nodes.
>
>  After the change it will iterate over all nodes, reserving the range
>  `address to address+size' on each of them.

 +     /* out of range */
 +     if (addr >= bdata->node_boot_start && addr < bdata->last_success)
 +             return;

out of range will bail out...

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