From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 1A7FF6B04B1 for ; Thu, 27 Jul 2017 11:57:49 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id 24so468584pfk.5 for ; Thu, 27 Jul 2017 08:57:49 -0700 (PDT) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id f3si11634823plb.337.2017.07.27.08.57.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2017 08:57:48 -0700 (PDT) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v6RFsBPc080762 for ; Thu, 27 Jul 2017 11:57:47 -0400 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0a-001b2d01.pphosted.com with ESMTP id 2byewmdkhg-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 27 Jul 2017 11:57:47 -0400 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 27 Jul 2017 09:57:45 -0600 Subject: Re: [RFC PATCH 3/3] mm/hugetlb: Remove pmd_huge_split_prepare References: <20170727083756.32217-1-aneesh.kumar@linux.vnet.ibm.com> <20170727083756.32217-3-aneesh.kumar@linux.vnet.ibm.com> <20170727125756.GD27766@dhcp22.suse.cz> From: "Aneesh Kumar K.V" Date: Thu, 27 Jul 2017 21:27:37 +0530 MIME-Version: 1.0 In-Reply-To: <20170727125756.GD27766@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-Id: <6d836bdb-0bf4-e855-e3d8-01a622714d1b@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, "Kirill A . Shutemov" , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org On 07/27/2017 06:27 PM, Michal Hocko wrote: > On Thu 27-07-17 14:07:56, Aneesh Kumar K.V wrote: >> Instead of marking the pmd ready for split, invalidate the pmd. This should >> take care of powerpc requirement. > > which is? I can add the commit which explain details here. Or add more details from the older commit here. c777e2a8b65420b31dac28a453e35be984f5808b powerpc/mm: Fix Multi hit ERAT cause by recent THP update > >> Only side effect is that we mark the pmd >> invalid early. This can result in us blocking access to the page a bit longer >> if we race against a thp split. > > Again, this doesn't tell me what is the problem and why do we care. Primary motivation is code reduction. 7 files changed, 35 insertions(+), 87 deletions(-) -aneesh -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xJGpP37QqzDrK8 for ; Fri, 28 Jul 2017 01:57:49 +1000 (AEST) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v6RFuULK119861 for ; Thu, 27 Jul 2017 11:57:47 -0400 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0a-001b2d01.pphosted.com with ESMTP id 2byk5cgc4f-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 27 Jul 2017 11:57:46 -0400 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 27 Jul 2017 09:57:45 -0600 Subject: Re: [RFC PATCH 3/3] mm/hugetlb: Remove pmd_huge_split_prepare To: Michal Hocko Cc: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, "Kirill A . Shutemov" , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org References: <20170727083756.32217-1-aneesh.kumar@linux.vnet.ibm.com> <20170727083756.32217-3-aneesh.kumar@linux.vnet.ibm.com> <20170727125756.GD27766@dhcp22.suse.cz> From: "Aneesh Kumar K.V" Date: Thu, 27 Jul 2017 21:27:37 +0530 MIME-Version: 1.0 In-Reply-To: <20170727125756.GD27766@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <6d836bdb-0bf4-e855-e3d8-01a622714d1b@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 07/27/2017 06:27 PM, Michal Hocko wrote: > On Thu 27-07-17 14:07:56, Aneesh Kumar K.V wrote: >> Instead of marking the pmd ready for split, invalidate the pmd. This should >> take care of powerpc requirement. > > which is? I can add the commit which explain details here. Or add more details from the older commit here. c777e2a8b65420b31dac28a453e35be984f5808b powerpc/mm: Fix Multi hit ERAT cause by recent THP update > >> Only side effect is that we mark the pmd >> invalid early. This can result in us blocking access to the page a bit longer >> if we race against a thp split. > > Again, this doesn't tell me what is the problem and why do we care. Primary motivation is code reduction. 7 files changed, 35 insertions(+), 87 deletions(-) -aneesh