On Jan 12 13:03, jdzstz - gmail dot com wrote:
> Maybe an implementation option could be:
>
> 1) Standard advices that only has a influence in application
> performance, can be executed as current posix_madvise, checking only
> the parameters and doing nothing => MADV_NORMAL, MADV_SEQUENTIAL,
> M
I have readed again the Linux man page
http://www.kernel.org/doc/man-pages/online/pages/man2/madvise.2.html
and perhaps the first text is outdated.
At the beginning of man page it says that:
"This call does not influence the semantics of the application (except
in the case of MADV_DONTNEED), but m
On Jan 11 20:12, jdzstz - gmail dot com wrote:
> I have read cygwin "posix_madvise" code, that is in "mmap.cc" file and
> "madvise" linux code and posix especification:
> * CYGWIN => mmap.cc file:
> http://cygwin.com/cgi-bin/cvsweb.cgi/~checkout~/src/winsup/cygwin/mmap.cc?cvsroot=src
> * LINU
I have read cygwin "posix_madvise" code, that is in "mmap.cc" file and
"madvise" linux code and posix especification:
* CYGWIN => mmap.cc file:
http://cygwin.com/cgi-bin/cvsweb.cgi/~checkout~/src/winsup/cygwin/mmap.cc?cvsroot=src
* LINUX => madvise man:
http://www.kernel.org/doc/man-pages/onl
On 01/11/2011 04:13 AM, jdzstz - gmail dot com wrote:
> Testing a linux application that uses "madvise", varnish cache, I have
> realized that in cygwin doesnot exists this function but exists the
> alternative "posix_madvise".
>
> Adding inside configure.ac script:
> + AC_DEFINE([madv
Testing a linux application that uses "madvise", varnish cache, I have
realized that in cygwin doesnot exists this function but exists the
alternative "posix_madvise".
Adding inside configure.ac script:
+ AC_DEFINE([madvise], [posix_madvise], [In CYGWIN, madvise
function
is not defi
6 matches
Mail list logo