All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Sharing memory between kernel and user space
Date: Tue, 30 May 2006 15:46:17 -0700 (PDT)	[thread overview]
Message-ID: <e5ihvp$qd1$1@terminus.zytor.com> (raw)
In-Reply-To: 14CFC56C96D8554AA0B8969DB825FEA0012B331A@chicken.machinevisionproducts.com

Followup to:  <14CFC56C96D8554AA0B8969DB825FEA0012B331A@chicken.machinevisionproducts.com>
By author:    "Brian D. McGrew" <brian@visionpro.com>
In newsgroup: linux.dev.kernel
>
> I have a question about the best way to share memory between user and
> kernel space.
> 

In general, allocate the memory in kernel space (via get_free_page et
al), and make accessible to userspace via mmap on a device node.

	-hpa

  reply	other threads:[~2006-05-30 22:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 22:32 Sharing memory between kernel and user space Brian D. McGrew
2006-05-30 22:46 ` H. Peter Anvin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-30 22:53 Brian D. McGrew
2006-05-30 23:21 ` Christopher Friesen
2006-05-31 12:33 ` Jonathan Corbet
2006-05-31  0:09 Brian D. McGrew
2006-05-31 20:38 Brian D. McGrew

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='e5ihvp$qd1$1@terminus.zytor.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.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.