Re: [PATCH v2] x86/hvm: Replace do_sched_op calls with their underlying logic

2025-07-23 Thread Andrew Cooper
On 23/07/2025 12:57 pm, Teddy Astie wrote: > Le 23/07/2025 à 13:16, Andrew Cooper a écrit : >> On 23/07/2025 10:05 am, Teddy Astie wrote: >>> do_sched_op(SCHEDOP_yield) just calls vcpu_yield(). Remove the indirection >>> through the hypercall handler and use the function directly. >>> >>> Perform t

Re: [PATCH v2] x86/hvm: Replace do_sched_op calls with their underlying logic

2025-07-23 Thread Teddy Astie
Le 23/07/2025 à 13:16, Andrew Cooper a écrit : > On 23/07/2025 10:05 am, Teddy Astie wrote: >> do_sched_op(SCHEDOP_yield) just calls vcpu_yield(). Remove the indirection >> through the hypercall handler and use the function directly. >> >> Perform the same for SCHEDOP_block. >> >> Not a functional

Re: [PATCH v2] x86/hvm: Replace do_sched_op calls with their underlying logic

2025-07-23 Thread Andrew Cooper
On 23/07/2025 10:05 am, Teddy Astie wrote: > do_sched_op(SCHEDOP_yield) just calls vcpu_yield(). Remove the indirection > through the hypercall handler and use the function directly. > > Perform the same for SCHEDOP_block. > > Not a functional change. > > Signed-off-by: Teddy Astie > --- > v2: >

[PATCH v2] x86/hvm: Replace do_sched_op calls with their underlying logic

2025-07-23 Thread Teddy Astie
do_sched_op(SCHEDOP_yield) just calls vcpu_yield(). Remove the indirection through the hypercall handler and use the function directly. Perform the same for SCHEDOP_block. Not a functional change. Signed-off-by: Teddy Astie --- v2: - For SCHEDOP_block case: export and use vcpu_block_enable_eve