This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _IO_file_underflow_mmap read call for atime


> 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)?

That seems more desireable to me anyway.  As it stands, a program that just
calls fopen and then fileno and does not io, or just uses fopen+fclose to
test existence (I have seen such things) will map in the contents of the
file when that's never required at all. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]