Re: [PATCH] cpuset semaphore depth check deadlock fix

2005-09-09 Thread Paul Jackson
Linus wrote: > We _really_ don't want to have function names like "cs_up()" I thoroughly agree with your attention to naming, and spent more time than I will admit in public futzing over this detail. I wrote the code using cpuset_lock(void) and cpuset_unlock(void), for reasons such as you state,

Re: [PATCH] cpuset semaphore depth check deadlock fix

2005-09-09 Thread Linus Torvalds
On Fri, 9 Sep 2005, Paul Jackson wrote: > > This patch fixes this deadlock by wrapping the up() and down() > calls on cpuset_sem in kernel/cpuset.c with code that tracks > the nesting depth of the current task on that semaphore, We _really_ don't want to have function names like "cs_up()" and "c