diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-04-20 17:37:51 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-04-20 17:37:51 +0200 |
commit | e4ba7a600e70bce0065a2fde0f2f85cdee746cfb (patch) | |
tree | f290c50df00f07577021b710e347cd10c8be0b82 /gcc/intl.h | |
parent | 5221d7a91b9d6b674fb473675274099f1da939dd (diff) | |
download | gcc-e4ba7a600e70bce0065a2fde0f2f85cdee746cfb.zip gcc-e4ba7a600e70bce0065a2fde0f2f85cdee746cfb.tar.gz gcc-e4ba7a600e70bce0065a2fde0f2f85cdee746cfb.tar.bz2 |
re PR libgomp/43706 (scheduling two threads on one core leads to starvation)
PR libgomp/43706
* config/linux/affinity.c (gomp_init_affinity): Decrease
gomp_available_cpus if affinity mask confines the process to fewer
CPUs.
* config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is
non-NULL, just return gomp_available_cpus.
From-SVN: r158565
Diffstat (limited to 'gcc/intl.h')
0 files changed, 0 insertions, 0 deletions