From mboxrd@z Thu Jan 1 00:00:00 1970 From: Janosch Frank Subject: [PATCH 0/2] Huge page pte protection Date: Thu, 25 Jan 2018 16:33:16 +0100 Message-ID: <1516894398-12694-1-git-send-email-frankja@linux.vnet.ibm.com> References: <86c5bd00-a552-1737-8db8-3f7b3c21057e@redhat.com> Cc: schwidefsky@de.ibm.com, borntraeger@de.ibm.com, david@redhat.com, dominik.dingel@gmail.com, linux-s390@vger.kernel.org To: kvm@vger.kernel.org Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33132 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750769AbeAYPdi (ORCPT ); Thu, 25 Jan 2018 10:33:38 -0500 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0PFSd4d135512 for ; Thu, 25 Jan 2018 10:33:37 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2fqfa7fwse-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 25 Jan 2018 10:33:37 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 25 Jan 2018 15:33:35 -0000 In-Reply-To: <86c5bd00-a552-1737-8db8-3f7b3c21057e@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: So, this was stable in both pre and postcopy, at least until I stopped postcopy and hit my BUG_ON in gmap_shadow_notify_pmd. For some reason migration of my 10g l2 with small and big l3 takes 60s instead of ~30s now. For the next version it will need some more love. The second patch will be in the next version one way or another. I just felt that gmap_pte_op_fixup looked weird in a pmd handling function. Janosch Frank (2): mm: s390: Only notify on 4k pages mm: s390: Rename gmap_pte_op_fixup arch/s390/include/asm/gmap.h | 5 +-- arch/s390/mm/gmap.c | 90 +++++++++++--------------------------------- 2 files changed, 23 insertions(+), 72 deletions(-) -- 2.7.4