This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/16734] New: fopen calls mmap to allocate its buffer
- From: "dancol at dancol dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 21 Mar 2014 11:27:42 +0000
- Subject: [Bug stdio/16734] New: fopen calls mmap to allocate its buffer
- Auto-submitted: auto-generated
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.