<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/mm/bootmem.c, branch v2.6.24</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.24</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.24'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2006-12-07T16:39:44+00:00</updated>
<entry>
<title>[PATCH] remove EXPORT_UNUSED_SYMBOL'ed symbols</title>
<updated>2006-12-07T16:39:44+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2006-12-07T04:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=045f147f3290395661b56b9231fc4d221e150963'/>
<id>urn:sha1:045f147f3290395661b56b9231fc4d221e150963</id>
<content type='text'>
In time for 2.6.20, we can get rid of this junk.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] enable booting a NUMA system where some nodes have no memory</title>
<updated>2006-12-07T16:39:22+00:00</updated>
<author>
<name>Christian Krafft</name>
<email>krafft@de.ibm.com</email>
</author>
<published>2006-12-07T04:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7c309a64d6afa90a0a07813c836ba480aeaeca8c'/>
<id>urn:sha1:7c309a64d6afa90a0a07813c836ba480aeaeca8c</id>
<content type='text'>
When booting a NUMA system with nodes that have no memory (eg by limiting
memory), bootmem_alloc_core tried to find pages in an uninitialized
bootmem_map.  This caused a null pointer access.  This fix adds a check, so
that NULL is returned.  That will enable the caller (bootmem_alloc_nopanic)
to alloc memory on other without a panic.

Signed-off-by: Christian Krafft &lt;krafft@de.ibm.com&gt;
Cc: Christoph Lameter &lt;clameter@engr.sgi.com&gt;
Cc: Andy Whitcroft &lt;apw@shadowen.org&gt;
Cc: Martin Bligh &lt;mbligh@google.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] bootmem: use MAX_DMA_ADDRESS instead of LOW32LIMIT</title>
<updated>2006-09-26T15:48:49+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2006-09-26T06:31:33+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=dfd54cbcc0b834652389ce99b5e656ea5f44a3c1'/>
<id>urn:sha1:dfd54cbcc0b834652389ce99b5e656ea5f44a3c1</id>
<content type='text'>
Introduce ARCH_LOW_ADDRESS_LIMIT which can be set per architecture to
override the 4GB default limit used by the bootmem allocater within
__alloc_bootmem_low() and __alloc_bootmem_low_node().  E.g.  s390 needs a
2GB limit instead of 4GB.

Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] bootmem: miscellaneous coding style fixes</title>
<updated>2006-09-26T15:48:45+00:00</updated>
<author>
<name>Franck Bui-Huu</name>
<email>vagabon.xyz@gmail.com</email>
</author>
<published>2006-09-26T06:31:08+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f71bf0cac730ccb5ebcdf21747db75ae0445ccde'/>
<id>urn:sha1:f71bf0cac730ccb5ebcdf21747db75ae0445ccde</id>
<content type='text'>
It fixes various coding style issues, specially when spaces are useless.  For
example '*' go next to the function name.

Signed-off-by: Franck Bui-Huu &lt;vagabon.xyz@gmail.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] bootmem: use pfn/page conversion macros</title>
<updated>2006-09-26T15:48:45+00:00</updated>
<author>
<name>Franck Bui-Huu</name>
<email>vagabon.xyz@gmail.com</email>
</author>
<published>2006-09-26T06:31:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bbc7b92e337ac349ca917f9bf0b6be4743c14f3a'/>
<id>urn:sha1:bbc7b92e337ac349ca917f9bf0b6be4743c14f3a</id>
<content type='text'>
It also creates get_mapsize() helper in order to make the code more readable
when it calculates the boot bitmap size.

Signed-off-by: Franck Bui-Huu &lt;vagabon.xyz@gmail.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] bootmem: remove useless headers inclusions</title>
<updated>2006-09-26T15:48:45+00:00</updated>
<author>
<name>Franck Bui-Huu</name>
<email>vagabon.xyz@gmail.com</email>
</author>
<published>2006-09-26T06:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e786e86a542ccc1133f333402526ad00b9c088ae'/>
<id>urn:sha1:e786e86a542ccc1133f333402526ad00b9c088ae</id>
<content type='text'>
Signed-off-by: Franck Bui-Huu &lt;vagabon.xyz@gmail.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] bootmem: limit to 80 columns width</title>
<updated>2006-09-26T15:48:45+00:00</updated>
<author>
<name>Franck Bui-Huu</name>
<email>vagabon.xyz@gmail.com</email>
</author>
<published>2006-09-26T06:31:05+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bb0923a66820718f636736b22ce47372f79e3400'/>
<id>urn:sha1:bb0923a66820718f636736b22ce47372f79e3400</id>
<content type='text'>
Signed-off-by: Franck Bui-Huu &lt;vagabon.xyz@gmail.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] bootmem: mark link_bootmem() as part of the __init section</title>
<updated>2006-09-26T15:48:45+00:00</updated>
<author>
<name>Franck Bui-Huu</name>
<email>vagabon.xyz@gmail.com</email>
</author>
<published>2006-09-26T06:31:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=69d49e681d7c7ed864a1ba45efc1e78433df8b9a'/>
<id>urn:sha1:69d49e681d7c7ed864a1ba45efc1e78433df8b9a</id>
<content type='text'>
Signed-off-by: Franck Bui-Huu &lt;vagabon.xyz@gmail.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] mm/bootmem.c: EXPORT_UNUSED_SYMBOL</title>
<updated>2006-07-10T20:24:17+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2006-07-10T11:44:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6d46cc6b9b04dc28a9c5db62db791aeec8ab2ea5'/>
<id>urn:sha1:6d46cc6b9b04dc28a9c5db62db791aeec8ab2ea5</id>
<content type='text'>
This patch marks an unused export as EXPORT_UNUSED_SYMBOL.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] x86_64: Handle empty PXMs that only contain hotplug memory</title>
<updated>2006-04-09T18:53:16+00:00</updated>
<author>
<name>Andi Kleen</name>
<email>ak@suse.de</email>
</author>
<published>2006-04-07T17:49:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a8062231d80239cf3405982858c02aea21a6066a'/>
<id>urn:sha1:a8062231d80239cf3405982858c02aea21a6066a</id>
<content type='text'>
The node setup code would try to allocate the node metadata in the node
itself, but that fails if there is no memory in there.

This can happen with memory hotplug when the hotplug area defines an so
far empty node.

Now use bootmem to try to allocate the mem_map in other nodes.

And if it fails don't panic, but just ignore the node.

To make this work I added a new __alloc_bootmem_nopanic function that
does what its name implies.

TBD should try to use nearby nodes here.  Currently we just use any.
It's hard to do it better because bootmem doesn't have proper fallback
lists yet.

Signed-off-by: Andi Kleen &lt;ak@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
