sched_setaffinity hungs 2.6.16-smp
Andrzej Krzysztofowicz
ankry at green.mif.pg.gda.pl
Thu Feb 15 18:34:31 CET 2007
Elan =?iso-8859-1?q?Ruusam=E4e?= wrote:
>
> http://glen.alkohol.ee/pld/aff.c
>
> when this program is ran from SMP kernel (AMD Athlon(tm) 64 X2 Dual Core
> Processor 3800+), it just hungs and goes to D state:
>
> $ ./aff
> cpus: 2
> <DEAD>
>
> in ps:
> $ ps a
> PID TTY STAT TIME COMMAND
> 5594 pts/1 D+ 0:00 ./aff
[ankry at aksjomat ankry]$ g++ aff.c
[ankry at aksjomat ankry]$ ./a.out
cpus: 2
sched_setaffinity said: 0
[ankry at aksjomat ankry]$ uname -a
Linux aksjomat 2.6.8 #1 SMP Tue Oct 19 02:12:43 CEST 2004 x86_64 unknown
unknown PLD Linux
(if it does matter)
--
=======================================================================
Andrzej M. Krzysztofowicz ankry at mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Gdansk University of Technology
More information about the pld-devel-en
mailing list