From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Date: Wed, 08 Aug 2012 03:31:22 +0000 Subject: Re: [PATCH 6/8] KVM: PPC: E500: Implement MMU notifiers Message-Id: <20120808033122.GA7794@drongo> List-Id: References: <1344337036-22244-1-git-send-email-agraf@suse.de> <1344337036-22244-7-git-send-email-agraf@suse.de> In-Reply-To: <1344337036-22244-7-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: kvm-ppc@vger.kernel.org, KVM list , kvmarm@lists.cs.columbia.edu 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.