Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5488037yba; Wed, 10 Apr 2019 22:08:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtHIwrO0444kIqU4QIs2RV3A6u28icCe+m3/02+Nb2bZ6urLbqXtoFvjd20xSrSayKwAdm X-Received: by 2002:a17:902:2865:: with SMTP id e92mr26580606plb.269.1554959310027; Wed, 10 Apr 2019 22:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554959310; cv=none; d=google.com; s=arc-20160816; b=OoOer2Epnyu8/FJEq4i1Wl4UAvpQXHPWKmbZIE33AZkzUw+a9EY861lqz5TOsj2Ns8 +F5GIxo6APeRzwIJB1bjV5jW9XPXXbMWo7dmLzlvcCt300qN0GgVv/0Rc14Js62YpX8v GGebaXVCEzRW+cJMHeVm2j5n55QbLPIVdRd0Hxx8Jp2ssUG1PDJYaq5uOxNsVQeX9oD4 T47LLWb8IzBCy4M537eAcBKvYZnSvuqWSL0Kze+a6J6vAo7O05H+8f731EK0ueT8rGPU Ly7ej4+0wDPC+aOKxOXyeu1P4mF42Rq3OqCnWbXNIH7f4M8YuknuA6v5cSr/ZDdHHAB2 l5qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:date:references :in-reply-to:subject:cc:to:from; bh=nkC99rzJHsz8ptm9HnohdmouAB5OcXQCc2RWRBqKl8U=; b=y3JEq0dSk03iqTYQpRO62LxduL2uVFm3H7qvYCIHC+/b6J3k8xj4Y4+MLJf5osKhX9 2DQxifWSHObt9No6fpXafW+TI2lo6VFvS5X4y1jbnpU75HSpiXrpv4ROtdzw9dm+fICP bXoY7pzOIbYYNSdUkySzXi6JHGZBqd8NKrZksaVE0+zdluKJQK76HKFX+k20PK8iK5H/ c0VqXdtEfbmJ2PpM7gl5Ji1hibxNScITVRBrDsK2F3r/oky71Ox47j59a6BPSVP0EVIS 20k9sPT8GiYqxbTLMXhlMS+8udyMsc7N52Jn0anUWz+NezhE1OSDh5acGB8ATlwkHloG QG/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r190si37253099pfc.14.2019.04.10.22.08.14; Wed, 10 Apr 2019 22:08:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726753AbfDKFHK (ORCPT + 99 others); Thu, 11 Apr 2019 01:07:10 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:54330 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbfDKFHK (ORCPT ); Thu, 11 Apr 2019 01:07:10 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3B4xsLo014455 for ; Thu, 11 Apr 2019 01:07:09 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2rswg0uqsf-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 11 Apr 2019 01:07:08 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 11 Apr 2019 06:07:06 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 11 Apr 2019 06:07:03 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x3B572XI50069724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Apr 2019 05:07:02 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1B224AE059; Thu, 11 Apr 2019 05:07:02 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BD1C2AE045; Thu, 11 Apr 2019 05:07:00 +0000 (GMT) Received: from skywalker.linux.ibm.com (unknown [9.85.73.26]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 11 Apr 2019 05:07:00 +0000 (GMT) X-Mailer: emacs 26.1 (via feedmail 11-beta-1 I) From: "Aneesh Kumar K.V" To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 00/15] Refactor pgalloc stuff In-Reply-To: References: Date: Thu, 11 Apr 2019 10:36:59 +0530 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 19041105-0020-0000-0000-0000032E9247 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19041105-0021-0000-0000-00002180C04A Message-Id: <87wok13zbg.fsf@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-11_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904110035 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > This series converts book3e64 to pte_fragment and refactor > things that are common among subarches. > > Christophe Leroy (15): > powerpc/mm: drop __bad_pte() > powerpc/mm: define __pud_free_tlb() at all time on nohash/64 > powerpc/mm: convert Book3E 64 to pte_fragment > powerpc/mm: move pgtable_t in asm/mmu.h > powerpc/mm: get rid of nohash/32/mmu.h and nohash/64/mmu.h > powerpc/Kconfig: select PPC_MM_SLICES from subarch type > powerpc/book3e: move early_alloc_pgtable() to init section > powerpc/mm: don't use pte_alloc_kernel() until slab is available on > PPC32 > powerpc/mm: inline pte_alloc_one_kernel() and pte_alloc_one() on PPC32 > powerpc/mm: refactor pte_alloc_one() and pte_free() families > definition. > powerpc/mm: refactor definition of pgtable_cache[] > powerpc/mm: Only keep one version of pmd_populate() functions on > nohash/32 > powerpc/mm: refactor pgtable freeing functions on nohash > powerpc/mm: refactor pmd_pgtable() > powerpc/mm: refactor pgd_alloc() and pgd_free() on nohash > > arch/powerpc/include/asm/book3s/32/mmu-hash.h | 4 - > arch/powerpc/include/asm/book3s/32/pgalloc.h | 41 --------- > arch/powerpc/include/asm/book3s/64/mmu.h | 8 -- > arch/powerpc/include/asm/book3s/64/pgalloc.h | 49 ---------- > arch/powerpc/include/asm/mmu.h | 3 + > arch/powerpc/include/asm/mmu_context.h | 6 -- > arch/powerpc/include/asm/nohash/32/mmu.h | 25 ------ > arch/powerpc/include/asm/nohash/32/pgalloc.h | 123 ++------------------------ > arch/powerpc/include/asm/nohash/64/mmu.h | 12 --- > arch/powerpc/include/asm/nohash/64/pgalloc.h | 117 +----------------------- > arch/powerpc/include/asm/nohash/mmu.h | 16 +++- > arch/powerpc/include/asm/nohash/pgalloc.h | 56 ++++++++++++ > arch/powerpc/include/asm/pgalloc.h | 51 +++++++++++ > arch/powerpc/mm/Makefile | 4 +- > arch/powerpc/mm/mmu_context.c | 2 +- > arch/powerpc/mm/pgtable-book3e.c | 4 +- > arch/powerpc/mm/pgtable_32.c | 42 +++++---- > arch/powerpc/platforms/Kconfig.cputype | 4 +- > 18 files changed, 165 insertions(+), 402 deletions(-) > delete mode 100644 arch/powerpc/include/asm/nohash/32/mmu.h > delete mode 100644 arch/powerpc/include/asm/nohash/64/mmu.h > > -- > 2.13.3 Looks good. You can add for the series Reviewed-by: Aneesh Kumar K.V