Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp662816rwl; Thu, 23 Mar 2023 23:35:49 -0700 (PDT) X-Google-Smtp-Source: AKy350acuEdMDVYRV3heLT4cdtjd6u2piz8fawqd15wlHK8Y4uPO/WuuHRyc2hnCOwAc/PuXoyPF X-Received: by 2002:a17:903:27c8:b0:1a1:460e:6a5d with SMTP id km8-20020a17090327c800b001a1460e6a5dmr1358533plb.49.1679639749084; Thu, 23 Mar 2023 23:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679639749; cv=none; d=google.com; s=arc-20160816; b=s+6ZkXNHuGnQLZt5qPHvMOQLB2B7xwxA4FkmJA7+6rK2aCvE1+73r55mXFCRLVNvTh p4UXCmGRNWo0mWdkQfb+ypXr+AEwfVamHdnjZkr+5RHtatqroG8IHvGbFTVf8rgFBqsv s85IXYKCMKG9adPrE/3OL5GsKA3Og0bHVp1+d8hvMjjHTJ/KwjHbAXze37JdR3zXv7I2 QxD+04Xgb2rvM21T0y4moNZBXP8dOnhem21Zpz5Sx3qD4zcAKdeu/KKBN9QXKhLym7OA kP8cKL10SvwvH3HU7u/ofC7dgnPyqJbbgJsyLlqmi95uVSS5fuwvu75R/sFQ7hzaK79t 9VPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+gg+Nsm6tcL5yVwisqqOCzwyC+QFvP6IJKg/xOEnEw4=; b=JvjctNwV0e4/GZd7pgtrzMAJyuEWy2hNjb9UyKNJZejPgXXuDNe9MBJcVNxE4Otgcq rGJEHIMSjAKsYMDvUWnAqqi468YoALrZWfCMne4NUtmyR8uCyHyzHsixhjjmbZmmSmNH V7cOAhIBULjNS7c8ZBX00U70NAn5B7lBAsCh0MEEePXFNSNLXu3uBwCWXFMGpYZbUFCJ 31pvaYp1bSp4iXzhnaa6dUyxCoY7sk1IED6dmWuOlqHpLeqE+ZJgOVTYvEEjjV3aRGZ8 JdJYxQxF+sJOLQgMJoO7v+Yf1MXfLTzhKfG0kZ2byo6F+JMSE8Kjb8WCgiu0T3/KTMM3 IU0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YD7aApoa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a170903228700b001a076305275si22296604plh.318.2023.03.23.23.35.37; Thu, 23 Mar 2023 23:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YD7aApoa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231740AbjCXGYQ (ORCPT + 99 others); Fri, 24 Mar 2023 02:24:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjCXGYP (ORCPT ); Fri, 24 Mar 2023 02:24:15 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4BC14687; Thu, 23 Mar 2023 23:24:13 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id qe8-20020a17090b4f8800b0023f07253a2cso651427pjb.3; Thu, 23 Mar 2023 23:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679639053; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+gg+Nsm6tcL5yVwisqqOCzwyC+QFvP6IJKg/xOEnEw4=; b=YD7aApoa2wmPLKup872tCwpuexBHKmDDGYQKsA3sNhW8fTRn2XWhjUUTM4hhIgIekL bZCtAx+lzwY/pR96VwvieF+Okg3KahE6wMREF6HoZ0DTFlblDD0t7KFet5FZR5IhbH/N dk/2GigPG8p1fYvJ0aEt0nY8FNtK2klW6nuuRQZKzPYWKzCyvVCwDVEkmlAlJCqYMQkX //z3Z7RRpdWEcmU7iS1vzMA4tOhYGRqIF+al0ViJcANw6DF8MAklH68yOLYXcYRkjcw+ y7ESYFAKjUXKb2Lhh/v5kyPOSw6Yoh6Ya/F/5iP/NGtAXgKcXanoV2eV5apwsOZpxeje NF3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679639053; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+gg+Nsm6tcL5yVwisqqOCzwyC+QFvP6IJKg/xOEnEw4=; b=cJkR9+KigrqeWMhEv5DGJdEt3NXZbbyTwwK3x7vwRqp5RBMq+f7Ql8IeAx0+K7vjuk jKDVTVE7vteR98Jd32bZPC3uOueMMEJYriZ53gt3D2WGXaLaWM0yul1cgC96CyWihny/ kMmPOKrpCfebj77oIlGAzmldVYxXiEkN70miubPAegJZGbuWh29Kdmh088sy9hYy+3fl TAgwCLGzu7RHnc7EJVsqqd/xcbzS5605OhJrbHJLK7uHRPzr1OsyY072PsWOwbTcbM5i oPcO0sWXjo/q8UGFVc/cnpGt9lm3LZOnyfGvunhAeSVoiScLSAnteTj7LEMpfl0AzART /kOA== X-Gm-Message-State: AAQBX9dzT1YvFAFlAkkbvlbTO16O5GwHBbnx/fT3Kz+Tmyp74mMMETEZ 4tDyjItlGdXALpkVdQ1ipz9GlwDXqrkE6A== X-Received: by 2002:a17:90b:4b10:b0:23d:41:3582 with SMTP id lx16-20020a17090b4b1000b0023d00413582mr1729412pjb.8.1679639053020; Thu, 23 Mar 2023 23:24:13 -0700 (PDT) Received: from localhost.localdomain ([193.203.214.57]) by smtp.gmail.com with ESMTPSA id ay6-20020a1709028b8600b0019a997bca5csm13275036plb.121.2023.03.23.23.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 23:24:12 -0700 (PDT) From: ye xingchen X-Google-Original-From: ye xingchen To: mcgrof@kernel.org Cc: akpm@linux-foundation.org, chi.minghao@zte.com.cn, hch@infradead.org, keescook@chromium.org, linmiaohe@huawei.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, willy@infradead.org, ye.xingchen@zte.com.cn, yzaikin@google.com Subject: Re: [PATCH V5 1/2] mm: compaction: move compaction sysctl to its own file Date: Fri, 24 Mar 2023 06:24:08 +0000 Message-Id: <20230324062408.49217-1-ye.xingchen@zte.com.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >$ ./scripts/bloat-o-meter vmlinux.old vmlinux >add/remove: 1/0 grow/shrink: 1/2 up/down: 346/-350 (-4) >Function old new delta >vm_compaction - 320 +320 >kcompactd_init 167 193 +26 >proc_dointvec_minmax_warn_RT_change 104 10 -94 >vm_table 2112 1856 -256 >Total: Before=19287558, After=19287554, chg -0.00% > >So I don't think we need to pause this move or others where are have savings. > >Minghao, can you fix the commit log, and explain how you are also saving >4 bytes as per the above bloat-o-meter results? $ ./scripts/bloat-o-meter vmlinux vmlinux.new add/remove: 1/0 grow/shrink: 1/1 up/down: 350/-256 (94) Function old new delta vm_compaction - 320 +320 kcompactd_init 180 210 +30 vm_table 2112 1856 -256 Total: Before=21104198, After=21104292, chg +0.00% In my environment, kcompactd_init increases by 30 instead of 26. And proc_dointvec_minmax_warn_RT_change No expansion. minghao