Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4463544pxk; Wed, 30 Sep 2020 03:47:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIGz3IZ8qhecN5tLs2ffQcFGDDsWn1vLdpIAnyFcGflX610UDVq7DPb1LkYdoZrpD/dEfL X-Received: by 2002:a05:6402:68c:: with SMTP id f12mr2126262edy.8.1601462847043; Wed, 30 Sep 2020 03:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601462847; cv=none; d=google.com; s=arc-20160816; b=nChMAYbiMsGES5/U41MwDLl+bx4iNJL1vufac19dV3WTS119RYVpouEfIRfb95ylrV sSIJDTCocNG8y/NJhgpeO1qKT9UhMrlAbRp2JCrF/MP3ZCuI1q+mHMnC5FJmD1HGRgvV PPBuSBJ38B48CCEps3pt+9CCPEIY5Eib9TLYxL2J9vWxErNZldssRN7kC0aZGr/Xozj3 d5uRBSevQie2aw2jQIKjhewbxjC5l03/fXE063Ll9PS7ZlQ2ES8bFJcyAw3SHFg1QVh5 IGxdgUabpVGtRJNghkMWRWwHo3GYfBvANtVof/ZCXk3uhqST84iWm18tcdoKZCvvr5fO uK0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5qZQjs1EsA6boevvDA9SSd2z5d4qbdVT+hJQw1G/0sA=; b=LYEWb7mLm4BhLWEO5kSON7CeEf/imP4NZH9NAlGyxm2hx1OAocNThSd8nQ+vPYuEIe 7yLTG0kIFe+krTOTekyt3Dlev2BOD2jwEccagrkmjq9EhURnfaQzuA55va5qsjgQhZUG jggrO5uc1UAYqnJ//jpgyrjVn4/eg+Jy5trUMFeX5VaaMeoANMDK9dyK889SsLUqafF3 rQB76/gM7YgIFWuKpGOY5AxzOoWhlxkdbuAITeaYaAMHGYF4QvylRGqkxd8l3EjfC/A3 bOtEN6YiOmDLLCSBmhpL3MH3nwHECWfwbxb1QnptF+LSATkWLpguc6YLLnQ/YJhinX9o Ecaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=lmuRNBBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z4si840124ejf.594.2020.09.30.03.47.04; Wed, 30 Sep 2020 03:47:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=lmuRNBBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729240AbgI3KoL (ORCPT + 99 others); Wed, 30 Sep 2020 06:44:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgI3KoJ (ORCPT ); Wed, 30 Sep 2020 06:44:09 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 163FDC061755; Wed, 30 Sep 2020 03:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5qZQjs1EsA6boevvDA9SSd2z5d4qbdVT+hJQw1G/0sA=; b=lmuRNBBJk1jt8rrS9q/PkAhZuG fIzl2JL+dfOhTfqi4qYpOXkOTWYgdR39HrKy+8qBSsHCzFUSr8Hbxvdnkpd6E31zUVmcvLq+NQQKR Km30qLapukE1XiWNMZYMwvSGoygMffiap4x5lbx9lgZq4Hnrxnm6rchZSVISeJ59yIac7RQbn0luB bmOV0s5w4LtQIfeHyEhfyrF1DZLlA2g81NZcHjR4G3OqgBHVZBs3y5vjhZl5424UOd073D6LaCNgz 68atLfVY8PEoJv37EsSaHNcu4ERIGnpJARBoGgq9+unozcIKEkW6uHN3Bt1Rs8lI0jogsaCMfl1qu mpna8MXg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNZaJ-0002EU-BE; Wed, 30 Sep 2020 10:43:43 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E04C5300446; Wed, 30 Sep 2020 12:43:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C7F922022B66B; Wed, 30 Sep 2020 12:43:39 +0200 (CEST) Date: Wed, 30 Sep 2020 12:43:39 +0200 From: Peter Zijlstra To: Mike Rapoport Cc: Andrew Morton , Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christopher Lameter , Dan Williams , Dave Hansen , David Hildenbrand , Elena Reshetova , "H. Peter Anvin" , Idan Yaniv , Ingo Molnar , James Bottomley , "Kirill A. Shutemov" , Matthew Wilcox , Mark Rutland , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Shuah Khan , Tycho Andersen , Will Deacon , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org, songliubraving@fb.com Subject: Re: [PATCH v6 5/6] mm: secretmem: use PMD-size pages to amortize direct map fragmentation Message-ID: <20200930104339.GK2611@hirez.programming.kicks-ass.net> References: <20200924132904.1391-1-rppt@kernel.org> <20200924132904.1391-6-rppt@kernel.org> <20200925074125.GQ2628@hirez.programming.kicks-ass.net> <20200929130529.GE2142832@kernel.org> <20200929141216.GO2628@hirez.programming.kicks-ass.net> <20200930102031.GJ2142832@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200930102031.GJ2142832@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 30, 2020 at 01:20:31PM +0300, Mike Rapoport wrote: > I tried to dig the regression report in the mailing list, and the best I > could find is > > https://lore.kernel.org/lkml/20190823052335.572133-1-songliubraving@fb.com/ > > which does not mention the actual performance regression but it only > complaints about kernel text mapping being split into 4K pages. > > Any chance you have the regression report handy? I think the saga started here: 20190820075128.2912224-1-songliubraving@fb.com 20190820202314.1083149-1-songliubraving@fb.com 20190823052335.572133-1-songliubraving@fb.com After that Thomas did the patch I referred to earlier and I endeavoured to rewrite x86-ftrace. I added Song to CC, maybe he can remember more.