Skip to contentSkip to conversation

xen: FIFO-based event channel fixes

PATCH Boris Ostrovsky 2 participants 3 messages Jul 31, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Boris Ostrovsky

author Reviewed-by
#1 lore raw
Quoted 8 lines · David Vrabel

Two fixes and one cleanup for the FIFO-based event channel ABI.

The first fixes an early hang when resuming guests -- this often occured with PVHVM guests but PV guests for some reason got away with it...

The second fixes a rare crash if 1023 event channels (or more) were used -- this would typically only affect dom0.

(although evtchn_fifo_init_control_block() vs init_control_block() naming in patch 1 is slightly confusing I think).

-boris

#2 lore raw
Quoted 7 lines · Boris Ostrovsky
Quoted 6 lines · David Vrabel

Two fixes and one cleanup for the FIFO-based event channel ABI.

The first fixes an early hang when resuming guests -- this often occured with PVHVM guests but PV guests for some reason got away with it...

Quoted 7 lines
Quoted 2 lines

The second fixes a rare crash if 1023 event channels (or more) were used -- this would typically only affect dom0.

(although evtchn_fifo_init_control_block() vs init_control_block() naming in patch 1 is slightly confusing I think).

I'll change the first to evtchn_fifo_alloc_control_block(). Is that ok?

David

#3 lore raw
Quoted 8 lines · David Vrabel
Quoted 7 lines · Boris Ostrovsky
Quoted 6 lines · David Vrabel

Two fixes and one cleanup for the FIFO-based event channel ABI.

The first fixes an early hang when resuming guests -- this often occured with PVHVM guests but PV guests for some reason got away with it...

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

The second fixes a rare crash if 1023 event channels (or more) were used -- this would typically only affect dom0.

(although evtchn_fifo_init_control_block() vs init_control_block() naming in patch 1 is slightly confusing I think).

I'll change the first to evtchn_fifo_alloc_control_block(). Is that ok?

Yes, thanks.

-boris