diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-07-16 13:44:29 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-18 13:51:39 (GMT) |
commit | 4b2155678d7cc7b5f45d6b36049091376c3408a2 (patch) | |
tree | dda992c4e008f67e918e5e7b75134c8d5d76d4fb /kernel/sched.c | |
parent | e7aaaa6934636d7a6cadd9e2a05250fbb6a34f65 (diff) | |
download | linux-4b2155678d7cc7b5f45d6b36049091376c3408a2.tar.xz |
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 4c5ee84..4d39e96 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -6613,11 +6613,6 @@ static void __cond_resched(void) #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP __might_sleep(__FILE__, __LINE__); #endif - /* - * The BKS might be reacquired before we have dropped - * PREEMPT_ACTIVE, which could trigger a second - * cond_resched() call. - */ add_preempt_count(PREEMPT_ACTIVE); schedule(); sub_preempt_count(PREEMPT_ACTIVE); |