From: Jerome de Vivie <jerome.devivie@free.fr>
To: Rik van Riel <riel@conectiva.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmap inside kernel memory.
Date: Sun, 09 Feb 2003 14:43:31 +0100 [thread overview]
Message-ID: <3E465B03.19AF64B9@free.fr> (raw)
In-Reply-To: Pine.LNX.4.50L.0302082350190.12742-100000@imladris.surriel.com
Rik van Riel wrote:
>
> On Sun, 9 Feb 2003, Jerome de Vivie wrote:
>
> > Here, do_mmap check if the addresse match inside current process and
> > return me -ENOMEM. Are there others functions which i could use to
> > associate this file and a vmalloc'ed space ?
>
> As I said, you don't want to mmap a file in kernel memory.
> You only have 128 MB of vmalloc space and you don't want to
> waste it.
>
> If you know which addresses within the file you want to
> access, why don't you access them through the page cache
> functions ?
Ok. I will go through the page cache.
regards,
j.
--
Jérôme de Vivie
prev parent reply other threads:[~2003-02-09 12:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-09 0:58 mmap inside kernel memory Jerome de Vivie
2003-02-09 0:00 ` Rik van Riel
2003-02-09 1:50 ` Jerome de Vivie
2003-02-09 1:51 ` Rik van Riel
2003-02-09 13:43 ` Jerome de Vivie [this message]
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=3E465B03.19AF64B9@free.fr \
--to=jerome.devivie@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/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.