Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1982707ybe; Thu, 12 Sep 2019 02:38:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqaGXBQ1kAF5/u8xlMG21Ye8zVyI7RNxK/p3t86XYQKXt0TKf4q8rui3RE9IEB4ySMMHJb X-Received: by 2002:aa7:d5cb:: with SMTP id d11mr41461003eds.250.1568281083885; Thu, 12 Sep 2019 02:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568281083; cv=none; d=google.com; s=arc-20160816; b=O3SAk6FuZzRW+4vN6/uHrrYTuD0epBsGkIuokrZZw+HYS/Dcno7ZzBMhKk1tCd5uiy MuSLRQc64CQn/uIGobBUvGJmfWrThJbLNUefj12r5tuiLACSZ4RdYFUnmv5YD/YW1Sq3 tO1ClD0oE21BglGjJqq1dASNGmfoxOBu4FufMTdq4z4+pPY2WdMu3A7JScUnbwDFmLJT WzaMvHp4Bqk8Kwmd3VPhWdEeZPHV6NuDH7HLWw1HW/1X+zWaRs3zMPH3A5AcDGTwdfbx rC66OD53xBPGc85HgOOmfwgaQb7tY6G3nTk19BB1jvJrALAPxUU7RpVpiJzrNyz30RLX 4ulQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=pgiJaN+omBuohhRXIItkZjhOGTr/jc9Uspp5OqWwYzY=; b=S2jpxv1mBpIIpZw4+kbcNRiwhxsgXZddKutBRqTu1uumkahNkOAqCCkibfCDAcPNzw k9WRjeEhCIA2Ij3JkCczXLqBBgLKP0Otiv1z3duBw45i+JmuvO/OpC0odmC18m1CsPNF 6ape4eX7OumhaBa8PYoUpuHw49fjzK2uPOodULMdQxC49GDBjSxcvi9ZY3SVgt7GO08w 5cLWvihp7Cr+nMlJHbHkwWI/gXb4OEufJhiIqPtSdzFtK93Agcp6PZap8k+i1bXtkzfb nnBGvDVJ2E5v5PPRatjU/4jKw7aJ3fLwi9nb+e5ZbJsiJjNYZYwa+Z/UGAZmZd/CHzGO eQMw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si12317396ejq.283.2019.09.12.02.37.39; Thu, 12 Sep 2019 02:38:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730752AbfILJcx (ORCPT + 99 others); Thu, 12 Sep 2019 05:32:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:34122 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730218AbfILJcx (ORCPT ); Thu, 12 Sep 2019 05:32:53 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 82A3EAD4B; Thu, 12 Sep 2019 09:32:51 +0000 (UTC) Subject: Re: [PATCH v3 4/4] mm, slab_common: Make the loop for initializing KMALLOC_DMA start from 1 To: Pengfei Li Cc: Andrew Morton , Christopher Lameter , penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Roman Gushchin References: <20190910012652.3723-1-lpf.vector@gmail.com> <20190910012652.3723-5-lpf.vector@gmail.com> <23cb75f5-4a05-5901-2085-8aeabc78c100@suse.cz> From: Vlastimil Babka Message-ID: <1f1923e7-20a5-71b1-910c-5357a9143317@suse.cz> Date: Thu, 12 Sep 2019 11:32:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/11/19 4:33 PM, Pengfei Li wrote: > In the past two days, I am working on what you suggested. Great! > So far, I have completed the coding work, but I need some time to make > sure there are no bugs and verify the impact on performance. It would probably be hard to measure with sufficient confidence in terms of runtime performance, but you could use e.g. ./scripts/bloat-o-meter to look for unexpected code increase due to compile-time optimizations becoming runtime.