From: Alex Williamson <alex.williamson@hp.com>
To: Christoph Lameter <christoph@lameter.com>
Cc: Andi Kleen <ak@suse.de>, Bob Picco <bob.picco@hp.com>,
linux-mm@kvack.org, manfred@colorfullife.com,
linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH] Early kmalloc/kfree
Date: Mon, 11 Jul 2005 09:41:17 -0600 [thread overview]
Message-ID: <1121096477.28557.60.camel@tdi> (raw)
In-Reply-To: <Pine.LNX.4.62.0507091801170.22975@graphe.net>
On Sat, 2005-07-09 at 18:06 -0700, Christoph Lameter wrote:
> On Fri, 9 Jul 2005, Andi Kleen wrote:
>
> > I think that is a really really bad idea. slab is already complex enough
> > and adding scary hacks like this will probably make it collapse
> > under its own weight at some point.
>
> Seconded.
>
> Maybe we can solve this by bringing the system up in a limited
> configuration and then discover additional capabilities during ACPI
> discovery and reconfigure.
From a user perspective of the memory allocators, I liked this idea
of making the transition from bootmem to slab be transparent. It's
currently extremely difficult to have any kind of service span the
transition when there doesn't even appear to be a programmatic way to
know which one to use.
The original problem Bob and I were trying to solve is simply how to
automatically deal with a system that may or may not have an IOMMU that
if it exists, is only discoverable in ACPI namespace. Getting ACPI
namespace available by paginig_init() makes this relatively easy because
the memory zones can be setup properly for the hardware available. If
we wait till after that point, we'll need to figure out how to
re-balance the dma and normal zones to make memory allocations
efficient.
I agree that ACPI is potentially a slippery slope, and many pieces of
it are impractical for early use. I think this can be controlled by
using common early setup services in the ACPI subsystem that limit what
components get initialized. That said, I'm open to other suggestions on
how we might reconfigure the system later to accomplish this task.
Thanks,
Alex
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2005-07-11 15:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050708203807.GG27544@localhost.localdomain.suse.lists.linux.kernel>
2005-07-08 22:35 ` Andi Kleen
2005-07-10 1:06 ` Christoph Lameter
2005-07-11 15:41 ` Alex Williamson [this message]
2005-07-08 20:38 Bob Picco
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=1121096477.28557.60.camel@tdi \
--to=alex.williamson@hp.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=bob.picco@hp.com \
--cc=christoph@lameter.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=manfred@colorfullife.com \
/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