From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [BUGFIX] kvm, Fix a race condition for usage of is_hwpoison_address Date: Tue, 22 Jun 2010 14:56:05 +0300 Message-ID: <4C20A4D5.2090601@redhat.com> References: <1277187791.3004.149.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Andi Kleen , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" To: Huang Ying Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45807 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441Ab0FVL4J (ORCPT ); Tue, 22 Jun 2010 07:56:09 -0400 In-Reply-To: <1277187791.3004.149.camel@yhuang-dev.sh.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/22/2010 09:23 AM, Huang Ying wrote: > is_hwpoison_address accesses the page table, so the caller must hold > current->mm->mmap_sem in read mode. So fix its usage in hav_to_pfn of > kvm accordingly. > > Applied, thanks. -- error compiling committee.c: too many arguments to function