Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1642737pxy; Mon, 2 Aug 2021 06:56:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrmDwMs9cTw6Qjpnop2+DDPY4l3y65AS6IEZaSl6gGs1wMWnzvyHKlNQnlKpbB97+H8VHE X-Received: by 2002:a92:db4c:: with SMTP id w12mr1779006ilq.306.1627912607583; Mon, 02 Aug 2021 06:56:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627912607; cv=none; d=google.com; s=arc-20160816; b=ezV7aRKnxLjzfQ7SMXsWrrpVA4lEJy8P9Djtco/DVglsWPmIiEinJ9Jep+YKIpWMMQ 7JvaIZSMo3n1wKodUQuBvxqSlCUYmHV3l3c+oT3i98GfKqMc1ngRWulfAMyc8GXIG8Nx hvyjvSnjut47vwQgXZf0ZpZa8bWMqz+enXfdzF0PCd1j773Qlpe5kT5AFaDzA82gZQW/ RerWCNPFQ0bgSR9y4mnJsPe/wxvFpRkX935AY5yx9Q+1ZyAlETCW2TiZI8z8yjND6V2o iX6Z6vDFJC1KyfYBkLt4eYq80aaJEgGx/ahtw/jFvZDj1OXw2Cme/VpY7T36K0R8rgbl 6yxg== 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=apJ0bDCOzUphhO9pJ5I95KysxJeUPG5DP3O/SXFZ4Nk=; b=pgZYsFDhxFOpmDxA4bE6LmrZy7CNb5SOcW4YGWvU2gHBBJZ2qkCmpPr7uhgVWmT9SC /8j4Rz2uD47k+OMhdJSvB+IobAFJWTsZNOFTpcRAjZl6l4yOEvoQC8H9oSy0LLMDfVfx d92nd/5BfdwTiJ1xkAxETkyKKmSJV1d3bshPTco4lhOD093N7nXDwuH1DieZcpIG81pW bzwLQsMY7Qa/ynqt+S27HgF3LNcXNKmEE2Bdk/b6rR3hnDo5/q0BARCRFvjEgMxCWnih EuIiJuHnVWjuDGv0x0x73urkTYFfDnXOEod+AuZihXJAHHtbl8wTic2f0wQJ1OqZ0bLU qkVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yEzsPEoa; 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 q123si9500545jaa.91.2021.08.02.06.56.34; Mon, 02 Aug 2021 06:56:47 -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=yEzsPEoa; 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 S234235AbhHBNzk (ORCPT + 99 others); Mon, 2 Aug 2021 09:55:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:33086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234628AbhHBNuY (ORCPT ); Mon, 2 Aug 2021 09:50:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AB57460527; Mon, 2 Aug 2021 13:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627912215; bh=fp66PKMkZv7SjqD3Wg879LDEq12HBvW62IGsBxIa7Ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yEzsPEoaOWG3uOv+yQG8JDqFQyl3suYysobKj1ZiFuzltKlAocpHjFyUfCbSi61zE GYhf2X2wDi8H4Ek272al9ppFs0x3Sl7D7Ucx9bK+Zid7ApoHLs5MJBquEYza6gbQE8 gjqGsfIOCbXPsgbJkrZtOSBq+3Envp3HMfYgqkPU= 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.19 29/30] Revert "perf map: Fix dso->nsinfo refcounting" Date: Mon, 2 Aug 2021 15:45:07 +0200 Message-Id: <20210802134335.022545989@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802134334.081433902@linuxfoundation.org> References: <20210802134334.081433902@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 @@ -209,8 +209,6 @@ struct map *map__new(struct machine *mac if (!(prot & PROT_EXEC)) dso__set_loaded(dso); } - - nsinfo__put(dso->nsinfo); dso->nsinfo = nsi; dso__put(dso); }