OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42617b
)
s390/spinlock: remove confusing comment in arch_spin_lock_wait
author
Vasily Gorbik
<gor@linux.ibm.com>
Tue, 3 Dec 2019 16:52:03 +0000
(17:52 +0100)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Wed, 11 Dec 2019 18:53:23 +0000
(19:53 +0100)
arch_spin_lock_wait does not take steal time into consideration.
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/lib/spinlock.c
patch
|
blob
|
history
diff --git
a/arch/s390/lib/spinlock.c
b/arch/s390/lib/spinlock.c
index
ce1e4bb
..
9b2dab5
100644
(file)
--- a/
arch/s390/lib/spinlock.c
+++ b/
arch/s390/lib/spinlock.c
@@
-242,7
+242,6
@@
static inline void arch_spin_lock_classic(arch_spinlock_t *lp)
void arch_spin_lock_wait(arch_spinlock_t *lp)
{
- /* Use classic spinlocks + niai if the steal time is >= 10% */
if (test_cpu_flag(CIF_DEDICATED_CPU))
arch_spin_lock_queued(lp);
else