I noticed that the tasks queues still rely on the global tqueue_lock spinlock, instead of a per-taskqueue lock. The patch is virtually transparent for task queue users: all users except ieee1394 use DECLARE_TASK_QUEUE. I admit that the tqueue_lock isn't that often used (numbers from sgi's lockstat) * 10000 users/min during 'find / -xdev -uid 4711' (1.2% of all spinlock calls) * 60000 users/min during 'dd if=/dev/hda of=/dev/null' (~1.1% of all spinlock calls). -- Manfred