From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C888C07E85 for ; Tue, 11 Dec 2018 05:43:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D802D2082F for ; Tue, 11 Dec 2018 05:43:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D802D2082F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbeLKFnT (ORCPT ); Tue, 11 Dec 2018 00:43:19 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50210 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbeLKFnS (ORCPT ); Tue, 11 Dec 2018 00:43:18 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wBB5cur3037579 for ; Tue, 11 Dec 2018 00:43:17 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pa6xm0xeh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 11 Dec 2018 00:43:17 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 11 Dec 2018 05:43:15 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 11 Dec 2018 05:43:11 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wBB5hAKN5833026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Dec 2018 05:43:10 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BB42811C04A; Tue, 11 Dec 2018 05:43:10 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 264B911C054; Tue, 11 Dec 2018 05:43:08 +0000 (GMT) Received: from skywalker.linux.ibm.com (unknown [9.199.48.182]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 11 Dec 2018 05:43:07 +0000 (GMT) From: "Aneesh Kumar K.V" To: Peter Zijlstra , will.deacon@arm.com, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, npiggin@gmail.com Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, peterz@infradead.org, linux@armlinux.org.uk, heiko.carstens@de.ibm.com, riel@surriel.com, Linus Torvalds , Martin Schwidefsky Subject: Re: [PATCH 13/18] asm-generic/tlb: Introduce HAVE_MMU_GATHER_NO_GATHER In-Reply-To: <20180926114801.199256189@infradead.org> References: <20180926113623.863696043@infradead.org> <20180926114801.199256189@infradead.org> Date: Tue, 11 Dec 2018 11:13:04 +0530 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 18121105-4275-0000-0000-000002EECE54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18121105-4276-0000-0000-000037FBEAFB Message-Id: <87zhtcsjo7.fsf@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-12-11_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=7 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=948 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812110053 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter Zijlstra writes: > From: Martin Schwidefsky > > Add the Kconfig option HAVE_MMU_GATHER_NO_GATHER to the generic > mmu_gather code. If the option is set the mmu_gather will not > track individual pages for delayed page free anymore. A platform > that enables the option needs to provide its own implementation > of the __tlb_remove_page_size function to free pages. Can we rename this to HAVE_NO_BATCH_MMU_GATHER? > > Cc: npiggin@gmail.com > Cc: heiko.carstens@de.ibm.com > Cc: will.deacon@arm.com > Cc: aneesh.kumar@linux.vnet.ibm.com > Cc: akpm@linux-foundation.org > Cc: Linus Torvalds > Cc: linux@armlinux.org.uk > Signed-off-by: Martin Schwidefsky > Signed-off-by: Peter Zijlstra (Intel) > Link: http://lkml.kernel.org/r/20180918125151.31744-2-schwidefsky@de.ibm.com -aneesh From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Aneesh Kumar K.V" Subject: Re: [PATCH 13/18] asm-generic/tlb: Introduce HAVE_MMU_GATHER_NO_GATHER Date: Tue, 11 Dec 2018 11:13:04 +0530 Message-ID: <87zhtcsjo7.fsf@linux.ibm.com> References: <20180926113623.863696043@infradead.org> <20180926114801.199256189@infradead.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180926114801.199256189@infradead.org> Sender: linux-kernel-owner@vger.kernel.org To: will.deacon@arm.com, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, npiggin@gmail.com Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, peterz@infradead.org, linux@armlinux.org.uk, heiko.carstens@de.ibm.com, riel@surriel.com, Linus Torvalds , Martin Schwidefsky List-Id: linux-arch.vger.kernel.org Peter Zijlstra writes: > From: Martin Schwidefsky > > Add the Kconfig option HAVE_MMU_GATHER_NO_GATHER to the generic > mmu_gather code. If the option is set the mmu_gather will not > track individual pages for delayed page free anymore. A platform > that enables the option needs to provide its own implementation > of the __tlb_remove_page_size function to free pages. Can we rename this to HAVE_NO_BATCH_MMU_GATHER? > > Cc: npiggin@gmail.com > Cc: heiko.carstens@de.ibm.com > Cc: will.deacon@arm.com > Cc: aneesh.kumar@linux.vnet.ibm.com > Cc: akpm@linux-foundation.org > Cc: Linus Torvalds > Cc: linux@armlinux.org.uk > Signed-off-by: Martin Schwidefsky > Signed-off-by: Peter Zijlstra (Intel) > Link: http://lkml.kernel.org/r/20180918125151.31744-2-schwidefsky@de.ibm.com -aneesh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:54948 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726585AbeLKFnS (ORCPT ); Tue, 11 Dec 2018 00:43:18 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wBB5cvRZ130363 for ; Tue, 11 Dec 2018 00:43:17 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pa410f0kb-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 11 Dec 2018 00:43:17 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 11 Dec 2018 05:43:15 -0000 From: "Aneesh Kumar K.V" Subject: Re: [PATCH 13/18] asm-generic/tlb: Introduce HAVE_MMU_GATHER_NO_GATHER In-Reply-To: <20180926114801.199256189@infradead.org> References: <20180926113623.863696043@infradead.org> <20180926114801.199256189@infradead.org> Date: Tue, 11 Dec 2018 11:13:04 +0530 MIME-Version: 1.0 Content-Type: text/plain Message-ID: <87zhtcsjo7.fsf@linux.ibm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Peter Zijlstra , will.deacon@arm.com, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, npiggin@gmail.com Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, heiko.carstens@de.ibm.com, riel@surriel.com, Linus Torvalds , Martin Schwidefsky Message-ID: <20181211054304.vGHDbhFLkhlsO76YfQNdfBBTt90MjCLA52cdUJG45aI@z> Peter Zijlstra writes: > From: Martin Schwidefsky > > Add the Kconfig option HAVE_MMU_GATHER_NO_GATHER to the generic > mmu_gather code. If the option is set the mmu_gather will not > track individual pages for delayed page free anymore. A platform > that enables the option needs to provide its own implementation > of the __tlb_remove_page_size function to free pages. Can we rename this to HAVE_NO_BATCH_MMU_GATHER? > > Cc: npiggin@gmail.com > Cc: heiko.carstens@de.ibm.com > Cc: will.deacon@arm.com > Cc: aneesh.kumar@linux.vnet.ibm.com > Cc: akpm@linux-foundation.org > Cc: Linus Torvalds > Cc: linux@armlinux.org.uk > Signed-off-by: Martin Schwidefsky > Signed-off-by: Peter Zijlstra (Intel) > Link: http://lkml.kernel.org/r/20180918125151.31744-2-schwidefsky@de.ibm.com -aneesh