public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/16734] New: fopen calls mmap to allocate its buffer
@ 2014-03-21 11:27 dancol at dancol dot org
  2014-06-13  9:18 ` [Bug stdio/16734] " fweimer at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dancol at dancol dot org @ 2014-03-21 11:27 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16734

            Bug ID: 16734
           Summary: fopen calls mmap to allocate its buffer
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: dancol at dancol dot org

ALLOC_BUF in libioP.h unconditionally opens IO streams using mmap. That's silly
and quite inefficient, especially for Emacs, which (via GTK) ends up calling
mmap several times per user interaction.

The message linked below summarizes the problems with the mmap approach and
proposes a patch for using the standard allocator. Can we please revisit this
issue?

https://sourceware.org/ml/libc-alpha/2006-11/msg00061.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-29 16:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-21 11:27 [Bug stdio/16734] New: fopen calls mmap to allocate its buffer dancol at dancol dot org
2014-06-13  9:18 ` [Bug stdio/16734] " fweimer at redhat dot com
2015-02-14 22:55 ` ppluzhnikov at google dot com
2015-02-19 20:49 ` crrodriguez at opensuse dot org
2015-03-08 16:50 ` cvs-commit at gcc dot gnu.org
2015-06-06  9:43 ` neleai at seznam dot cz
2015-06-07  2:27 ` ppluzhnikov at google dot com
2015-08-13  1:57 ` cvs-commit at gcc dot gnu.org
2015-08-13  2:00 ` ppluzhnikov at google dot com
2015-10-29 16:28 ` jsm28 at gcc dot gnu.org

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 read-only IMAP folder(s) and NNTP newsgroup(s).