Re: 2.6.16-rc6-mm2

From: Andi Kleen
Date: Tue Jun 13 2006 - 01:46:59 EST



> You can't do this in general, because CPU hotplug will reset the
> affinity mask if the CPU is unplugged. I'd just say: don't do that.

Good point.
>
> However you can get some similar functionality by putting stuff in
> task_struct.

Or better don't do it at all. per cpu data and sleeping just doesn't mix.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/