Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3409907imu; Mon, 28 Jan 2019 04:28:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN46daBZGnek0Y7b0iOjnnJWuVXFzgeNgXDowQc8BKgn7hXKAwZP+FfiVWdpB2mKPYcegdgt X-Received: by 2002:a62:81c1:: with SMTP id t184mr12390562pfd.40.1548678496954; Mon, 28 Jan 2019 04:28:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548678496; cv=none; d=google.com; s=arc-20160816; b=XRd0BknYgZ58zuiTllFAM1t06rmAOiPPs/8qgimQx5F3OdiAaFhtahu2nE+92Qgpjc DM91BM2j8v98lqutgb0BEq7Vr8MpJ8TeOCeGBR/BUehQvBtNSNvMneDcOn0Cxqu7chMZ eQZc+Azi3kwNBFivs8QxcGmz1jII5pcQFCEtvmn3d9Iz09SdxiN9qt5suwLBnJip3qhs g+XtdGf7rryW3mFuBLgdg/70I8g+RotmbBNv8oHpGpoAd7WbzmEqlKz39wUNPF83khHT Vrt+qCB6ny3geNjMLs8dG8Aj1DW5/nRS7tjVjfbSgYU6IhoN2h8SpQ6OCBh2zBqb8jJM s6BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=7jiNj5bgsJjh6RrSFuvuh3xmcTFj06bajMZaaI1+8Lg=; b=RuEhO17bqdY61mnhLqgzEGMUxkmTdrdl8AGb0yVRRJxE1GHRK2Fpc9Zq2hl5LDBawz SfQp7Ak7x4TcVy4920MJ4dpKN8uXwhtAKpdB63uyzdMnlkbO01I+vffqmscksCN2VoPI LG+HGsOfbU+cU6LFTGS0jwCeoBMHRJ+U2fU/1f423C1K3rKPpLJJAI/fvyUNS9OQISrf 0thh0ynuCYcUkX3NVaOQMsMlBz4ylRqm/9lQO4xBignD8Dq45MYsTJUv4YwndupyLQyH VT9xm3HAGc+JHvGl47F4RdDB3XcfXIkdwBO85uGKONRZBNqqXsQhqFJrMoU6KgbK9NXb 0zDg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17si305847pfm.40.2019.01.28.04.28.00; Mon, 28 Jan 2019 04:28:16 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726851AbfA1M1n (ORCPT + 99 others); Mon, 28 Jan 2019 07:27:43 -0500 Received: from mga02.intel.com ([134.134.136.20]:21827 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbfA1M1m (ORCPT ); Mon, 28 Jan 2019 07:27:42 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jan 2019 04:27:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,534,1539673200"; d="scan'208";a="139402563" Received: from elena-thinkpad-x230.fi.intel.com ([10.237.68.34]) by fmsmga004.fm.intel.com with ESMTP; 28 Jan 2019 04:27:39 -0800 From: Elena Reshetova To: peterz@infradead.org Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, keescook@chromium.org, tglx@linutronix.de, Elena Reshetova Subject: [PATCH 0/3] perf refcount_t conversions Date: Mon, 28 Jan 2019 14:27:25 +0200 Message-Id: <1548678448-24458-1-git-send-email-elena.reshetova@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Another set of old patches, rebased and this time the commits also updated since we merged the docs in past and also refcount_dec_and_test() gets new acquire ordering on success very soon, which is also reflected in commit messages. Elena Reshetova (3): perf: convert perf_event_context.refcount to refcount_t perf/ring_buffer: convert ring_buffer.refcount to refcount_t perf/ring_buffer: convert ring_buffer.aux_refcount to refcount_t include/linux/perf_event.h | 3 ++- kernel/events/core.c | 18 +++++++++--------- kernel/events/internal.h | 5 +++-- kernel/events/ring_buffer.c | 8 ++++---- 4 files changed, 18 insertions(+), 16 deletions(-) -- 2.7.4