On Wed, Nov 10, 2010 at 07:47:11PM +0200, Avi Kivity wrote: > On 11/10/2010 07:44 PM, Andi Kleen wrote: > >> Doing it in userspace in easier, since we can replace the vma for > >> that section (and avoid mixed 4k/2M pages in hugetlbfs). > > > >You can't do that today, there's no way currently to access the non corrupted > >portion of the 2MB page. Once it's poisoned it's all gone. > > I see. Thanks. BTW my understanding is that KVM will only use hugepages with transparent huge pages anyways, correct? So it may be reasonable to simply fix this as part of the transparent hugepages work, but ignore it before that. -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html