lkml.org 
[lkml]   [2022]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 3/3] KVM: SVM: fix race between interrupt delivery and AVIC inhibition
From
On 2/11/22 18:11, Sean Christopherson wrote:
>> + /* Process the interrupt with a vmexit. */
>
> Double spaces at the end. But I would prefer we omit the comment entirely,
> there is no guarantee the vCPU is in the guest or even running.

Sure, or perhaps "process the interrupt in inject_pending_event".

Regarding the two spaces, it used to a pretty strict rule in the US with
typewriters. It helps readability of monospaced fonts
(https://www.cultofpedagogy.com/two-spaces-after-period/), and code is
mostly monospaced... But well, the title of the article says it all.

Paolo

\
 
 \ /
  Last update: 2022-02-11 18:31    [W:1.019 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site