# Re: \[PATCH v2 0/2\] powerpc/paravirt: vcpu\_is\_preempted() tweaks

- From: Michael Ellerman \<hidden\>
- Date: 2021-10-11 12:11:23 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/10/9524676
- Thread: https://ratatoskr.run/linuxppc-dev/2021/09/9524542/t.md

```text
On Tue, 28 Sep 2021 16:41:45 -0500, Nathan Lynch wrote:
> Minor changes arising from discovering that this code throws warnings with
> DEBUG_PREEMPT kernels.
> 
> Changes since v1:
> * Additional commentary to (1) distinguish hypervisor dispatch and preempt
>   behavior from kernel scheduler preemption; and (2) more clearly justify
>   the use of raw_smp_processor_id().
> * Additional patch to update existing comments before making the functional
>   change.
> 
> [...]

Applied to powerpc/next.

[1/2] powerpc/paravirt: vcpu_is_preempted() commentary
      https://git.kernel.org/powerpc/c/799f9b51db688608b50e630a57bee5f699b268ca
[2/2] powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()
      https://git.kernel.org/powerpc/c/fda0eb220021a97c1d656434b9340ebf3fc4704a

cheers
```
