[parisc-linux] Does it lakes some cloberred r1 in

Grant Grundler grundler at parisc-linux.org
Wed Apr 26 22:45:13 MDT 2006


On Wed, Apr 26, 2006 at 11:42:22AM -0500, Michael S. Zick wrote:
...
> It seems (without a code path audit) that a task could be migrated
> to another cpu while holding an 'in system' spinlock.

Uhm...no. It would violate the basic principle of a spinlock.
Migrating a task from one CPU to another is a context switch.
Can't do that while holding in-kernel spinlocks.

grant



More information about the parisc-linux mailing list