diff mbox

common/vm_event: Fix comment

Message ID 1470731568-30140-1-git-send-email-rcojocaru@bitdefender.com (mailing list archive)
State New, archived
Headers show

Commit Message

Razvan Cojocaru Aug. 9, 2016, 8:32 a.m. UTC
There's no such thing as function vm_event_wake_waiters() anymore.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
---
 xen/common/vm_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jan Beulich Aug. 11, 2016, 10:38 a.m. UTC | #1
>>> On 09.08.16 at 10:32, <rcojocaru@bitdefender.com> wrote:
> --- a/xen/common/vm_event.c
> +++ b/xen/common/vm_event.c
> @@ -255,7 +255,7 @@ static inline void vm_event_release_slot(struct domain *d,
>  
>  /*
>   * vm_event_mark_and_pause() tags vcpu and put it to sleep.
> - * The vcpu will resume execution in vm_event_wake_waiters().
> + * The vcpu will resume execution in vm_event_wake().
>   */
>  void vm_event_mark_and_pause(struct vcpu *v, struct vm_event_domain *ved)
>  {

I was about to commit this without further waiting for an ack, as
being supposedly trivial, but then I checked and also found
vm_event_wake{blocked,queued}(), and now I'm not sure
whether the reference wouldn't better be to
vm_event_wake_blocked(). Could you clarify that for me please?

Jan
Razvan Cojocaru Aug. 11, 2016, 12:10 p.m. UTC | #2
On 08/11/2016 01:38 PM, Jan Beulich wrote:
>>>> On 09.08.16 at 10:32, <rcojocaru@bitdefender.com> wrote:
>> --- a/xen/common/vm_event.c
>> +++ b/xen/common/vm_event.c
>> @@ -255,7 +255,7 @@ static inline void vm_event_release_slot(struct domain *d,
>>  
>>  /*
>>   * vm_event_mark_and_pause() tags vcpu and put it to sleep.
>> - * The vcpu will resume execution in vm_event_wake_waiters().
>> + * The vcpu will resume execution in vm_event_wake().
>>   */
>>  void vm_event_mark_and_pause(struct vcpu *v, struct vm_event_domain *ved)
>>  {
> 
> I was about to commit this without further waiting for an ack, as
> being supposedly trivial, but then I checked and also found
> vm_event_wake{blocked,queued}(), and now I'm not sure
> whether the reference wouldn't better be to
> vm_event_wake_blocked(). Could you clarify that for me please?

Indeed, that's more precise. I'm happy to send V2 if you'd like.


Thanks,
Razvan
Jan Beulich Aug. 11, 2016, 12:22 p.m. UTC | #3
>>> On 11.08.16 at 14:10, <rcojocaru@bitdefender.com> wrote:
> On 08/11/2016 01:38 PM, Jan Beulich wrote:
>>>>> On 09.08.16 at 10:32, <rcojocaru@bitdefender.com> wrote:
>>> --- a/xen/common/vm_event.c
>>> +++ b/xen/common/vm_event.c
>>> @@ -255,7 +255,7 @@ static inline void vm_event_release_slot(struct domain *d,
>>>  
>>>  /*
>>>   * vm_event_mark_and_pause() tags vcpu and put it to sleep.
>>> - * The vcpu will resume execution in vm_event_wake_waiters().
>>> + * The vcpu will resume execution in vm_event_wake().
>>>   */
>>>  void vm_event_mark_and_pause(struct vcpu *v, struct vm_event_domain *ved)
>>>  {
>> 
>> I was about to commit this without further waiting for an ack, as
>> being supposedly trivial, but then I checked and also found
>> vm_event_wake{blocked,queued}(), and now I'm not sure
>> whether the reference wouldn't better be to
>> vm_event_wake_blocked(). Could you clarify that for me please?
> 
> Indeed, that's more precise. I'm happy to send V2 if you'd like.

I can as well adjust it while committing.

Jan
diff mbox

Patch

diff --git a/xen/common/vm_event.c b/xen/common/vm_event.c
index 941345b..ad7f986 100644
--- a/xen/common/vm_event.c
+++ b/xen/common/vm_event.c
@@ -255,7 +255,7 @@  static inline void vm_event_release_slot(struct domain *d,
 
 /*
  * vm_event_mark_and_pause() tags vcpu and put it to sleep.
- * The vcpu will resume execution in vm_event_wake_waiters().
+ * The vcpu will resume execution in vm_event_wake().
  */
 void vm_event_mark_and_pause(struct vcpu *v, struct vm_event_domain *ved)
 {