<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/um/kernel/mem.c, branch linux-2.6.24.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-10-29T14:41:32Z</updated>
<entry>
<title>misc uml annotation and section fixes</title>
<updated>2007-10-29T14:41:32Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2007-10-29T04:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4a08a10b12c145da67cc788849bf7cc6efaa210'/>
<id>urn:sha1:b4a08a10b12c145da67cc788849bf7cc6efaa210</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>uml: get rid of do_longjmp</title>
<updated>2007-10-16T16:43:05Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-10-16T08:27:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fab95c55e3b94e219044dc7a558632d08c198771'/>
<id>urn:sha1:fab95c55e3b94e219044dc7a558632d08c198771</id>
<content type='text'>
do_longjmp used to be needed when UML didn't have its own implementation of
setjmp and longjmp.  They came from libc, and couldn't be called directly from
kernel code, as the libc jmp_buf couldn't be imported there.  do_longjmp was a
userspace function which served to provide longjmp access to kernel code.

This is gone, and a number of void * pointers can now be jmp_buf *.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>uml: more __init annotations</title>
<updated>2007-07-24T19:24:58Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-07-24T01:43:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97a1fcbb20fcbb0177567fd2dbcc6ed1bcc450ce'/>
<id>urn:sha1:97a1fcbb20fcbb0177567fd2dbcc6ed1bcc450ce</id>
<content type='text'>
2.6.23-rc1 turned up another batch of references from non-__init code to
__init code.  In most cases, these were missing __init annotations.  In one
case (os_drop_memory), the annotation was present but wrong.

init_maps is __init, but for some reason was being very careful about the
mechanism by which it allocated memory, checking whether it was OK to use
kmalloc (at this point in the boot, it definitely isn't) and using either
alloc_bootmem_low_pages or kmalloc/vmalloc.  So, the kmalloc/vmalloc code is
removed.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>uml: add missing __init declarations</title>
<updated>2007-05-07T19:13:01Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-05-06T21:51:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36e454630473caa178bcbc4982ed6a68cf002e95'/>
<id>urn:sha1:36e454630473caa178bcbc4982ed6a68cf002e95</id>
<content type='text'>
The build started finding calls from non-init to init functions.  These are
just cases of init functions not being properly marked, so this patch fixes
that.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>uml: remove user_util.h</title>
<updated>2007-05-07T19:13:01Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-05-06T21:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9218b1714949095bff9d9739d80f431d58e561d6'/>
<id>urn:sha1:9218b1714949095bff9d9739d80f431d58e561d6</id>
<content type='text'>
user_util.h isn't needed any more, so delete it and remove all includes of it.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>uml: create as-layout.h</title>
<updated>2007-05-07T19:13:01Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-05-06T21:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ff83ce1114827f707b7f1f4f2e5f69de9df94ac'/>
<id>urn:sha1:4ff83ce1114827f707b7f1f4f2e5f69de9df94ac</id>
<content type='text'>
This patch moves all the the symbols defined in um_arch.c, which are mostly
boundaries between different parts of the UML kernel address space, to a new
header, as-layout.h.  There are also a few things here which aren't really
related to address space layout, but which don't really have a better place to
go.

Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] uml: fix LVM crash</title>
<updated>2007-03-29T15:22:24Z</updated>
<author>
<name>Jason Lunz</name>
</author>
<published>2007-03-29T08:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af84eab208916acad91f6342bbd57bc865caf150'/>
<id>urn:sha1:af84eab208916acad91f6342bbd57bc865caf150</id>
<content type='text'>
Permit lvm to create logical volumes without crashing UML.

When device-mapper's DM_DEV_CREATE_CMD ioctl is called to create a new device,
dev_create()-&gt;dm_create()-&gt;alloc_dev()-&gt; blk_queue_bounce_limit(md-&gt;queue,
BLK_BOUNCE_ANY) is called.

blk_queue_bounce_limit(BLK_BOUNCE_ANY) calls init_emergency_isa_pool() if
blk_max_pfn &lt; blk_max_low_pfn.  This is the case on UML, but
init_emergency_isa_pool() hits BUG_ON(!isa_page_pool) because there doesn't
seem to be a dma zone on UML for mempool_create() to allocate from.

Most architectures seem to have max_low_pfn == max_pfn, but UML doesn't
because of the uml_reserved chunk it keeps for itself.  From what I can see,
max_pfn and max_low_pfn don't get much use after the bootmem-allocator stops
being used anyway, except that they initialize the block layer's
blk_max_low_pfn/blk_max_pfn.

This ensures init_emergency_isa_pool() doesn't crash uml in this situation by
setting max_low_pfn == max_pfn in mem_init().

Signed-off-by: Jason Lunz &lt;lunz@falooley.org&gt;
Signed-off-by: Jeff Dike &lt;jdike@linux.intel.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Cc: Alasdair G Kergon &lt;agk@redhat.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] uml: locking comments in memory and tempfile code</title>
<updated>2007-02-11T18:51:23Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-02-10T09:44:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bf79482f3288e19697d08c456b0bd6b1755d467'/>
<id>urn:sha1:6bf79482f3288e19697d08c456b0bd6b1755d467</id>
<content type='text'>
Locking comments and emacs comment removal in the low-level memory and
temp file code.

Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] uml: mem.c and physmem.c formatting fixes</title>
<updated>2007-02-11T18:51:22Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-02-10T09:44:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60678bbc76685bea47043e61981b8fc5cffc10da'/>
<id>urn:sha1:60678bbc76685bea47043e61981b8fc5cffc10da</id>
<content type='text'>
Fix a bunch of style violations in mem.c and physmem.c

Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] uml: locking comments in iomem driver</title>
<updated>2007-02-11T18:51:22Z</updated>
<author>
<name>Jeff Dike</name>
</author>
<published>2007-02-10T09:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94c282d79e17a83ccc876990e05378ed6dfbccae'/>
<id>urn:sha1:94c282d79e17a83ccc876990e05378ed6dfbccae</id>
<content type='text'>
Comment some lack of locking in the iomem driver.

Also, a couple of variables are in the wrong place, so they are moved.

Signed-off-by: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
