From: "Benjamin C.R. LaHaise" <blah@kvack.org>
To: Stephane Letz <letz@grame.fr>
Cc: linux-mm@kvack.org
Subject: Re: Accessing shared memory in a kernel module
Date: Tue, 23 May 2000 12:59:44 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.3.96.1000523125806.1878D-100000@kanga.kvack.org> (raw)
In-Reply-To: <v0300780ab55062f164db@[194.5.49.5]>
On Tue, 23 May 2000, Stephane Letz wrote:
> We need to access to shared memory segment in the kernel but not in the
> context of a user space process call. Actually the user application send a
> shared memory cell in the kernel module and "later" (in the context of a
> kernel timer interrupt), the kernel module needs to access the memory cell
> and give it back to another user application.
>
> Any idea?
Without knowing more of what you're trying to do, I'll give the generic
advice of allocate the memory in your driver at startup (open or configure
time) and provide an mmap method -- see the sound drivers et al.
-ben
--
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 parent reply other threads:[~2000-05-23 16:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <v0300780ab55062f164db@[194.5.49.5]>
2000-05-23 16:59 ` Benjamin C.R. LaHaise [this message]
2000-05-23 16:16 Stephane Letz
2000-05-23 16:42 ` 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=Pine.LNX.3.96.1000523125806.1878D-100000@kanga.kvack.org \
--to=blah@kvack.org \
--cc=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