From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 2/4] libkvm: add kvm_has_mmu_notifiers Date: Thu, 21 Aug 2008 17:01:03 +0300 Message-ID: <48AD751F.6000001@qumranet.com> References: <1219158120-21653-1-git-send-email-aliguori@us.ibm.com> <1219158120-21653-2-git-send-email-aliguori@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Marcelo Tosatti To: Anthony Liguori Return-path: Received: from il.qumranet.com ([212.179.150.194]:44169 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751795AbYHUOBE (ORCPT ); Thu, 21 Aug 2008 10:01:04 -0400 In-Reply-To: <1219158120-21653-2-git-send-email-aliguori@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Anthony Liguori wrote: > This patch adds a kvm_has_mmu_notifiers routine to libkvm. This allows > userspace to query the existence of mmu notifiers which is important for > ballooning since madvise() is not safe from userspace without it. > > Can we call this kvm_has_sync_mmu()? s390 doesn't need mmu notifiers, but still has a synchronized mmu. mmu notifiers is the implementation, while a synchronized mmu is the goal. -- error compiling committee.c: too many arguments to function