From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: PATCH: fail to improve psymtab memory consumption
Date: Tue, 24 Jul 2001 10:57:00 -0000 [thread overview]
Message-ID: <20010724135745.E781@redhat.com> (raw)
In-Reply-To: <o5ofqal07a.fsf@toenail.toronto.redhat.com>
On Tue, Jul 24, 2001 at 01:13:29PM -0400, Frank Ch. Eigler wrote:
>cgf wrote:
>: [...] FWIW, Cygwin's mmap is not 100% compliant with UNIX. [...]
>
>Right, but for the use which dberlin has in mind (vanilla mapping of
>plain file pages into memory), Cygwin's implementation has been quite
>satisfactory in other projects. Is even this vanilla use of mmap
>controversial among modern UNIX boxes?
I'm just raising the flag. As soon as we start using mmap, I *know*
that there will be thoughts along the line of "Hmm. We're already using
mmap. If I use MAP_PRIVATE here, then it will be a big performance
win!"
Historically, cygwin has been an afterthought in gcc, and to some extent
in gdb.
As far as problems with mmap on UNIX systems go, the only system I can
recall having real problems with is Ultrix. That's not a modern system,
but it is still listed in configure.host.
>(Yeah, but they do more clever things with mmap to support their
>internal garbage collection scheme.)
I don't think that the gcc use was all that unusual. It just exercised
underdeveloped parts of cygwin's mmap.
cgf
prev parent reply other threads:[~2001-07-24 10:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010720212013.7DA695E9D8@zwingli.cygnus.com>
2001-07-20 15:17 ` Daniel Berlin
2001-07-20 22:22 ` Jim Blandy
2001-07-20 23:17 ` Daniel Berlin
2001-07-21 8:50 ` Jim Blandy
2001-07-23 20:36 ` Andrew Cagney
2001-07-23 22:15 ` Daniel Berlin
2001-07-24 7:49 ` Andrew Cagney
2001-07-24 9:47 ` Daniel Berlin
2001-07-24 9:16 ` Kevin Buettner
2001-07-24 9:35 ` Christopher Faylor
2001-07-24 10:13 ` Frank Ch. Eigler
2001-07-24 10:57 ` Christopher Faylor [this message]
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=20010724135745.E781@redhat.com \
--to=cgf@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/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