This is the mail archive of the cygwin-patches mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, 14 Jul 2006, Corinna Vinschen wrote: > The idea is to have features working for most cases and then > to get it working gradually better. Well, in that spirit then, the attached patch allows read and varients to use untouched noreserve mappings as buffers. If this is accepted, I'll consider doing something similar for recvmsg and recvfrom. That should cover the majority of cases, I believe. 2006-07-17 Brian Ford <Brian.Ford@FlightSafety.com> * winsup.h (mmap_commit_noreserve_pages): New prototype. * mmap.cc (fhandler_base::raw_read): New function. * fhandler.cc (fhandler_base::raw_read): Call it for INVALID_PARAMETER errors, and retry on success to allow reads into untouched MAP_NORESERVE buffers. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... .
Attachment:
read_noreserve.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |