public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@redhat.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Maciej Zenczykowski <maze@druid.if.uj.edu.pl>,
	linux-kernel@vger.kernel.org
Subject: Re: [OT] Wrapping memory.
Date: Sat, 1 Dec 2001 20:52:48 -0500	[thread overview]
Message-ID: <20011201205247.B31466@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0112012249440.15977-100000@druid.if.uj.edu.pl> <E16AIZ8-0008Re-00@the-village.bc.nu>
In-Reply-To: <E16AIZ8-0008Re-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Sat, Dec 01, 2001 at 10:24:58PM +0000

On Sat, Dec 01, 2001 at 10:24:58PM +0000, Alan Cox wrote:
> > Is this at all possible? If so, how would I do this in user space (and
> > could it be done without root priv?)?
> 
> mmap will do what you need. Create a 60K object on disk and mmap it
> at the base address and then 60K further on for 4K. 

And try to use /dev/shm/ first...

		-ben

  reply	other threads:[~2001-12-02  1:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-01 22:03 [OT] Wrapping memory Maciej Zenczykowski
2001-12-01 22:24 ` Alan Cox
2001-12-02  1:52   ` Benjamin LaHaise [this message]
2001-12-02 10:24     ` Christoph Rohland
2001-12-02 17:53   ` David Woodhouse
2001-12-03  7:44     ` Christoph Rohland
2001-12-03  9:11     ` David Woodhouse
2001-12-04 10:40       ` Russell King
2001-12-04 16:39         ` Jamie Lokier
2001-12-04 21:03           ` Russell King
2001-12-04 10:45       ` David Woodhouse
2001-12-04 10:59         ` Russell King

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=20011201205247.B31466@redhat.com \
    --to=bcrl@redhat.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maze@druid.if.uj.edu.pl \
    /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