Paul Jackson b3426599af [PATCH] cpuset semaphore depth check optimize
Optimize the deadlock avoidance check on the global cpuset
semaphore cpuset_sem.  Instead of adding a depth counter to the
task struct of each task, rather just two words are enough, one
to store the depth and the other the current cpuset_sem holder.

Thanks to Nikita Danilov for the idea.

Signed-off-by: Paul Jackson <pj@sgi.com>

[ We may want to change this further, but at least it's now
  a totally internal decision to the cpusets code ]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-12 09:16:27 -07:00
..
2005-09-08 01:45:47 -04:00
2005-09-10 10:06:26 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:29 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 13:57:55 -07:00
2005-04-16 15:20:36 -07:00
2005-09-09 13:57:55 -07:00
2005-09-07 16:57:33 -07:00
2005-07-27 16:25:51 -07:00
2005-06-28 14:53:40 -07:00
2005-04-16 15:20:36 -07:00
2005-09-10 10:06:21 -07:00
2005-09-07 16:57:45 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-07-07 18:23:46 -07:00
2005-09-09 13:57:54 -07:00
2005-09-07 16:57:45 -07:00
2005-04-16 15:20:36 -07:00
2005-07-30 10:49:59 -07:00
2005-09-07 16:57:17 -07:00
2005-09-10 10:06:21 -07:00
2005-08-01 10:03:56 -07:00
2005-08-29 16:01:32 -07:00
2005-04-16 15:20:36 -07:00
2005-07-12 20:38:38 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:45 -07:00