From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756997AbdJKQk1 (ORCPT ); Wed, 11 Oct 2017 12:40:27 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:34308 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751882AbdJKQk0 (ORCPT ); Wed, 11 Oct 2017 12:40:26 -0400 Date: Wed, 11 Oct 2017 18:40:12 +0200 From: Sebastian Andrzej Siewior To: "Paul E. McKenney" Cc: Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] srcu: queue work without holding the lock Message-ID: <20171011164012.3vvvy4inogesfjb7@linutronix.de> References: <20170922152806.22860-1-bigeasy@linutronix.de> <20170922152806.22860-2-bigeasy@linutronix.de> <20170922184610.GT3521@linux.vnet.ibm.com> <20170928160357.anfyrkwq32tyamez@linutronix.de> <20170929011046.GW3521@linux.vnet.ibm.com> <20171010214313.GA19221@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171010214313.GA19221@linux.vnet.ibm.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-10-10 14:43:13 [-0700], Paul E. McKenney wrote: > > OK, internally I could get rid of raw_ at the expense of some code bloat, > > but in the call_srcu() case, the caller might well hold a raw_ lock. > > Except that none currently do, so maybe downgrading from raw_ locks is > a reasonable course of action. Does the following patch help? so you revert the raw_ access, this should work. I will apply it tomorrow and let you know. > Thanx, Paul Sebastian