Corinna Vinschen
35d5d87540
Implement POSIX_MADV_WILLNEED/POSIX_MADV_DONTNEED for newer OSes
* autoload.cc (DiscardVirtualMemory): Import.
(PrefetchVirtualMemory): Import.
* mmap.cc (posix_madvise): Actually implement POSIX_MADV_WILLNEED
utilizing PrefetchVirtualMemory and POSIX_MADV_DONTNEED utilizing
DiscardVirtualMemory on systems supporting them.
* wincap.h (wincaps::has_broken_prefetchvm): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Make sure has_broken_prefetchvm is only true on
W10 under WOW64.
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MAJOR): Bump to 2003.
(CYGWIN_VERSION_API_MINOR): Reset to 0.
* new-features.xml (ov-new2.3): New section, document posix_madvise
POSIX_MADV_WILLNEED/POSIX_MADV_DONTNEED change.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-08-27 13:34:25 +02:00
..
2013-01-21 04:38:31 +00:00
2015-04-27 14:40:27 +02:00
2013-04-23 09:44:36 +00:00
2015-08-27 13:34:25 +02:00
2012-06-06 04:45:48 +00:00
2013-01-21 04:38:31 +00:00
2014-01-18 11:37:55 +00:00
2015-04-23 21:57:11 +02:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2012-06-06 04:45:48 +00:00
2013-02-21 03:15:47 +00:00
2014-11-25 11:42:20 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-11-28 10:00:01 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-11-19 13:29:37 +00:00
2013-01-21 04:38:31 +00:00
2012-02-07 17:15:07 +00:00
2014-08-01 15:48:37 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2015-07-17 14:31:12 +02:00
2013-01-21 04:38:31 +00:00