From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 07/12] xen/event: Add reference counting to event channels Date: Wed, 14 Dec 2011 13:56:18 -0500 Message-ID: <20111214185618.GC24598@phenom.dumpdata.com> References: <20111128152031.GB9655@andromeda.dapyr.net> <1322498951-4392-1-git-send-email-dgdegra@tycho.nsa.gov> <1322498951-4392-8-git-send-email-dgdegra@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1322498951-4392-8-git-send-email-dgdegra@tycho.nsa.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Daniel De Graaf Cc: xen-devel@lists.xensource.com, david.vrabel@citrix.com, JBeulich@suse.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, Nov 28, 2011 at 11:49:06AM -0500, Daniel De Graaf wrote: > Event channels exposed to userspace by the evtchn module may be used by > other modules in an asynchronous manner, which requires that reference > counting be used to prevent the event channel from being closed before > the signals are delivered. > > The reference count on new event channels defaults to -1 which indicates > the event channel is not referenced outside the kernel; evtchn_get fails > if called on such an event channel. The event channels made visible to > userspace by evtchn have a normal reference count. So I've 7 through 12 in my branch now. (7,8 and 9 are in the #linux-next and the 10-12 are in the #testing). The other 1-6 you have might need to be parceled out (especially the netback one which usually goes through David Miller). Also I have to double-check - but did somebody review those 1-6 patches?