]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/paravirt: vcpu_is_preempted() commentary
authorNathan Lynch <nathanl@linux.ibm.com>
Tue, 28 Sep 2021 21:41:46 +0000 (16:41 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 8 Oct 2021 13:15:59 +0000 (00:15 +1100)
commit7daa08fbe25dce4a6d942432d36609ca51d6008b
treeca40b391cb900daa36f373636be6dffda6d96903
parentf34ed8a795a662a1e9bb9e44ae8735cdd05d02a7
powerpc/paravirt: vcpu_is_preempted() commentary

Add comments more clearly documenting that this function determines whether
hypervisor-level preemption of the VM has occurred.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210928214147.312412-2-nathanl@linux.ibm.com
arch/powerpc/include/asm/paravirt.h