linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: Anand Eswaran <aeswaran@andrew.cmu.edu>, Linux-MM@kvack.org
Subject: Re: Free list initialization
Date: Wed, 6 Aug 2003 16:49:18 -0700	[thread overview]
Message-ID: <20030806234918.GN8121@holomorphy.com> (raw)
In-Reply-To: <739780000.1060211566@flay>

On Wed, Aug 06, 2003 at 04:12:46PM -0700, Martin J. Bligh wrote:
> Suggest you start at free_all_bootmem. IIRC, basically we just call a 
> free on every page we have, and the normal buddy free routines populate
> the lists. Not very efficient, but who cares? ... it's boottime! ;-)

If it ever turns out that someone does care, I've gone through and done
useful things like freeing higher-order pages at a time for both
bootmem.c and highmem (as isolated patches) I could resurrect if the
issue ever arises in the field.

The whole affair is still asymptotically O(pages) since the coremap
initialization still touches every struct page, so there aren't large
amounts of improvement that can be made without dynamically allocating
coremap elements (which raises more issues than it resolves, though
there are valid reasons to want to do it beyond this).


-- wli
--
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>

  reply	other threads:[~2003-08-06 23:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-06 22:32 Anand Eswaran
2003-08-06 23:12 ` Martin J. Bligh
2003-08-06 23:49   ` William Lee Irwin III [this message]
2003-08-07 11:51 ` Mel Gorman

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=20030806234918.GN8121@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=Linux-MM@kvack.org \
    --cc=aeswaran@andrew.cmu.edu \
    --cc=mbligh@aracnet.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