Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH 1/4] BKL: Remove BKL references in mutex code | Date | Fri, 6 May 2011 14:05:25 -0700 |
| |
From: Andi Kleen <ak@linux.intel.com>
The mutex code still checks for the BKL which is already gone. Remove that code.
Signed-off-by: Andi Kleen <ak@linux.intel.com> --- kernel/mutex.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/kernel/mutex.c b/kernel/mutex.c index c4195fa..62d0a06 100644 --- a/kernel/mutex.c +++ b/kernel/mutex.c @@ -163,13 +163,6 @@ __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass, struct thread_info *owner; /* - * If we own the BKL, then don't spin. The owner of - * the mutex might be waiting on us to release the BKL. - */ - if (unlikely(current->lock_depth >= 0)) - break; - - /* * If there's an owner, wait for it to either * release the lock or go to sleep. */ -- 1.7.4.4
| |