<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/vmlinux_32.lds.S, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-17T21:16:02Z</updated>
<entry>
<title>x86-32: move _end to a dummy section</title>
<updated>2009-03-17T21:16:02Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2009-03-17T21:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a699af8e613a670be50245366fa18cb19ac5172'/>
<id>urn:sha1:0a699af8e613a670be50245366fa18cb19ac5172</id>
<content type='text'>
Impact: build fix with CONFIG_RELOCATABLE

Move _end into a dummy section, so that relocs.c will know it is a
relocatable symbol.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
Cc: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
Cc: Jeremy Fitzhardinge &lt;jeremy@goop.org&gt;
</content>
</entry>
<entry>
<title>x86/brk: put the brk reservations in their own section</title>
<updated>2009-03-17T19:58:15Z</updated>
<author>
<name>Jeremy Fitzhardinge</name>
</author>
<published>2009-03-15T06:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=704439ddf9f8ff1fc8c6d8abaac4bc4c95697e39'/>
<id>urn:sha1:704439ddf9f8ff1fc8c6d8abaac4bc4c95697e39</id>
<content type='text'>
Impact: disambiguate real .bss variables from .brk storage

Add a .brk section after the .bss section.  This has no effect
on the final vmlinux, but it more clearly distinguishes the space
taken by actual .bss symbols, and the variable space reserved
by .brk users.

Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
</content>
</entry>
<entry>
<title>x86: put initial_pg_tables into .bss</title>
<updated>2009-03-15T00:23:47Z</updated>
<author>
<name>Yinghai Lu</name>
</author>
<published>2009-03-09T08:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bd2753ff46346543ab92e80df9d96366e21baa5'/>
<id>urn:sha1:2bd2753ff46346543ab92e80df9d96366e21baa5</id>
<content type='text'>
Impact: makes vmlinux section information more useful

Don't use ram after _end blindly for pagetables. aka init pages is before _end
put those pg table into .bss

[Adapted to use brk segment - Jeremy]

v2: keep initial page table up to 512M only.
v4: put initial page tables just before _end

Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86: allow extend_brk users to reserve brk space</title>
<updated>2009-03-15T00:23:47Z</updated>
<author>
<name>Jeremy Fitzhardinge</name>
</author>
<published>2009-03-12T23:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=796216a57fe45c04adc35bda1f0782efec78a713'/>
<id>urn:sha1:796216a57fe45c04adc35bda1f0782efec78a713</id>
<content type='text'>
Impact: new interface; remove hard-coded limit

Add RESERVE_BRK(name, size) macro to reserve space in the brk
area.  This should be a conservative (ie, larger) estimate of
how much space might possibly be required from the brk area.
Any unused space will be freed, so there's no real downside
on making the reservation too large (within limits).

The name should be unique within a given file, and somewhat
descriptive.

The C definition of RESERVE_BRK() ends up being more complex than
one would expect to work around a cluster of gcc infelicities:

  The first attempt was to simply try putting __section(.brk_reservation)
  on a variable.  This doesn't work because it ends up making it a
  @progbits section, which gets actual space allocated in the vmlinux
  executable.

  The second attempt was to emit the space into a section using asm,
  but gcc doesn't allow arguments to be passed to file-level asm()
  statements, making it hard to pass in the size.

  The final attempt is to wrap the asm() in a function to allow
  it to have arguments, and put the function itself into the
  .discard section, which vmlinux*.lds drops entirely from the
  emitted vmlinux.

Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86-32: use brk segment for allocating initial kernel pagetable</title>
<updated>2009-03-15T00:23:47Z</updated>
<author>
<name>Jeremy Fitzhardinge</name>
</author>
<published>2009-02-27T21:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccf3fe02e35f4abca2589f99022cc25084bbd8ae'/>
<id>urn:sha1:ccf3fe02e35f4abca2589f99022cc25084bbd8ae</id>
<content type='text'>
Impact: use new interface instead of previous ad hoc implementation

