Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp593526rdh; Thu, 26 Oct 2023 10:11:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpGPW+MKq6WMCHSiK2oYqk71HhH892t/NdhQTN0o20g0rlYlIvMCAUU86yPowrUtF7Z4Hb X-Received: by 2002:a05:6102:3faa:b0:44e:837a:25e with SMTP id o42-20020a0561023faa00b0044e837a025emr2399508vsv.11.1698340305966; Thu, 26 Oct 2023 10:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698340305; cv=none; d=google.com; s=arc-20160816; b=QBSqIurXv64f9kji//SGyluCg26EhMeDSsjTSefasTKAOjjuDbwo8nKw9iA6220HDf audvgXbDfFbUmp0TmW3L//MS7Rfu8xyUHfjf4c7Pa1D6eBXP/CsnS3V2Y5ngZ5/eHFd0 jdmnGcqptaz/4VN3a13H40xJPRIuvB4kGwhkjnjgI9nDC8emloWB2QVLZ2nWWoKVQUej sAtGv2s8BFVlnwGuPqbD70uG0nb3ev1w+B/nXxnbiCT+n2HM9UPKk5XASgMu+OKLIieE 1NOnmZB/PkmNtYw9TnGTV1sSuEuJ3sfiCBt1fu6Y17hRjZI1A5F6NxxhtHxWlS9/tVpk GeyQ== 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:to:from:sender :dkim-signature; bh=KFNvVAbx08/DrQAY4pWSijv9p7sBshq6k5IYqo9j+O0=; fh=5Y/xHwhuKjCtWMjHmws5gpwJLgc1ocudyQ32Bzx1ba0=; b=kNZVGeNgbhVuu2BPVvG9obF1oKBT6WNwKT9NLmeySQckF1xCx97YYQbl7Ga9ze7lOF bI8C4t1PZ5Sdh8YdrkZqAesCnmAkxc5l8jLcP19+fX/dB+8HhiIzMo2mGs1/AJ83FWa0 Mf0/Qrzbjvvg/pGS//m3JpdVQ0NeapffNSVRVx2f6kYCUSjpE9UefyfT96aiZQqHAwJP uK6ahqXYVGBIZN52HO3ztMez4xM3jIs4h8ygKX785RG3WVayd1uO0k5Bj/zGoUilKYGr PunnzEmMaGOJ6sfaMwGFAFNngN48AqDeHppFjAlJQbzDhCeJxfDA10SOU8LR+2TgbJEM UYSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NWurleqA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u2-20020a67f502000000b00457666727c4si1703928vsn.24.2023.10.26.10.11.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:11:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NWurleqA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B2F2980EE7F5; Thu, 26 Oct 2023 10:11:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345440AbjJZRL1 (ORCPT + 99 others); Thu, 26 Oct 2023 13:11:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234902AbjJZRLY (ORCPT ); Thu, 26 Oct 2023 13:11:24 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35427D43; Thu, 26 Oct 2023 10:11:22 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6b77ab73c6fso844448b3a.1; Thu, 26 Oct 2023 10:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698340281; x=1698945081; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=KFNvVAbx08/DrQAY4pWSijv9p7sBshq6k5IYqo9j+O0=; b=NWurleqA5jII/7qscyqKsFTPezSAeGgKz7rJMqdIYrzsFgGYkcHZT+DoUMQUYGJ0qA f7AOpwKHluFrZ3/e4r7eJYfUwl+crd7q0a9Scldj0D/YDnbl3q15vDSZitI0LMTY49DQ pXwhk03LEbgLPHbcTvoMFnx1tXlqqwg1grrM0C3LdGh88AROFxhiLq8Ik35g03/n8X7d ZdxdUbAJarZhe83sLJ1LfyMB/XqMZ2YBuw5IyXzuM5jRbwQpdKfXuflbyMGsHmxy486b 5xkYFdpSgqTRFu0AAGFRUDGJfJTIFfKSQakjQZ8TD+1coJc+HmfGsza8d8D5wYPGAZ2c j4ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698340281; x=1698945081; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=KFNvVAbx08/DrQAY4pWSijv9p7sBshq6k5IYqo9j+O0=; b=XSNd+hKNf8fhuC0kXdYdWm16RaCw8nBNSd4TjOmN5d8mS1ZsTaYJDPwtW9Xbl7ZUF+ oRfZOcybsBs0PFQf1P9OBaBXccuEvWYKBaTbbxJZp8rIg+06OpP7WH1Fex3yhrAqAcU6 U8dKnoxBcd/5AbJLZL4Ffd3wvzdnkqHzhTwVmQ6Lu8RUzyg9oxMQl5d5vVj+L5w6G5sY VvnrM3J9yXcAV324hVmXbWawdO/jUDI2Tsxe6adCHjXu6imwvcGwfZQK7eOI6PSticPB JSexAZSlsZfaQORmHhFZAFLClJrEtIiV6wPpwXwcGMRefF/CP5iOC9lcNk3oZf6lI8pg MmFA== X-Gm-Message-State: AOJu0YwtGQ2j83GcaPOhaYD3Txp8dtsTEMvBgA/+nEUTbkousc6apxVf tCjYYo3JE7cUH1mACfObtuLMc+6k2N8= X-Received: by 2002:a05:6a00:1da4:b0:68f:a92a:8509 with SMTP id z36-20020a056a001da400b0068fa92a8509mr4303916pfw.7.1698340281582; Thu, 26 Oct 2023 10:11:21 -0700 (PDT) Received: from moohyul.svl.corp.google.com ([2620:15c:2a3:200:ec51:cb82:a169:2ada]) by smtp.gmail.com with ESMTPSA id k15-20020aa7998f000000b00688965c5227sm11356315pfh.120.2023.10.26.10.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:11:21 -0700 (PDT) Sender: Namhyung Kim From: Namhyung Kim To: Paolo Bonzini , Yanteng Si , Kajol Jain , James Clark , Adrian Hunter , Athira Rajeev , Yang Jihong , Nick Terrell , Mark Rutland , Changbin Du , K Prateek Nayak , Ingo Molnar , Ian Rogers , Masami Hiramatsu , Sandipan Das , linux-kernel@vger.kernel.org, Song Liu , Andi Kleen , Liam Howlett , Ravi Bangoria , Leo Yan , linux-perf-users@vger.kernel.org, Sean Christopherson , German Gomez , Peter Zijlstra , Alexander Shishkin , Kan Liang , Anshuman Khandual , Jiri Olsa , Miguel Ojeda , Arnaldo Carvalho de Melo , liuwenyu Subject: Re: (subset) [PATCH v3 00/50] Improvements to memory use Date: Thu, 26 Oct 2023 10:11:09 -0700 Message-ID: <169833996405.1181734.469130152279733524.b4-ty@kernel.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231024222353.3024098-1-irogers@google.com> References: <20231024222353.3024098-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 10:11:40 -0700 (PDT) On Tue, 24 Oct 2023 15:23:03 -0700, Ian Rogers wrote: > Fix memory leaks detected by address/leak sanitizer affecting LBR > call-graphs, perf mem and BPF offcpu. > > Make branch_type_stat in callchain_list optional as it is large and > not always necessary - in particular it isn't used by perf top. > > Make the allocations of zstd streams, kernel symbols and event copies > lazier in order to save memory in cases like perf record. > > [...] Applied the first 11 patches to perf-tool-next, thanks!