From: Brian Gerst <bgerst@didntduck.org>
To: Matt Mackall <mpm@selenic.com>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org,
Zwane Mwaikambo <zwane@linuxpower.ca>
Subject: Re: [PATCH] more i386 head.S cleanups
Date: Sat, 03 Apr 2004 17:48:13 -0500 [thread overview]
Message-ID: <406F3F2D.20301@quark.didntduck.org> (raw)
In-Reply-To: <20040403160226.GY6248@waste.org>
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
next prev parent reply other threads:[~2004-04-03 22:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-03 14:32 [PATCH] more i386 head.S cleanups Brian Gerst
2004-04-03 16:02 ` Matt Mackall
2004-04-03 22:48 ` Brian Gerst [this message]
2004-04-03 23:51 ` Zwane Mwaikambo
2004-04-15 14:14 ` Coywolf Qi Hunt
2004-04-15 14:19 ` Randy.Dunlap
2004-04-15 20:58 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=406F3F2D.20301@quark.didntduck.org \
--to=bgerst@didntduck.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=zwane@linuxpower.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox