From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: Re: [PATCH 6/8] KVM: PPC: E500: Implement MMU notifiers Date: Wed, 8 Aug 2012 13:31:22 +1000 Message-ID: <20120808033122.GA7794@drongo> References: <1344337036-22244-1-git-send-email-agraf@suse.de> <1344337036-22244-7-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-ppc@vger.kernel.org, KVM list , kvmarm@lists.cs.columbia.edu To: Alexander Graf Return-path: Content-Disposition: inline In-Reply-To: <1344337036-22244-7-git-send-email-agraf@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, Aug 07, 2012 at 12:57:14PM +0200, Alexander Graf wrote: > The e500 target has lived without mmu notifiers ever since it got > introduced, but fails for the user space check on them with hugetlbfs. Ironically that user space check isn't necessary any more since David Gibson's fix for the hugetlbfs bug went in (90481622, "hugepages: fix use after free bug in "quota" handling"). So on sufficiently recent kernels you can just remove the userspace check. Implementing mmu-notifiers is a good thing for other reasons though. Paul.