public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Leber <christian@leber.de>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Problem with remap_page_range/mmap
Date: Fri, 26 Mar 2004 10:36:19 +0100	[thread overview]
Message-ID: <20040326093619.GA15965@core.home> (raw)
In-Reply-To: <20040326071739.B2637@infradead.org>

On Fri, Mar 26, 2004 at 07:17:39AM +0000, Christoph Hellwig wrote:

> You can't call remap_page_range on normal kernel pages.  It works only
> if you mark them PG_reserved, but even that use is usually not a good idea.

It also didn´t work with PG_reserved.
What would be the good idea? I need at least 8 at least 4MB (2MB are enough for 2.4)
big physical memory pieces for DMA, mapped to userspace.

What is the reason why it doesn´t work? There seems to be no special
remap_page_range for ia64.



Christian Leber

-- 
  "Omnis enim res, quae dando non deficit, dum habetur et non datur,
   nondum habetur, quomodo habenda est."       (Aurelius Augustinus)
  Translation: <http://gnuhh.org/work/fsf-europe/augustinus.html>

  reply	other threads:[~2004-03-26  9:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-25 23:48 Problem with remap_page_range/mmap Christian Leber
2004-03-26  7:17 ` Christoph Hellwig
2004-03-26  9:36   ` Christian Leber [this message]
2004-03-26  9:46     ` Christoph Hellwig
2004-03-26  9:58       ` Hugang

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=20040326093619.GA15965@core.home \
    --to=christian@leber.de \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.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