From: Stephane Letz <letz@grame.fr>
To: linux-mm@kvack.org
Subject: Accessing shared memory in a kernel module
Date: Tue, 23 May 2000 18:16:58 +0200 [thread overview]
Message-ID: <v03007809b5505bfec2a5@[194.5.49.5]> (raw)
We are developing an application where we need to access shared memory both
in user space and in a kernel module. We use a shared memory segment to
preallocate memory cells which are later communicated between several
applications in user space. These memory cells are time stamped and use a
reference counter. To exchange cells between applications in user space,
they are first inserted in a scheduler (located in a kernel module) to be
delivered to the destination application at the right time.
The kernel module need to access the reference counter field of each cell.
We tried to use standard shmxx functions to manage shared memory and it
work OK in user space, but we can not access the cell content in the kernel
context.
How can that be done?
Thanks in advance for any advice
Stephane Letz
Grame: Centre National de creation musicale
9, Rue du Garet
69001 Lyon
Tel: 04-72-07-37-00
Fax: 04-72-07-37-01
Web: www.grame.fr
--
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 reply other threads:[~2000-05-23 16:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-23 16:16 Stephane Letz [this message]
2000-05-23 16:42 ` Benjamin C.R. LaHaise
[not found] <v0300780ab55062f164db@[194.5.49.5]>
2000-05-23 16:59 ` Benjamin C.R. LaHaise
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='v03007809b5505bfec2a5@[194.5.49.5]' \
--to=letz@grame.fr \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox