diff options
| author | Christian Borntraeger <[email protected]> | 2016-10-25 09:03:13 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-11-16 09:15:10 +0000 |
| commit | 22b6430d36659b37ed139b7fd87fcc7237fb0cfd (patch) | |
| tree | adf002ab9aa63ff77b1c0e6ca6fbb02f5c63f5df /lib/lockref.c | |
| parent | locking/core, stop_machine: Yield the CPU during stop machine() (diff) | |
| download | kernel-22b6430d36659b37ed139b7fd87fcc7237fb0cfd.tar.gz kernel-22b6430d36659b37ed139b7fd87fcc7237fb0cfd.zip | |
locking/core, s390: Make cpu_relax() a barrier again
stop_machine() seemed to be the only important place for yielding during
cpu_relax(). This was fixed by using cpu_relax_yield().
Therefore, we can now redefine cpu_relax() to be a barrier instead on s390,
making s390 identical to all other architectures.
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Noam Camus <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russell King <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
