linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Gilles Pokam <pokam@cs.tu-berlin.de>
Cc: linux-mm@kvack.org
Subject: Re: mmap operation
Date: Mon, 10 May 1999 22:19:41 +0100 (BST)	[thread overview]
Message-ID: <14135.19821.176947.167396@dukat.scot.redhat.com> (raw)
In-Reply-To: <199905101602.SAA11187@zange.cs.tu-berlin.de>

Hi,

On Mon, 10 May 1999 18:02:10 +0200 (MET DST), Gilles Pokam
<pokam@cs.tu-berlin.de> said:

> I have implemented a module for buffer management in the 2.0.34 linux
> kernel.  Now i'm using the write and read method for transfering data
> between the kernel and user space. I have noticed that the overhead of
> these 2 operations are quite big, because each time a system call is
> invoked. So i decided to improve my module by implementing the mmap
> operation. The mmap operation works well when mapping only one page
> size. But above this size, for example with an order of at least 1,
> the later operation fails to work! I have noticed that above 4096 (one
> page) bytes the zero page is mapped instead!  Could someone help mee
> solve this problem ? (i use the nopage operation in my mmap method and
> cluster of 16 pages).

The entire VM works by mapping single pages.  It would be a large task
to change this.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

      reply	other threads:[~1999-05-10 21:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-10 16:02 Gilles Pokam
1999-05-10 21:19 ` Stephen C. Tweedie [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=14135.19821.176947.167396@dukat.scot.redhat.com \
    --to=sct@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=pokam@cs.tu-berlin.de \
    /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