From: Thomas Hofer <th@monochrom.at>
To: kernelnewbies@nl.linux.org, linux-mm@kvack.org
Subject: Re: Changes in vm_operations_struct 2.2.x => 2.4.x
Date: Thu, 9 Aug 2001 14:24:39 +0200 [thread overview]
Message-ID: <01080914135800.01033@earth> (raw)
In-Reply-To: <3B72357E.1BF85B4B@scs.ch>
Martin Maletinsky wrote (Donnerstag, 9. August 2001 09:02):
> My module allocates a block of memory, and exports that block to user
> space processes, by registering as a character device and
> implementing a mmap file operation, so that user space processes can
> map that memory block into their virtual address space by calling
> mmap().
Would it be possible to do this with shared memory (shmget/shmat)?
What's the advantage of making a device and mmaping it? Sounds
more complicated. (I did only user-space programs as yet, so forgive me
my naivity)
Thomas.
--
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/
prev parent reply other threads:[~2001-08-09 12:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-03 8:01 Changes in vm_operations_struct 2.2.x => 2.4.x Martin Maletinsky
2001-08-08 22:49 ` Ingo Oeser
2001-08-09 7:02 ` Martin Maletinsky
2001-08-09 12:24 ` Thomas Hofer [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=01080914135800.01033@earth \
--to=th@monochrom.at \
--cc=kernelnewbies@nl.linux.org \
--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 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.