Rather than having special purpose init_pg_table_start/end variables
to delimit the kernel pagetable built by head_32.S, just use the brk
mechanism to extend the bss for the new pagetable.

This patch removes init_pg_table_start/end and pg0, defines __brk_base
(which is page-aligned and immediately follows _end), initializes
the brk region to start there, and uses it for the 32-bit pagetable.

Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86: add brk allocation for very, very early allocations</title>
<updated>2009-03-14T22:37:14Z</updated>
<author>
<name>Jeremy Fitzhardinge</name>
</author>
<published>2009-02-27T01:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93dbda7cbcd70a0bd1a99f39f44a9ccde8ab9040'/>
<id>urn:sha1:93dbda7cbcd70a0bd1a99f39f44a9ccde8ab9040</id>
<content type='text'>
Impact: new interface

Add a brk()-like allocator which effectively extends the bss in order
to allow very early code to do dynamic allocations.  This is better than
using statically allocated arrays for data in subsystems which may never
get used.

The space for brk allocations is in the bss ELF segment, so that the
space is mapped properly by the code which maps the kernel, and so
that bootloaders keep the space free rather than putting a ramdisk or
something into it.

The bss itself, delimited by __bss_stop, ends before the brk area
(__brk_base to __brk_limit).  The kernel text, data and bss is reserved
up to __bss_stop.

Any brk-allocated data is reserved separately just before the kernel
pagetable is built, as that code allocates from unreserved spaces
in the e820 map, potentially allocating from any unused brk memory.
Ultimately any unused memory in the brk area is used in the general
kernel memory pool.

Initially the brk space is set to 1MB, which is probably much larger
than any user needs (the largest current user is i386 head_32.S's code
to build the pagetables to map the kernel, which can get fairly large
with a big kernel image and no PSE support).  So long as the system
has sufficient memory for the bootloader to reserve the kernel+1MB brk,
there are no bad effects resulting from an over-large brk.

Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86: use _types.h headers in asm where available</title>
<updated>2009-02-13T19:35:01Z</updated>
<author>
<name>Jeremy Fitzhardinge</name>
</author>
<published>2009-02-13T19:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0341c14da49e7b93d2998926f6ac89a3129e3fa1'/>
<id>urn:sha1:0341c14da49e7b93d2998926f6ac89a3129e3fa1</id>
<content type='text'>
In general, the only definitions that assembly files can use
are in _types.S headers (where available), so convert them.

Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
</content>
</entry>
<entry>
<title>x86: make vmlinux_32.lds.S use PERCPU() macro</title>
<updated>2009-01-16T13:19:09Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2009-01-13T11:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a698c823e15149941b0f0281527d0c0d1daf2639'/>
<id>urn:sha1:a698c823e15149941b0f0281527d0c0d1daf2639</id>
<content type='text'>
Make vmlinux_32.lds.S use the generic PERCPU() macro instead of open
coding it.  This will ease future changes.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>tracing/function-graph-tracer: add a new .irqentry.text section, fix</title>
<updated>2008-12-12T11:14:05Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2008-12-12T11:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bed8446819a7c5033aa1da138d9f230ae212edc'/>
<id>urn:sha1:2bed8446819a7c5033aa1da138d9f230ae212edc</id>
<content type='text'>
Impact: build fix

32-bit x86 needs this section too.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge commit '63cc8c75156462d4b42cbdd76c293b7eee7ddbfe':</title>
<updated>2008-09-05T07:24:30Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2008-09-05T07:24:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3d0ba7b8fb8f57c33207adcb41f40c176148c03'/>
<id>urn:sha1:d3d0ba7b8fb8f57c33207adcb41f40c176148c03</id>
<content type='text'>
  "percpu: introduce DEFINE_PER_CPU_PAGE_ALIGNED() macro"

into x86/core

Conflicts:
	arch/x86/kernel/cpu/common.c

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
