[PATCH] ppc32: fix destroy_context() race condition

Eugene Surovegin ebs at ebshome.net
Wed Jul 13 04:45:15 EST 2005


On Tue, Jul 12, 2005 at 02:29:04PM -0400, Guillaume Autran wrote:
> Eugene, destroy_context(..) can be called from other place outside of 
> the scheduler and switch_mm(...). See mmdrop(...) for example.
> In many of those cases, the task will run with preemption enable.

Ahh, OK, you're right. Maybe it's worth mentioning in the patch 
description :).

-- 
Eugene




More information about the Linuxppc-embedded mailing list