Searching for a free pid value and inserting the thread into the task
list should be atomic, otherwise the same pid value could be given to 2
threads.
do_fork runs without the BLK, you might have to search for the pid
within the write_lock_irq(&tasklist_lock) block.
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:30 EST