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=-2.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 E1D1BC10F14 for ; Thu, 10 Oct 2019 07:30:03 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A0C4920B7C for ; Thu, 10 Oct 2019 07:30:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="F80s6XON" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A0C4920B7C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5B4288E0006; Thu, 10 Oct 2019 03:30:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 53F458E0005; Thu, 10 Oct 2019 03:30:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 47B978E0006; Thu, 10 Oct 2019 03:30:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0099.hostedemail.com [216.40.44.99]) by kanga.kvack.org (Postfix) with ESMTP id 21E658E0005 for ; Thu, 10 Oct 2019 03:30:02 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 8D480180AD803 for ; Thu, 10 Oct 2019 07:30:01 +0000 (UTC) X-FDA: 76027051002.27.crib04_5771f0381f213 X-HE-Tag: crib04_5771f0381f213 X-Filterd-Recvd-Size: 3393 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf45.hostedemail.com (Postfix) with ESMTP for ; Thu, 10 Oct 2019 07:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QTes5uVMa4eRN7/pRExYXKy8BKWgKlpRk+TdXzCx6uI=; b=F80s6XONsFkDHOWtuPkAqDhun X3HJ6WTlwiovblYOdAZpBV8A094i2afoRO/0cM05O+DpZ/f9khv+FHdhR0ZuJIIsvcdyJLCY+K9n9 t2WKCAb/UfmX7uX3o5RVmeRw5D8OMkSYTk3dLZzOROWX/GBvWUxLtmdtDoD4yDIw3Etr7Ga6c6JWk wRUs3YE2VvSSURLyImW9O6ScBn5jyruoHH4ABpQrXIGB7ZEFvYvBzh+lEziWAkALd9OY57xSIkaug FcyVQK7VuHnwfqInTr3dAHpo+cQIW2zcqMB1pQTX3Srj5aUvxOPJZ2sYQrnlUZVbcrbuZL5W4n3mM Wy48VqKOA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1iIStX-000162-12; Thu, 10 Oct 2019 07:29:55 +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 5A95D3013A4; Thu, 10 Oct 2019 09:29:00 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7BBE5202F4F4F; Thu, 10 Oct 2019 09:29:52 +0200 (CEST) Date: Thu, 10 Oct 2019 09:29:52 +0200 From: Peter Zijlstra To: Vineet Gupta Cc: linux-mm@kvack.org, linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Will Deacon , "Aneesh Kumar K . V" , Andrew Morton , Nick Piggin , "Kirill A . Shutemov" Subject: Re: [PATCH 0/3] eldie generated code for folded p4d/pud Message-ID: <20191010072952.GM2311@hirez.programming.kicks-ass.net> References: <20191009222658.961-1-vgupta@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191009222658.961-1-vgupta@synopsys.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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 Wed, Oct 09, 2019 at 03:26:55PM -0700, Vineet Gupta wrote: > Hi, > > This series elides extraneous generate code for folded p4d/pud. > This came up when trying to remove __ARCH_USE_5LEVEL_HACK from ARC port. > The code saving are not a while lot, but still worthwhile IMHO. > > bloat-o-meter2 vmlinux-A-baseline vmlinux-E-elide-p?d_clear_bad > add/remove: 0/2 grow/shrink: 0/1 up/down: 0/-146 (-146) > function old new delta > p4d_clear_bad 2 - -2 > pud_clear_bad 20 - -20 > free_pgd_range 546 422 -124 > Total: Before=4137148, After=4137002, chg -1.000000% > Works for me, thanks!