From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH kvm-kmod v2] fix kvm_request_irq race Date: Thu, 21 May 2009 10:45:40 +0300 Message-ID: <4A1506A4.4050909@redhat.com> References: <20090521062135.GR20823@sequoia.sous-sol.org> <4A14F4AD.9060408@redhat.com> <20090521073853.GU20823@sequoia.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Chris Wright Return-path: Received: from mx2.redhat.com ([66.187.237.31]:40582 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751532AbZEUHqb (ORCPT ); Thu, 21 May 2009 03:46:31 -0400 In-Reply-To: <20090521073853.GU20823@sequoia.sous-sol.org> Sender: kvm-owner@vger.kernel.org List-ID: Chris Wright wrote: > Commit "32658734: Fix request_irq() for < 2.6.19" is racy between multiple > guests since ioctl is only serialized per guest. Add mutex and serialize > kvm_request_irq/kvm_free_irq to avoid race. Also move all this to its > own C file to keep from creating per ojbect file private mutexes. > > Applied, thanks. -- error compiling committee.c: too many arguments to function