This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Optimizing away "ReadFile" calls when Make calls stat()



> >  Perhaps you could
> >  propose a set of mount flags to optimize common situations?  We
> >  already have one to avoid the read-for-execute test,
> 
> Could you elaborate on that?

$ mount --h
...
-x  treat all files under mount point as executables.

> I think that's a very good idea.  If you tell me a little bit more
> about the read-for-execute mount flag, with which I'm not familiar, I
> can look into implementing a similar thing for symbolic links.

winsup/utils/mount.cc sets it.  <sys/mount.h> defines
MOUNT_CYGWIN_EXEC but look for PATH_ALL_EXEC to see where
it's relevent (in path.{cc,h}).

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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