linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Auguste Mome <augustmome@gmail.com>
To: linux-mm@kvack.org
Subject: way to allocate memory within a range ?
Date: Wed, 24 Feb 2010 01:46:49 +0100	[thread overview]
Message-ID: <17cb70ee1002231646m508f6483mcb667d4e67d9807f@mail.gmail.com> (raw)

Hello,
I'd like to use kmem_cache() system, but need the memory taken from a
specific range if requested, outside the range otherwise.
I think about adding new zone and define new GFP flag to either select or
ignore the zone. Does it sound possible? Then I welcome any hint if you know
where to add the appropriated test in allocator, how to attach the
region to the new zone id).

Or slab/slub system is not designed for this, I should forget it and
opt for another system?

August.

--
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:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2010-02-24  0:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24  0:46 Auguste Mome [this message]
2010-02-24  1:47 ` way to allocate memory within a range ? David Rientjes
2010-02-24 15:35   ` Christoph Lameter
2010-03-21  9:38     ` Auguste Mome
2010-02-24  1:53 ` KAMEZAWA Hiroyuki

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=17cb70ee1002231646m508f6483mcb667d4e67d9807f@mail.gmail.com \
    --to=augustmome@gmail.com \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).