Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4036579rwd; Mon, 29 May 2023 22:39:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5quwz0eoLyfWervXMkRlgrtOZh/d72S/pek+/E/yQzxGJdLgqNoLBMyXpDL5zb94KmJe2E X-Received: by 2002:a05:6a20:4287:b0:104:8045:c952 with SMTP id o7-20020a056a20428700b001048045c952mr10795743pzj.23.1685425144268; Mon, 29 May 2023 22:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685425144; cv=none; d=google.com; s=arc-20160816; b=lIkKZzWM29VlQsgNDLrPJ/D61BWEGyDUnz7682uZTLk14UQc78i83eTqNfewzCoWXy BLLpuCRDo+3fG93R7bYq1XuFypXKVmvkIeV5W3FHGqg28c79m5yWuGQsHdrEsbxBqA+5 id/W3n5Hm7ldHL+U6Ehc5Tmi2rSMOeSw+PP2FWY9gom2xXrZZVjMy6hZ3gbfnsTJWPwn MBpAP7BgtxiBVTZbR2urIpdOczGy1XvGrUeiX98V/Q05qhCowZN8eRDlGZpAJGHfwzuC ApVBS6pw55oXpCaTbc7+hYOfYWJOA4KoqHpPnGHgI0r3qkCPmQLqa6/7neYQyxRhf+qD 8keA== 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=BsdtVrFGCJbQ+fRw/SSLLWJvAmhHbsbfCItALlMk470=; b=krdm6zgO2MK2krlgDNuBg5m5AYRDQAGCGfXBYRa+OIezgeNcX8DY73dT2s3S4cOaaU rfLJx6zgobGVZ5cgev8gQ5VgmfAIE/t4ymdcmFs7Kc6O4oF5hzpl0MuOfVzm6IIg2Mf7 Opb2KVanZg8DPk6F93fDNNuRbp4c0p42drTJ+Kg+up9QvvTgJONkxLGsk0GJ1DU5v6b2 9QHHY9SNqm+REC8NUa6ZaS6JpD2RV93R9JM1MouKAhx1NE9SXyWK6VgdTO3zwnlPv4TD FjkA9TF0HtcqX6+zekYr8RWYQcUapYXY8K1m3Gk1T7o4FaV0H6VzkOACnYnaFzL4AhM+ emCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GQCDc6WB; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v202-20020a6361d3000000b0053b887d3d4dsi993406pgb.291.2023.05.29.22.38.49; Mon, 29 May 2023 22:39:04 -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=@intel.com header.s=Intel header.b=GQCDc6WB; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230048AbjE3E5i (ORCPT + 99 others); Tue, 30 May 2023 00:57:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjE3E5g (ORCPT ); Tue, 30 May 2023 00:57:36 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98D75C9; Mon, 29 May 2023 21:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685422655; x=1716958655; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BsdtVrFGCJbQ+fRw/SSLLWJvAmhHbsbfCItALlMk470=; b=GQCDc6WBp0Q9CKAhM98FUIYws+Luoff5PiAbjb5b29WY2h6JF0dal7iP bOrwsnRKfGz1BVrP2dZX8QV7/miZ/BTi+3B9KkYq+puWGuE+zsxKsnR39 QY70ExO9dS8t00Al5YtEDrDYS80n+EREIyQdfVZGDazHYxzm+YwVP6Wca A2mBWrh/7pV1g5WRcYI17Tfk3ml+Q9s7xGjR/uHd1Ce49fQ1/SrGtawpf NkEz0GPmEyjx+MrOgqeeG1U5PWuyIgy4Teo774VdtTzdRogtmfihcCSAY SNwtEt1K6hvZFqJZnT/RUtmpsx/5wa5Ec+RvE7yADvg9XTwWpGzEm90we g==; X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="339405183" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="339405183" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2023 21:57:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="830595390" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="830595390" Received: from tassilo.jf.intel.com (HELO tassilo) ([10.54.38.190]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2023 21:57:35 -0700 Date: Mon, 29 May 2023 21:57:33 -0700 From: Andi Kleen To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , "Masami Hiramatsu (Google)" , "Steven Rostedt (Google)" , Ross Zwisler , Leo Yan , Tiezhu Yang , Yang Jihong , Kan Liang , Ravi Bangoria , Sean Christopherson , K Prateek Nayak , Paolo Bonzini , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH v2 00/16] Address some perf memory/data size issues Message-ID: References: <20230526183401.2326121-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230526183401.2326121-1-irogers@google.com> X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 FWIW I think the whole patchkit could be replaced with a one liner that disables THP for the BSS segment. I suspect that would be roughly equivalent for memory consumption because 4K pages that are never touched would never be allocated. -Andi