diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-08-13 17:59:47 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-08-13 17:59:47 +0200 |
commit | e0d48debedfa27a7a31dd1caf8e23cf71708cf4c (patch) | |
tree | 5f43d76fff8eb4702206638a24486e18aa7032f6 /winsup/cygwin/release/2.2.1 | |
parent | 1e15b467379bccd7a2810dc786fdd23cc056da06 (diff) | |
download | newlib-e0d48debedfa27a7a31dd1caf8e23cf71708cf4c.zip newlib-e0d48debedfa27a7a31dd1caf8e23cf71708cf4c.tar.gz newlib-e0d48debedfa27a7a31dd1caf8e23cf71708cf4c.tar.bz2 |
Fix /proc/cpuinfo topology and cache size info
* autoload.cc (GetLogicalProcessorInformationEx): Import.
(SetThreadGroupAffinity): Import.
* fhandler_proc.cc (add_size): New macro.
(get_msb): New inline function.
(mask_bits): Ditto.
(format_proc_cpuinfo): Drop handling of old CPUs. Check if we're
running on a OS version supporting porcessor groups. If so, use
SetThreadGroupAffinity to set thread affinity. Improve cache info
to include 3rd level cache on Intel CPUs. Improve multi core info.
* wincap.h (wincaps::has_processor_groups): New element.
* wincap.cc: Implement above element throughout.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/release/2.2.1')
-rw-r--r-- | winsup/cygwin/release/2.2.1 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/cygwin/release/2.2.1 b/winsup/cygwin/release/2.2.1 index 3a6da3a..d8453d3 100644 --- a/winsup/cygwin/release/2.2.1 +++ b/winsup/cygwin/release/2.2.1 @@ -5,11 +5,13 @@ What's new: What changed: ------------- -- Revert the following patch from 2.2.0: - When started from a non-Cygwin process, check if $HOME starts with a - slash (absolute POSIX path). Otherwise ignore it. - Bug Fixes --------- +- Revert the following patch from 2.2.0: + When started from a non-Cygwin process, check if $HOME starts with a + slash (absolute POSIX path). Otherwise ignore it. + +- Fix output of /proc/cpuinfo in terms of cpu topology and cache size for + modern CPUs and modern Windows OSes supporting more than 64 logical CPUs. |