lkml.org 
[lkml]   [2004]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] more i386 head.S cleanups
Matt Mackall wrote:
> On Sat, Apr 03, 2004 at 09:32:07AM -0500, Brian Gerst wrote:
>
>>- Move empty_zero_page and swapper_pg_dir to BSS. This requires that
>>BSS is cleared earlier, but reclaims over 3k that was lost due to page
>>alignment.
>>- Move stack_start, ready, and int_msg, boot_gdt_descr, idt_descr, and
>>cpu_gdt_descr to .data. They were interfering with disassembly while in
>>.text.
>
>
> Nice. Do you mean 3k here or 0x3000?

3 kilobytes apporiximately. Most of the first page was wasted because
swapper_pg_dir aligns to the start of the next page.

>
> On a related note, I've been sitting on this patch which reorders the
> bootstrap code so we can free most of it once we're up:
>

The bootstrap page tables can easily be reclaimed if large pages are
used, but the bootstrap code needs more care, especially with hotplug cpus.

--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.140 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site