All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Rohland <cr@sap.com>
To: Benjamin LaHaise <bcrl@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Maciej Zenczykowski <maze@druid.if.uj.edu.pl>,
	linux-kernel@vger.kernel.org
Subject: Re: [OT] Wrapping memory.
Date: 02 Dec 2001 11:24:56 +0100	[thread overview]
Message-ID: <m3u1vaauwr.fsf@linux.local> (raw)
In-Reply-To: <Pine.LNX.4.33.0112012249440.15977-100000@druid.if.uj.edu.pl> <E16AIZ8-0008Re-00@the-village.bc.nu>	<20011201205247.B31466@redhat.com>
In-Reply-To: <20011201205247.B31466@redhat.com>

Hi Benjamin,

On Sat, 1 Dec 2001, Benjamin LaHaise wrote:
>> 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...

If you can live with glibc >= 2.2 and kernel 2.4 you should use
shm_open, shm_unlink for object creation and deletion.

Greetings
		Christoph



  reply	other threads:[~2001-12-02 10:31 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
2001-12-02 10:24     ` Christoph Rohland [this message]
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=m3u1vaauwr.fsf@linux.local \
    --to=cr@sap.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bcrl@redhat.com \
    --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 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.