zsh-workers
 help / color / mirror / code / Atom feed
From: Timothy Writer <tim@starnix.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: zsh and memory
Date: 16 Dec 1999 13:01:02 -0500	[thread overview]
Message-ID: <m3wvqeahpd.fsf@ganesh.ftlsol.com> (raw)
In-Reply-To: Sven Wischnowsky's message of "Thu, 16 Dec 1999 11:39:48 +0100 (MET)"

Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

> I wrote:
> 
> > I'm really tempted to allocate heaps using mmap()
> > (anonymous) to get them out of the way of the zalloc() allocator. I
> > small test showed that with this I only get 39KB of free memory after
> > the completion test, which is really not too bad. I don't have a patch 
> > for that yet, though.
> 
> ... and now I don't think I'll ever write one: neither Solaris nor
> Linux seem to have MAP_ANONYMOUS. Sniff.

Hmmm ... how are you calling mmap exactly?  I've definitely used
MAP_ANONYMOUS on Linux (as far back as kernel 1.3) and I think I've used it
on Solaris too.  Linux doesn't have shared anonymous mappings, i.e. you have
to use MAP_PRIVATE with MAP_ANONYMOUS.

-- 
tim writer <tim@starnix.com>                                  starnix inc.
tollfree: 1-87-pro-linux                         brampton, ontario, canada
http://www.starnix.com              professional linux services & products


  parent reply	other threads:[~1999-12-16 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-16 10:39 Sven Wischnowsky
1999-12-16 11:16 ` Mike Fletcher
1999-12-16 18:01 ` Timothy Writer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-17 11:49 Sven Wischnowsky
1999-12-17 10:40 Sven Wischnowsky
1999-12-16  9:56 Sven Wischnowsky
1999-12-17  7:16 ` Bart Schaefer

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=m3wvqeahpd.fsf@ganesh.ftlsol.com \
    --to=tim@starnix.com \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).