is for_each_task broken on SMP?

Chris Sears cbsears en ix.netcom.com
Sab Ene 22 19:27:59 CST 2000


for_each_task skips the first task in the task list, init.

But with SMP, init and only init can be cloned.
In the SMP case, shouldn't it skip pid==1?

kernel/capability.c cap_set_all() gets this right
but every other use of for_each_task
that I checked didn't.

Chris Sears
cbsears en ix.netcom.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda