Skip to contentSkip to conversation

common/vm_event: Fix comment

PATCH In review Razvan Cojocaru 2 participants 4 messages Aug 9, 2016 – Aug 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/vm_event: Fix comment

There's no such thing as function vm_event_wake_waiters() anymore.

---
 xen/common/vm_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/vm_event.c +1 -1
index 941345b..ad7f986 100644
@@ -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)
 {
Signature · 7 lines
1.9.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

xen/common/vm_event.c static inline void vm_event_release_slot(struct domain *d, · line 261

Quoted 12 lines
Quoted 1 line
Quoted 1 line · On 09.08.16 at 10:32, <[email protected]> wrote:
xen/common/vm_event.c +1 -1
@@ -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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 5 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 09.08.16 at 10:32, <[email protected]> wrote:
xen/common/vm_event.c +0 -0
@@ -255,7 +255,7 @@ static inline void vm_event_release_slot(struct domain *d,
 
Quoted 13 lines

xen/common/vm_event.c static inline void vm_event_release_slot(struct domain *d, · line 261

Quoted 7 lines
xen/common/vm_event.c +1 -1
 /*
  * 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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw
Quoted 21 lines
Quoted 1 line
Quoted 1 line · On 11.08.16 at 14:10, <[email protected]> wrote:
Quoted 5 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 09.08.16 at 10:32, <[email protected]> wrote:
xen/common/vm_event.c +0 -0
@@ -255,7 +255,7 @@ static inline void vm_event_release_slot(struct domain *d,
 
Quoted 13 lines

xen/common/vm_event.c static inline void vm_event_release_slot(struct domain *d, · line 261

Quoted 7 lines
xen/common/vm_event.c +1 -1
 /*
  * 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?

Quoted 1 line

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

I can as well adjust it while committing.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel