Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Jason Gunthorpe <jgg@debian.org>
Cc: Phil Thompson <phil@river-bank.demon.co.uk>, linux-mips@oss.sgi.com
Subject: Re: Generic DISCONTIGMEM Support on 32bit MIPS
Date: Fri, 25 Jan 2002 13:52:01 -0800	[thread overview]
Message-ID: <20020125135201.I872@holomorphy.com> (raw)
In-Reply-To: <Pine.LNX.3.96.1020125141828.5657B-100000@wakko.deltatee.com>; from jgg@debian.org on Fri, Jan 25, 2002 at 02:20:33PM -0700

On Fri, 25 Jan 2002, Phil Thompson wrote:
>> The first question is: has anybody already done this? Particularly as,
>> once you've identified where the holes are, the code isn't board
>> specific.

On Fri, Jan 25, 2002 at 02:20:33PM -0700, Jason Gunthorpe wrote:
> Is this of any help?
> http://kt.zork.net/kernel-traffic/kt20011112_141.html#6
> William Irwin [*] announced:
> A number of people have expressed a wish to replace the bitmap-based
> bootmem allocator with one that tracks ranges explicitly. I have written
> such a replacement in order to deal with some of the situations I have
> encountered. 
> [...]

I ran into some code acceptance issues in three places:
(1) I used trees
(2) I didn't go about changing the arch-specific code to
	actually simplify the calling sequence as it appeared
	in arch-specific code.
(3) it is a whole-hog rewrite of bootmem.c, which perhaps attracted
	flak from the original author

The last bits of this I released are in:
	ftp://ftp.kernel.org/pub/linux/kernel/people/wli/bootmem/

I'm not sure it addresses all the issues that arise here -- largely
it just avoids some code complexity in laying out the bootmem bitmaps.

DISCONTIGMEM as I understand it just minimally adjusts the core bootmem
so it can handle things at all, and then focuses on the actual hard
parts needed for things to work well on larger systems.

(Of course, that's an extremely vague description of the difference, but
I won't go about reciting featuresets aside from this high-level stuff.)

Cheers,
Bill

      reply	other threads:[~2002-01-25 22:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25 16:10 Generic DISCONTIGMEM Support on 32bit MIPS Phil Thompson
2002-01-25 20:44 ` Ralf Baechle
2002-01-26 10:37   ` Phil Thompson
2002-01-25 21:20 ` Jason Gunthorpe
2002-01-25 21:52   ` William Lee Irwin III [this message]

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=20020125135201.I872@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=jgg@debian.org \
    --cc=linux-mips@oss.sgi.com \
    --cc=phil@river-bank.demon.co.uk \
    /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