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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 A95C0C5DF62 for ; Tue, 5 Nov 2019 14:58:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F94721D7F for ; Tue, 5 Nov 2019 14:58:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BezCicS6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389769AbfKEO6e (ORCPT ); Tue, 5 Nov 2019 09:58:34 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:44144 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388842AbfKEO6e (ORCPT ); Tue, 5 Nov 2019 09:58:34 -0500 Received: by mail-ed1-f65.google.com with SMTP id a67so4277382edf.11; Tue, 05 Nov 2019 06:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OsGNCpli0aKylNdzfXqGGNk51dXTucSwdxTJSWlZuDo=; b=BezCicS6Hxs25abhx2HqWWKnW19usdAdHbmmOP2sbmgjL77FDHp8bVN1/AT3xOfj5+ udDjWeZ3lJXPL/opmkrCC4myrHN06gDmaHa523NqDfpz5IWjUEzLlxhae2YuPl3gkiB+ kNwA63wA7d6kdzUFZgXFaIqreDChdIkHhupc7Uc9B5JCVgc213itt0UrYqYTwcLwPH4B um7GQlSM1wSTKphTjpiFXqJeX7zoaW07rIO/oTIoIuOKL5MtNTXRZj19NUfYDTFskpxq vhNOs547ShZK42QJR3kMK0VllmNCguEZD7l4pdtAWQUZbwx5iwspibI+9d19FoEKKs4F Gj3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OsGNCpli0aKylNdzfXqGGNk51dXTucSwdxTJSWlZuDo=; b=IPFIrTy+xohUyJDE0dmXs8pJf2njJj601lvj3YHp/S9tgV542VheVfQdNqT5jAoMe2 OLgCoRdznv4NcRodloT8We6DpkflWcfGVMT1MoURw75THLDoOEWLrxagXX50k0cI4N/F kDNjJt8pk26grujIFZB5sZy2aBjIdWRNKnCn3UVH89deoNHU7ZPPseLmL+8Xl2Fx21RW SrmK4rr/GTAGhYEkWXwJs8NWjKip2/U/F3xBrQ1criDKFFMLR9WCNCC3UlWmAR2fboiq kTe4TozI/9eEZ40ZL+dCan5gsDKj34GIPxKxYQ28RxRLfvo+yV17TlQQc9kep10uM/Jo aO7A== X-Gm-Message-State: APjAAAWyq4JJaE7fixLnO/7GJRdmdJAecj7fUgeN8nBqLU5AyqOVZzUl +9b3oAW0muyDoZ4j716yYaCaNPdoOB36hSDF5g8= X-Google-Smtp-Source: APXvYqy43mMHO0/x0G5HbHOwDOkgrETQbEGRexxUmLoW5TvTDXB/Ovve31RulrcR4/womJ50Dbe66S9RauKfI3+xvyk= X-Received: by 2002:a17:906:529a:: with SMTP id c26mr5331884ejm.69.1572965911324; Tue, 05 Nov 2019 06:58:31 -0800 (PST) MIME-Version: 1.0 References: <1572938135-31886-1-git-send-email-rppt@kernel.org> In-Reply-To: <1572938135-31886-1-git-send-email-rppt@kernel.org> From: Anatoly Pugachev Date: Tue, 5 Nov 2019 17:58:20 +0300 Message-ID: Subject: Re: [PATCH v4 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , Anton Ivanov , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Greg Ungerer , Helge Deller , "James E.J. Bottomley" , Jeff Dike , "Kirill A. Shutemov" , Linus Torvalds , Mark Salter , Matt Turner , Michal Simek , Peter Rosin , Richard Weinberger , Rolf Eike Beer , Russell King , Sam Creasey , Vincent Chen , Vineet Gupta , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, Linux Kernel list , linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, Sparc kernel list , Mike Rapoport Content-Type: text/plain; charset="UTF-8" Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org On Tue, Nov 5, 2019 at 10:16 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Hi, > > These patches convert several architectures to use page table folding and > remove __ARCH_HAS_4LEVEL_HACK along with include/asm-generic/4level-fixup.h. > > For the nommu configurations the folding is already implemented by the > generic code so the only change was to use the appropriate header file. > > As for the rest, the changes are mostly about mechanical replacement of > pgd accessors with pud/pmd ones and the addition of higher levels to page > table traversals. > > With Vineet's patches from "elide extraneous generated code for folded > p4d/pud/pmd" series [1] there is a small shrink of the kernel size of about > -0.01% for the defconfig builds. > > The set is boot-tested on UML, qemu-{alpha,sparc} and aranym. > > v4 changes: > * m68k: fix sun3x_defconfig build and reorder ifdefs as per Geert's > suggestion Mike, tested your patch series on a debian sid/unstable sparc64 LDOM running on a T5-2 sparc server - it boots for me. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatoly Pugachev Subject: Re: [PATCH v4 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK Date: Tue, 5 Nov 2019 17:58:20 +0300 Message-ID: References: <1572938135-31886-1-git-send-email-rppt@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1572938135-31886-1-git-send-email-rppt@kernel.org> Sender: linux-kernel-owner@vger.kernel.org To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , Anton Ivanov , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Greg Ungerer , Helge Deller , "James E.J. Bottomley" , Jeff Dike , "Kirill A. Shutemov" , Linus Torvalds , Mark Salter , Matt Turner , Michal Simek , Peter Rosin , Richard Weinberger , Rolf Eike Beer , Russell King List-Id: linux-arch.vger.kernel.org On Tue, Nov 5, 2019 at 10:16 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Hi, > > These patches convert several architectures to use page table folding and > remove __ARCH_HAS_4LEVEL_HACK along with include/asm-generic/4level-fixup.h. > > For the nommu configurations the folding is already implemented by the > generic code so the only change was to use the appropriate header file. > > As for the rest, the changes are mostly about mechanical replacement of > pgd accessors with pud/pmd ones and the addition of higher levels to page > table traversals. > > With Vineet's patches from "elide extraneous generated code for folded > p4d/pud/pmd" series [1] there is a small shrink of the kernel size of about > -0.01% for the defconfig builds. > > The set is boot-tested on UML, qemu-{alpha,sparc} and aranym. > > v4 changes: > * m68k: fix sun3x_defconfig build and reorder ifdefs as per Geert's > suggestion Mike, tested your patch series on a debian sid/unstable sparc64 LDOM running on a T5-2 sparc server - it boots for me. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatoly Pugachev Date: Tue, 05 Nov 2019 14:58:20 +0000 Subject: Re: [PATCH v4 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK Message-Id: List-Id: References: <1572938135-31886-1-git-send-email-rppt@kernel.org> In-Reply-To: <1572938135-31886-1-git-send-email-rppt@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , Anton Ivanov , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Greg Ungerer , Helge Deller , "James E.J. Bottomley" , Jeff Dike , "Kirill A. Shutemov" , Linus Torvalds , Mark Salter , Matt Turner , Michal Simek , Peter Rosin , Richard Weinberger , Rolf Eike Beer , Russell King On Tue, Nov 5, 2019 at 10:16 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Hi, > > These patches convert several architectures to use page table folding and > remove __ARCH_HAS_4LEVEL_HACK along with include/asm-generic/4level-fixup.h. > > For the nommu configurations the folding is already implemented by the > generic code so the only change was to use the appropriate header file. > > As for the rest, the changes are mostly about mechanical replacement of > pgd accessors with pud/pmd ones and the addition of higher levels to page > table traversals. > > With Vineet's patches from "elide extraneous generated code for folded > p4d/pud/pmd" series [1] there is a small shrink of the kernel size of about > -0.01% for the defconfig builds. > > The set is boot-tested on UML, qemu-{alpha,sparc} and aranym. > > v4 changes: > * m68k: fix sun3x_defconfig build and reorder ifdefs as per Geert's > suggestion Mike, tested your patch series on a debian sid/unstable sparc64 LDOM running on a T5-2 sparc server - it boots for me. 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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 5C99EC5DF61 for ; Tue, 5 Nov 2019 14:58:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2212B21929 for ; Tue, 5 Nov 2019 14:58:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BezCicS6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2212B21929 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A5C2C6B0003; Tue, 5 Nov 2019 09:58:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9E4E96B0008; Tue, 5 Nov 2019 09:58:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D36C6B000A; Tue, 5 Nov 2019 09:58:33 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0175.hostedemail.com [216.40.44.175]) by kanga.kvack.org (Postfix) with ESMTP id 745C46B0003 for ; Tue, 5 Nov 2019 09:58:33 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 4458E1EFD for ; Tue, 5 Nov 2019 14:58:33 +0000 (UTC) X-FDA: 76122530106.04.cup28_84d5d23ec0239 X-HE-Tag: cup28_84d5d23ec0239 X-Filterd-Recvd-Size: 4871 Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by imf45.hostedemail.com (Postfix) with ESMTP for ; Tue, 5 Nov 2019 14:58:32 +0000 (UTC) Received: by mail-ed1-f65.google.com with SMTP id f7so13289044edq.3 for ; Tue, 05 Nov 2019 06:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OsGNCpli0aKylNdzfXqGGNk51dXTucSwdxTJSWlZuDo=; b=BezCicS6Hxs25abhx2HqWWKnW19usdAdHbmmOP2sbmgjL77FDHp8bVN1/AT3xOfj5+ udDjWeZ3lJXPL/opmkrCC4myrHN06gDmaHa523NqDfpz5IWjUEzLlxhae2YuPl3gkiB+ kNwA63wA7d6kdzUFZgXFaIqreDChdIkHhupc7Uc9B5JCVgc213itt0UrYqYTwcLwPH4B um7GQlSM1wSTKphTjpiFXqJeX7zoaW07rIO/oTIoIuOKL5MtNTXRZj19NUfYDTFskpxq vhNOs547ShZK42QJR3kMK0VllmNCguEZD7l4pdtAWQUZbwx5iwspibI+9d19FoEKKs4F Gj3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OsGNCpli0aKylNdzfXqGGNk51dXTucSwdxTJSWlZuDo=; b=JNB0SuScO5BVxjoO9ocBcl/5k/aISEstJC7whzM7pfVXF2uStEohSlM92VpNENsruc 99kuyLw8Vmben8sao/uWHC3nFNXG0pik6b/XrWXMJIyrugQLi6QPb3DG2I1xiJej8g/c 4735gkWA0ViVGohCOLJ5Q1iBYPq9EtcpcOd7BceHsmG9YJzmECWZN+gsvBHqv7xUFPn4 kdDHRoJhcQqZzDFSDw5whXl+OOz6w1yXB0K42oeCoOTBWNeL9RsfojRD/MrpJNCYPk58 QLCGEPsxo3AnAsNvn7Bj15lzIASCcjXs76W7mEXAy5R4bxm8rnA1ZHyxZPkUb+2nQ4Qm UGNQ== X-Gm-Message-State: APjAAAWPyxJBD3qM0USEbgjIqwnR97yDyVwU5xZkRrmqQOBMBdN0bWQg Sd6FdaMJt6sFizagWUtIB7bfEMmOWIJNbkEpCuk= X-Google-Smtp-Source: APXvYqy43mMHO0/x0G5HbHOwDOkgrETQbEGRexxUmLoW5TvTDXB/Ovve31RulrcR4/womJ50Dbe66S9RauKfI3+xvyk= X-Received: by 2002:a17:906:529a:: with SMTP id c26mr5331884ejm.69.1572965911324; Tue, 05 Nov 2019 06:58:31 -0800 (PST) MIME-Version: 1.0 References: <1572938135-31886-1-git-send-email-rppt@kernel.org> In-Reply-To: <1572938135-31886-1-git-send-email-rppt@kernel.org> From: Anatoly Pugachev Date: Tue, 5 Nov 2019 17:58:20 +0300 Message-ID: Subject: Re: [PATCH v4 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , Anton Ivanov , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Greg Ungerer , Helge Deller , "James E.J. Bottomley" , Jeff Dike , "Kirill A. Shutemov" , Linus Torvalds , Mark Salter , Matt Turner , Michal Simek , Peter Rosin , Richard Weinberger , Rolf Eike Beer , Russell King , Sam Creasey , Vincent Chen , Vineet Gupta , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, Linux Kernel list , linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, Sparc kernel list , Mike Rapoport Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Nov 5, 2019 at 10:16 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Hi, > > These patches convert several architectures to use page table folding and > remove __ARCH_HAS_4LEVEL_HACK along with include/asm-generic/4level-fixup.h. > > For the nommu configurations the folding is already implemented by the > generic code so the only change was to use the appropriate header file. > > As for the rest, the changes are mostly about mechanical replacement of > pgd accessors with pud/pmd ones and the addition of higher levels to page > table traversals. > > With Vineet's patches from "elide extraneous generated code for folded > p4d/pud/pmd" series [1] there is a small shrink of the kernel size of about > -0.01% for the defconfig builds. > > The set is boot-tested on UML, qemu-{alpha,sparc} and aranym. > > v4 changes: > * m68k: fix sun3x_defconfig build and reorder ifdefs as per Geert's > suggestion Mike, tested your patch series on a debian sid/unstable sparc64 LDOM running on a T5-2 sparc server - it boots for me. 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=-0.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 B4DB4C5DF61 for ; Tue, 5 Nov 2019 14:58:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7F54E21929 for ; Tue, 5 Nov 2019 14:58:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dGqCeyYt"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BezCicS6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7F54E21929 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6no5fG/Ghf0bjN3kU1UGStPhKxZvh9DC/yltyPhuJJM=; b=dGqCeyYtDz59ud lTEMZaydYzlNJbKfmmTD15KvxKv2k2mEfDbeLMgpIIcmue+3+Pd5+jAnRg/aDlKW8kDhb6slxcRBU kNCFullnkAyrakr35EXWhgnGDdTEp+e3iPFYq3HbfZu8/oxxGIdSDoJmVPJTLtve3wY7IsILsOE78 9wsWZnjo+sUkpRRAEAay4IHeIqmtxLgvqfrB2/mtZo0NhsG95b15/yqedy056bybuTEdu5wp8YCdY 3K/g4k5W15wtrXtEND/ET9M9mlc6RLEl/fe0Xy201kNdhuTFiiPuETUPQdgLYHznuQFvzsKGYAG/N gv1IRLYSIFq9dfpimh0A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iS0I5-0004zT-Hn; Tue, 05 Nov 2019 14:58:41 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iS0Hx-0004sI-Ck; Tue, 05 Nov 2019 14:58:38 +0000 Received: by mail-ed1-x544.google.com with SMTP id s10so1406381edi.5; Tue, 05 Nov 2019 06:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OsGNCpli0aKylNdzfXqGGNk51dXTucSwdxTJSWlZuDo=; b=BezCicS6Hxs25abhx2HqWWKnW19usdAdHbmmOP2sbmgjL77FDHp8bVN1/AT3xOfj5+ udDjWeZ3lJXPL/opmkrCC4myrHN06gDmaHa523NqDfpz5IWjUEzLlxhae2YuPl3gkiB+ kNwA63wA7d6kdzUFZgXFaIqreDChdIkHhupc7Uc9B5JCVgc213itt0UrYqYTwcLwPH4B um7GQlSM1wSTKphTjpiFXqJeX7zoaW07rIO/oTIoIuOKL5MtNTXRZj19NUfYDTFskpxq vhNOs547ShZK42QJR3kMK0VllmNCguEZD7l4pdtAWQUZbwx5iwspibI+9d19FoEKKs4F Gj3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OsGNCpli0aKylNdzfXqGGNk51dXTucSwdxTJSWlZuDo=; b=IzJP2PwhdNGZ3cweHqv+JOTpOikkiEWDGdCVjmrt6AIVssLm24UqTQ/mRApFqN2Zec 2gWdQpO9uVpbqYtWMD/8YPjNDMlYqA+AKUxdtIXi0nsF1TG2q/1LExJLSufyd29W1j/b bkJwASMTIzy6fcdxyC462awQ1TIykgyDIR874Pv+wgo+Z4wWUM712c0i2UF/cgvlgRDi K352OdHD3mjtOE072bytdNITvKQNcIA2zpa7umN4cIKZ3gnenhOKl5UEKgPW16xgeTrV yC7S8ZDKKnQP/rJSxRPuDB81+qgcxLQMYtMvVIAfpwW6JE/c/6O8bcZg4hBW0gpcGFja 31Dg== X-Gm-Message-State: APjAAAUXwf+ynJIx0ATwe/hY1ZN+gOVnOxSCKmKkSnYNb3O5whhVk+DU tKk4eEIeauQo5m1L6Z7L3CctsA6+1E5K1l9bgyM= X-Google-Smtp-Source: APXvYqy43mMHO0/x0G5HbHOwDOkgrETQbEGRexxUmLoW5TvTDXB/Ovve31RulrcR4/womJ50Dbe66S9RauKfI3+xvyk= X-Received: by 2002:a17:906:529a:: with SMTP id c26mr5331884ejm.69.1572965911324; Tue, 05 Nov 2019 06:58:31 -0800 (PST) MIME-Version: 1.0 References: <1572938135-31886-1-git-send-email-rppt@kernel.org> In-Reply-To: <1572938135-31886-1-git-send-email-rppt@kernel.org> From: Anatoly Pugachev Date: Tue, 5 Nov 2019 17:58:20 +0300 Message-ID: Subject: Re: [PATCH v4 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK To: Mike Rapoport X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191105_065833_486568_6B19C506 X-CRM114-Status: GOOD ( 12.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "James E.J. Bottomley" , linux-mm@kvack.org, Sparc kernel list , Rolf Eike Beer , Vincent Chen , Greg Ungerer , Anton Ivanov , linux-arch@vger.kernel.org, linux-c6x-dev@linux-c6x.org, Richard Weinberger , Helge Deller , Russell King , Mike Rapoport , Geert Uytterhoeven , Mark Salter , Matt Turner , Vineet Gupta , Sam Creasey , Arnd Bergmann , Jeff Dike , linux-um@lists.infradead.org, linux-m68k@lists.linux-m68k.org, Greentime Hu , "Kirill A. Shutemov" , linux-arm-kernel@lists.infradead.org, Michal Simek , linux-parisc@vger.kernel.org, Linux Kernel list , "David S. Miller" , linux-alpha@vger.kernel.org, Andrew Morton , Linus Torvalds , Peter Rosin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 5, 2019 at 10:16 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Hi, > > These patches convert several architectures to use page table folding and > remove __ARCH_HAS_4LEVEL_HACK along with include/asm-generic/4level-fixup.h. > > For the nommu configurations the folding is already implemented by the > generic code so the only change was to use the appropriate header file. > > As for the rest, the changes are mostly about mechanical replacement of > pgd accessors with pud/pmd ones and the addition of higher levels to page > table traversals. > > With Vineet's patches from "elide extraneous generated code for folded > p4d/pud/pmd" series [1] there is a small shrink of the kernel size of about > -0.01% for the defconfig builds. > > The set is boot-tested on UML, qemu-{alpha,sparc} and aranym. > > v4 changes: > * m68k: fix sun3x_defconfig build and reorder ifdefs as per Geert's > suggestion Mike, tested your patch series on a debian sid/unstable sparc64 LDOM running on a T5-2 sparc server - it boots for me. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel