Re: [patch] proposed fix for ptrace() SMP race

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Sep 06 2001 - 20:41:11 EST


> +#ifdef CONFIG_SMP
> + rmb(); /* read child->has_cpu after child->state */
> + while (child->has_cpu);
                rep_nop();

otherwise your PIV will overheat
-
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 : Fri Sep 07 2001 - 21:00:38 EST