_IO_file_underflow_mmap read call for atime

Ulrich Drepper drepper@redhat.com
Tue Jul 30 16:38:00 GMT 2002


Jakub Jelinek wrote:

> Fine, cannot we mmap at the time of the first read then (and if fall back to
> non-mmap stdio if that is not possible)?

The current code decides at startup time whether to use the mmap 
functions or not.  It would be conceivable to delay this but it makes 
things more complicated.  If you want to give it a try feel free.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list