From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: Timur Tabi <ttabi@interactivesi.com>
Cc: Linux MM mailing list <linux-mm@kvack.org>
Subject: Re: Allocating a page of memory with a given physical address
Date: Fri, 9 Jun 2000 23:20:58 +0200 [thread overview]
Message-ID: <20000609232058.C28878@pcep-jamie.cern.ch> (raw)
In-Reply-To: <20000608235235Z131165-283+94@kanga.kvack.org>; from ttabi@interactivesi.com on Thu, Jun 08, 2000 at 06:29:07PM -0500
Timur Tabi wrote:
> My idea is to create a new API, call it alloc_phys() or get_phys_page() or
> whatever, that will scan the ???? (whatever the virtual memory manager calls
> those things that keep track of unused virtual memory) until it finds a block
> that points to the given physical address. It then allocates that particular
> block.
Even if you implement that, there will be times when you simply can't
have the page. Sometimes the current owner of the page can't allow it
to be moved. This happens for vmalloc()ed memory and user processes
that that use mlock(). This includes MP3 players and security
products...
-- Jamie
--
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.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-06-09 21:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-08 21:44 Timur Tabi
2000-06-08 21:47 ` Stephen C. Tweedie
2000-06-08 21:58 ` Timur Tabi
2000-06-08 22:15 ` Juan J. Quintela
2000-06-08 22:27 ` Timur Tabi
2000-06-08 23:03 ` Stephen C. Tweedie
2000-06-08 23:09 ` Rik van Riel
2000-06-08 23:29 ` Timur Tabi
2000-06-09 21:20 ` Jamie Lokier [this message]
2000-06-09 23:04 ` Timur Tabi
2000-06-09 21:34 ` Rik van Riel
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=20000609232058.C28878@pcep-jamie.cern.ch \
--to=lk@tantalophile.demon.co.uk \
--cc=linux-mm@kvack.org \
--cc=ttabi@interactivesi.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