[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Allow mini-os to unbind all evtchns
On Wed, 2006-11-29 at 12:25 +0000, Keir Fraser wrote: > On 29/11/06 12:16, "Grzegorz Milos" <gm281@xxxxxxxxx> wrote: > > > The patch looks good to me. I only have one comment: it would be good > > to have unbind_all_ports in the events header file. > > It looked bogus to me. What if event channels are bound/unbound/bound > multiple times during the mini-os lifetime (can't happen right now, but > maybe in future). The port array will overflow. Perhaps it should be a > bitmap instead (set on bind; clear on unbind)? I have attached a new version that uses a bitmap instead and declares unbind_all_ports() in events.h. regards, Jacob Attachment:
miniosunbindall_bitmap.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |