Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932564AbbFRNLN (ORCPT ); Thu, 18 Jun 2015 09:11:13 -0400 Received: from mga11.intel.com ([192.55.52.93]:54138 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932449AbbFRNLH (ORCPT ); Thu, 18 Jun 2015 09:11:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,638,1427785200"; d="scan'208";a="510344218" From: Alexander Shishkin To: Peter Zijlstra Cc: Vince Weaver , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian Subject: Re: perf: aux area related crash and warnings In-Reply-To: <20150618103249.GK19282@twins.programming.kicks-ass.net> References: <20150615122054.GY3644@twins.programming.kicks-ass.net> <87egld2l2o.fsf@ashishki-desk.ger.corp.intel.com> <87381rg9zx.fsf@ashishki-desk.ger.corp.intel.com> <20150618103249.GK19282@twins.programming.kicks-ass.net> User-Agent: Notmuch/0.20.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Thu, 18 Jun 2015 16:11:03 +0300 Message-ID: <878ubh2mc8.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 26 Peter Zijlstra writes: > On Tue, Jun 16, 2015 at 02:37:06PM +0300, Alexander Shishkin wrote: >> Ok, here's what I propose for this one. > > As discussed yesterday, I think we want to change to how we do reference > counting for the regular buffers, but that will require quite a bit of > work. > > For the interim we can avoid the issue by something like the below; > compile tested only. Looks good and works fine on my tests. Only I'd maybe add a small comment on why reusing rcu_head.next doesn't set off call_rcu() debugging. Other than that, fwiw, Reviewed-and-tested-by: Alexander Shishkin Thanks, -- Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/