diff options
| author | Pan Xinhui <xinhui.pan@linux.vnet.ibm.com> | 2017-01-10 02:56:46 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-01-12 09:35:57 +0100 |
| commit | 75437bb304b20a2b350b9a8e9f9238d5e24e12ba (patch) | |
| tree | d8c179d3b1194a8eb7ce8ff9a0c5326dbcc0a01d /arch/x86/kernel/jump_label.c | |
| parent | 607904c357c61adf20b8fd18af765e501d61a385 (diff) | |
| download | linux-75437bb304b20a2b350b9a8e9f9238d5e24e12ba.tar.gz linux-75437bb304b20a2b350b9a8e9f9238d5e24e12ba.tar.bz2 linux-75437bb304b20a2b350b9a8e9f9238d5e24e12ba.zip | |
locking/pvqspinlock: Don't wait if vCPU is preempted
If prev node is not in running state or its vCPU is preempted, we can give
up our vCPU slices in pv_wait_node() ASAP.
Signed-off-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: longman@redhat.com
Link: http://lkml.kernel.org/r/1484035006-6787-1-git-send-email-xinhui.pan@linux.vnet.ibm.com
[ Fixed typos in the changelog, removed ugly linebreak from the code. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions
