Skip to content

Implement 3-level event channel in Xen

Wei Liu xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 15 repliesIn review

Changes from RFC V2 from the cover letter

* Adjust registration interface
* Get rid of xmalloc and friends in registraion routine
* Avoid redirection with function pointers
* Share routines between 2 and 3 level event channels

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16Remove trailing whitespaces in sched.hxen/include/xen/sched.h+3 -30 replies
2/16Remove trailing whitespaces in event.hxen/include/xen/event.h+2 -20 replies
3/16Remove trailing whitespaces in xen.hxen/include/public/xen.h+11 -110 replies
4/16Move event channel macros / struct definition to proper placexen/include/public/xen.h xen/include/xen/event.h xen/include/xen/sched.h+45 -452 replies
5/16Add evtchn_level in struct domainxen/common/event_channel.c xen/include/xen/event.h xen/include/xen/sched.h+17 -10 replies
6/16Dynamically allocate d->evtchnxen/common/event_channel.c xen/include/xen/sched.h+16 -30 replies
7/16Bump EVTCHNS_PER_BUCKET to 512xen/include/public/xen.h+1 -10 replies
8/16Add evtchn_is_{pending, masked} and evtchn_clear_pendingxen/arch/x86/irq.c xen/common/event_channel.c xen/common/keyhandler.c +2 more+31 -120 replies
9/16Introduce some macros for event channelsxen/include/asm-arm/types.h xen/include/asm-x86/config.h xen/include/xen/event.h+21 -30 replies
10/16Update Xen public headerxen/include/public/xen.h+10 -20 replies
11/16Define N-level event channel registration interfacexen/include/public/event_channel.h+33 -00 replies
12/16Add control structures for 3-level event channelxen/include/xen/sched.h+6 -00 replies
13/16Make NR_EVTCHN_BUCKETS 3-level readyxen/include/public/xen.h+1 -10 replies
14/16Genneralized event channel operationsxen/arch/arm/domain.c xen/arch/x86/domain.c xen/common/event_channel.c +1 more+59 -110 replies
15/16Infrastructure for manipulating 3-level event channel pagesxen/common/event_channel.c+278 -013 replies
16/16Implement 3-level event channel routinesxen/common/event_channel.c+90 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/16] Implement 3-level event channel in Xen

Changes from RFC V2:
* Adjust registration interface
* Get rid of xmalloc and friends in registraion routine
* Avoid redirection with function pointers
* Share routines between 2 and 3 level event channels

Changes from RFC V1;
* Use function pointers to get rid of switch statments
* Do not manipulate VCPU state
* No more gcc-ism code in public headers
* Consolidate some boilerplates using macros