newlib-cygwin/winsup/cygwin/release
Corinna Vinschen 38fd7ddb79 Allow sysconf to return CPU cache information
* include/sys/unistd.h (_SC_LEVEL*): Add cache-related variables as
        on Linux.

        * fhandler_proc.cc (format_proc_cpuinfo): Fetch cache information
        from new cache functions in sysconf.cc, get_cpu_cache_intel and
        get_cpu_cache_amd.
        * sysconf.cc (__nt_query_system): New local helper.
        (get_nproc_values): Utilize __nt_query_system on pre-Windows 7 systems.
        Use GetLogicalProcessorInformationEx otherwise to handle more than
        64 CPUs.  Only handle _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN.
        (get_phys_pages): New helper to handle _SC_PHYS_PAGES.
        (cpuid2_cache_descriptor): New array to map Intel CPUID 2 descriptor
        values to cache type, cache size, associativity and linesize.
        (cpuid2_cache_desc_compar): Comparision function for bsearch over
        cpuid2_cache_descriptor.
        (get_cpu_cache_intel_cpuid2): New function to fetch cache info from
        Intel CPUID 2.
        (get_cpu_cache_intel_cpuid4): Ditto from Intel CPUID 4.
        (get_cpu_cache_intel): New function as CPU-specific entry point.
        (assoc): New array to map associativity values from AMD CPUID
        0x80000006.
        (get_cpu_cache_amd): New function to fetch cache info from AMD CPUIDs
        0x80000005 and 0x80000006.
        (get_cpu_cache): New function to fetch cache info.
        (sca): Call get_phys_pages if _SC_PHYS_PAGES is requested.  Call
        get_cpu_cache for new _SC_* cache requests.
        (SC_MAX): Set to _SC_LEVEL4_CACHE_LINESIZE.
        (get_phys_pages(void)): Call get_phys_pages(int).
        * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

        * new-features.xml (ov-new2.3): Document sysconf cache addition.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-08-29 09:16:47 +02:00
..
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
1.7.17
1.7.18
1.7.19
1.7.20
1.7.21 *** empty log message *** 2013-07-15 10:04:03 +00:00
1.7.22 * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible. 2013-07-21 19:28:45 +00:00
1.7.23 *** empty log message *** 2013-07-31 10:32:46 +00:00
1.7.24 * include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce 2013-08-14 11:44:23 +00:00
1.7.25 *** empty log message *** 2013-08-30 21:42:40 +00:00
1.7.26 * syscalls.cc (try_to_bin): Take additional parameter to get file open 2013-11-27 14:27:34 +00:00
1.7.27 *** empty log message *** 2013-12-08 13:38:27 +00:00
1.7.28 *** empty log message *** 2014-01-27 21:25:39 +00:00
1.7.29 release/1.7.29 2014-04-07 11:41:49 +00:00
1.7.30 *** empty log message *** 2014-05-23 07:15:30 +00:00
1.7.31 *** empty log message *** 2014-07-18 12:28:00 +00:00
1.7.32 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33. 2014-08-13 17:38:47 +00:00
1.7.33 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34. 2014-11-13 13:10:26 +00:00
1.7.34 * common.din (wcstold): Export. 2015-02-04 11:03:36 +00:00
1.7.35 * msg.cc: Throughout, drop raising SIGSYS if cygserver is not running. 2015-03-03 17:09:30 +00:00
2.0.0 Document previous unlink patch 2015-04-23 22:04:59 +02:00
2.0.1 Bump minor DLL version to 1 2015-04-30 17:53:15 +02:00
2.0.3 Add Cygwin 2.0.3 release file 2015-06-03 13:38:19 +02:00
2.0.4 Evaluate /proc/$PID/{root,cwd,cmdline} for native processes 2015-06-08 21:48:13 +02:00
2.1.0 tzset: Check timezone and country case-insensitive 2015-07-08 10:25:49 +02:00
2.2.0 Cygwin: Fix x86_64 memcpy/memset for n > 2GB 2015-07-29 22:09:34 +02:00
2.2.1 Cygwin: Return port number from getservent in network byte order 2015-08-18 13:12:07 +02:00
2.3.0 Allow sysconf to return CPU cache information 2015-08-29 09:16:47 +02:00