Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1641869pxy; Mon, 2 Aug 2021 06:55:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtWbx3uMwxnqGypTAuQQtceC/G1mJUizkhpHKRJNMUuzks8/3bSZ5MdKhGPYeHI1MZwUz2 X-Received: by 2002:a05:6602:2e11:: with SMTP id o17mr10225214iow.55.1627912528346; Mon, 02 Aug 2021 06:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627912528; cv=none; d=google.com; s=arc-20160816; b=PL4Dl+olxnAqAcKx/JPAIkDBBSHha4O+fJB3vkQejOvs2ibhlH8ZjvO8GmPibcPLxc USUi3IUcPzMfbSPA66eqFNQvKVOfL/YOTgL65adagZkuDl6X6jb076vXXwE+pVrXspvY ZifRiLcMkwPBErsfA3NtmEe1VcWASJPOyngmt8js1P+tMS+SVe2U/7d00pD8/M725T/w rHVOfgCNEqgKJRkPaqiepERRCJtz6QHm9I7CA9oQL9efRWcS1UqgP8uoaeiPFLuzjWxd dWhc6GZ0GPLVgLWG4y+insY4pngwobJw9dGM5MAqttAqyPmIzHRAd/SLj8dCQ4tyvSlx evMQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=H/VDLE2bW7YbCcZizxQVi5fYsQGvdlTaimoLgC+jGJ4=; b=VILpMDYNiYKWRstn+uXMTJez/VyR5ZeXp0ADUHKPZseOj16JvhJeUSJu789APngstC 2mGlJ+2dX5bx7JL30b/84FoY5VIc5/jJO1nUjtv1c6Ho5ITI/8FDNm/gXTO7fIsdFYCc gbnQXKTrRw9N9e5x5pfopxxVFVguC8oJ+SvACqRlLF0BB+cf7G13upvn9/KOnO82+305 49YjPpXwC8m6rgIpaAwbh+69bvFFFbMZxuaKnJIjlk9K37ao/XDnTMqwpS8Zg7Jt9grv 5ZzZbmlPt9b8F7YRX5RVfCupMLEKPMMk6AX/HoTJEm7cFj8Rt3Bmn3+YE1FxllJFS1ra gEpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=P2heMiiu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si13484079ilu.111.2021.08.02.06.55.17; Mon, 02 Aug 2021 06:55:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=P2heMiiu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235256AbhHBNyA (ORCPT + 99 others); Mon, 2 Aug 2021 09:54:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:60900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234504AbhHBNtf (ORCPT ); Mon, 2 Aug 2021 09:49:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C6FB661029; Mon, 2 Aug 2021 13:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627912165; bh=g7xzlURTxicIpANFeFlnBbiOHqROcRF6ixa7g2qFe2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P2heMiiuosmOAOcl4G1Ygu/m4zkXz5FR8NEn/GoXC8F84elDLa93Sbgk0y+rKY4ya PG8o9vHN8pNMH6yxIFJ7UbP3aB11yMCTNU9vaby7fYUtKM+Lm+iQvI0v57a9Ql5ZTs FxsK4UsfEC0+ZmpnfbvfeKuUjSxSV37kIWr5Cu7o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Riccardo Mancini , Ian Rogers , Jiri Olsa , Krister Johansen , Mark Rutland , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo Subject: [PATCH 4.14 38/38] Revert "perf map: Fix dso->nsinfo refcounting" Date: Mon, 2 Aug 2021 15:45:00 +0200 Message-Id: <20210802134336.028927997@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802134334.835358048@linuxfoundation.org> References: <20210802134334.835358048@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo commit 9bac1bd6e6d36459087a728a968e79e37ebcea1a upstream. This makes 'perf top' abort in some cases, and the right fix will involve surgery that is too much to do at this stage, so revert for now and fix it in the next merge window. This reverts commit 2d6b74baa7147251c30a46c4996e8cc224aa2dc5. Cc: Riccardo Mancini Cc: Ian Rogers Cc: Jiri Olsa Cc: Krister Johansen Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman --- tools/perf/util/map.c | 2 -- 1 file changed, 2 deletions(-) --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -216,8 +216,6 @@ struct map *map__new(struct machine *mac if (type != MAP__FUNCTION) dso__set_loaded(dso, map->type); } - - nsinfo__put(dso->nsinfo); dso->nsinfo = nsi; dso__put(dso); }