Re: [PATCH] locking/pvqspinlock: Wait early if vcpu is preempted

From: Pan Xinhui
Date: Thu Jan 05 2017 - 03:44:28 EST




å 2017/1/5 16:23, Ingo Molnar åé:

* Pan Xinhui <xinhui.pan@xxxxxxxxxxxxxxxxxx> wrote:

If prev node is not in runnig state or its cpu is preempted, we need
wait early in pv_wait_node. After commit "sched/core: Introduce the
vcpu_is_preempted(cpu) interface" kernel has knowledge of one vcpu is
running or not. So lets use it.

That's not how we reference upstream commits. I had to search the git log the hard
way to figure out that it's commit d9345c65eb79 ...

hi, Ingo
Sorry. Such stupid mistake will not happen next time.

Also, once you look at that commit you'll see how sloppy the capitalization in
your changelog is. I fixed that up for all the original commits in the hope of you
learning from those mistakes - but that was last year and the experiment failed.

So sorry, I pay most attention on spelling of words. :(
Maybe I rely on the tools of ./scripts/checkpatch.pl too much.
I will rewrite the comments and resend this patch.

Thanks,

Ingo