Received: by 10.223.164.202 with SMTP id h10csp1484840wrb; Wed, 8 Nov 2017 05:07:09 -0800 (PST) X-Google-Smtp-Source: ABhQp+Q8mVxXGfVcPpjQZcsGuKYsCu3vGY38gqIAFWKNY5r6lttDcdeManEI8RG2qx41sdxiYoWg X-Received: by 10.98.102.132 with SMTP id s4mr487475pfj.168.1510146429662; Wed, 08 Nov 2017 05:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510146429; cv=none; d=google.com; s=arc-20160816; b=q6aGX2hLKykcqGsPeqQx+v9pauSBwtpTfudRJaIZsvyx+YoREYkMMtT/5xueKlIMA5 /jRzQwApfLq+3V+UxebCrbTvO84x2t+z46e3bm9pMRtCUvDwRgx9/wskLcf/FJPJW7DM 5g1RpHYxFzFHsRUc9zCAlHb5qfv0Jryxh90hf95UxB95YMaj66ihbniKlSWWmV1rdAnX 7ZWNzzsoBl4xh9dkrXk3cyoECNgEaW0l9B+JorGTMF/sadZaSstSyVj7tMVR5lI4r3yx eE4mQf2++nJeFqyjIC7VbUrfU6ErmGZJcOHwIYcYjMI7BJt+tc39ePD36HTduPQ5NEX4 Evow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=fwP+kfe5wZaTEGuElYHgraagfroPAmRLppLjF1ahHLk=; b=qj6Nr+OJc65YZNOYA/NtEXKRdUDgIsM+gjH18BH+WaWB5LaBJgKkNvx8XjEuZ9JoYk 7T2lPtekATDi/YnrKtn3cv27U7px8Cv7JLMtfW/brFb/gLGcgl+s4D4xy/HRo9W/MfCS jZzgYFrYAR+ka36gi2d/aq61CkOeZ6FRBiOYsV93urSiU/pEwPYv2dK6wvkhYfYOWity yPId+k3AyYToIed2Fj2xEdNTBjfXiS/oCGgE03IkVCp7eWL33rAeIQw5QVf/See38PZA IyILeD4m6MzLdJemXxrYqP/lVYZb/ssETRhZ/EJnApeM4WRGrLulMSJxCvIIeRnFp5dJ Qu4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d125si3696218pgc.444.2017.11.08.05.06.57; Wed, 08 Nov 2017 05:07:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752548AbdKHNEy (ORCPT + 82 others); Wed, 8 Nov 2017 08:04:54 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:7048 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752277AbdKHNEx (ORCPT ); Wed, 8 Nov 2017 08:04:53 -0500 Received: from [172.16.24.21] (msk-vpn.virtuozzo.com [195.214.232.6]) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id vA8D4l3Z023991; Wed, 8 Nov 2017 16:04:48 +0300 (MSK) Subject: Re: [PATCH] lost path_put in perf_fill_ns_link_info To: Alexander Shishkin Cc: linux-kernel@vger.kernel.org, Hari Bathini , Namhyung Kim , Jiri Olsa , Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra References: <20171108120915.n7i46j2yly6fb7bj@ukko.fi.intel.com> From: Vasily Averin Message-ID: <2d0707fa-7265-8b82-23a0-b3a938111767@virtuozzo.com> Date: Wed, 8 Nov 2017 16:04:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171108120915.n7i46j2yly6fb7bj@ukko.fi.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-11-08 15:09, Alexander Shishkin wrote: > On Mon, Nov 06, 2017 at 09:22:18AM +0300, Vasily Averin wrote: >> Fixes: commit e422267322cd ("perf: Add PERF_RECORD_NAMESPACES to include namespaces related info") >> Signed-off-by: Vasily Averin > > The change description is missing. One needs to open the source code and > look for proof of correctness for this patch. perf_fill_ns_link_info() calls ns_get_path() it returns ns_path with increased mnt and dentry counters. Problem is that nodody decrement these counters. You can call ./perf record --namespaces unshare -m and look how grows mount counter on nsfs_mnt. From 1583463441653490868@xxx Wed Nov 08 02:33:35 +0000 2017 X-GM-THRID: 1583296720926435526 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread