All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Leandro Motta Barros <lmb@exatas.unisinos.br>, linux-mm@kvack.org
Cc: sisopiii-l@cscience.org
Subject: Re: Freeing boot memory
Date: Tue, 16 Sep 2003 14:17:57 -0700	[thread overview]
Message-ID: <3540000.1063747077@flay> (raw)
In-Reply-To: <200309161817.37802.lmb@exatas.unisinos.br>

> I and a colleague are studying the VM subsystem (actually this is the first 
> time we are examining the Linux source code more closely) and have a question 
> or two.
> 
> Well, the questions concern the boot memory allocator. To be more precise, 
> We're interested in the memory deallocation routines. We have seen that it is 
> only possible to free full pages. So, theoretically, if we make several 
> allocations smaller than one page, we will not be able to actually free this 
> memory. I just don't know of this kind of situation happens in real life. Do 
> we currently have some pages of memory "wasted" because the boot memory 
> allocator was not able to free small allocations? Is there any estimate (or 
> benchmark or whatever) on the number of pages that could be freed but are 
> not?
> 
> We have interest in hacking a little bit in the VM, and we thought that trying 
> to find out ways to avoid this problem (if this is really a problem) could be 
> nice. Do you have any thoughts about this?

What would you *do* with this half a page? There's no main memory allocator
to stick it in, as far as I can see.

M.

--
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-09-16 21:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 21:17 Freeing boot memory Leandro Motta Barros
2003-09-16 21:17 ` Martin J. Bligh [this message]
2003-09-16 21:34 ` William Lee Irwin III

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=3540000.1063747077@flay \
    --to=mbligh@aracnet.com \
    --cc=linux-mm@kvack.org \
    --cc=lmb@exatas.unisinos.br \
    --cc=sisopiii-l@cscience.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.