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:42:58 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.3.96.1000523123841.1878C-100000@kanga.kvack.org> (raw)
In-Reply-To: <v03007809b5505bfec2a5@[194.5.49.5]>
On Tue, 23 May 2000, Stephane Letz wrote:
> 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.
Which kernel context -- a kernel thread? Access to shared memory segments
is only possible from the context of a process that has mapped the shared
memory segment into its address space. From such a context, it is
possible to make a kiobuf mapping that locks down the memory and allows
the kernel to access it. It might be easier to solve the problem
differently as memory mapping operations should not be over used.
-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 prev parent reply other threads:[~2000-05-23 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-23 16:16 Stephane Letz
2000-05-23 16:42 ` Benjamin C.R. LaHaise [this message]
[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=Pine.LNX.3.96.1000523123841.1878C-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