diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-07-16 09:44:29 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-18 09:51:39 -0400 |
commit | 4b2155678d7cc7b5f45d6b36049091376c3408a2 (patch) | |
tree | dda992c4e008f67e918e5e7b75134c8d5d76d4fb /kernel/sched.c | |
parent | e7aaaa6934636d7a6cadd9e2a05250fbb6a34f65 (diff) |
sched: Remove obsolete comment in __cond_resched()
Remove the outdated comment from __cond_resched() related to
the now removed Big Kernel Semaphore.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1247725694-6082-2-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 4c5ee843d57f..4d39e96044b9 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -6613,11 +6613,6 @@ static void __cond_resched(void) | |||
6613 | #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP | 6613 | #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP |
6614 | __might_sleep(__FILE__, __LINE__); | 6614 | __might_sleep(__FILE__, __LINE__); |
6615 | #endif | 6615 | #endif |
6616 | /* | ||
6617 | * The BKS might be reacquired before we have dropped | ||
6618 | * PREEMPT_ACTIVE, which could trigger a second | ||
6619 | * cond_resched() call. | ||
6620 | */ | ||
6621 | add_preempt_count(PREEMPT_ACTIVE); | 6616 | add_preempt_count(PREEMPT_ACTIVE); |
6622 | schedule(); | 6617 | schedule(); |
6623 | sub_preempt_count(PREEMPT_ACTIVE); | 6618 | sub_preempt_count(PREEMPT_ACTIVE); |