Skip to content

powerpc/paravirt: vcpu_is_preempted() tweaks

Nathan Lynch linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesApplied

Changes in v2 from the cover letter

* 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.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2powerpc/paravirt: vcpu_is_preempted() commentaryarch/powerpc/include/asm/paravirt.h+18 -41 reply
2/2powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()arch/powerpc/include/asm/paravirt.h+17 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSrikar Dronamraju
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] powerpc/paravirt: vcpu_is_preempted() tweaks

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.

v1: https://lore.kernel.org/linuxppc-dev/[email protected]/

Nathan Lynch (2):
powerpc/paravirt: vcpu_is_preempted() commentary powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()

 arch/powerpc/include/asm/paravirt.h | 40 +++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 5 deletions(-)
Signature · 1 line
2.31.1