On Thu, Apr 06, 2023, Peter Zijlstra wrote: > On Thu, Apr 06, 2023 at 03:33:13PM +0800, lirongqing@xxxxxxxxx wrote: > > From: Li RongQing <lirongqing@xxxxxxxxx> > > > > Check whether vCPU is preempted or not only when HLT is trapped or > > there is not realtime hint. In other words, it is unnecessary to check > > preemption when vCPU has realtime hint (which means vCPU has dedicated > > pCP) and has not PV_UNHALT (which means unintercepted HLT), because > > vCPU should not to be marked as preempted in this setup. > > To what benefit? > > > Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx> > > --- > > diff with v1: rewrite changelog and indentation This also fails to mention my objection to querying PV_UNHALT[*]. When I said "this needs Paolo's attention no matter what", I did not mean "post a v2 and hope Paolo applies it", I meant we need Paolo (and others) to weigh in on the ongoing discussion. [*] https://lore.kernel.org/all/ZBEOK6ws9wGqof3O@xxxxxxxxxx