From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast() implementation Date: Sat, 17 Apr 2010 09:25:07 +1000 Message-ID: <1271460307.13059.216.camel@pasglop> References: <20100408191737.296180458@chello.nl> <20100408192722.643778654@chello.nl> <1271120731.13059.6.camel@pasglop> <20100413034311.GB2772@linux.vnet.ibm.com> <1271253110.32749.47.camel@laptop> <20100415142852.GA2471@linux.vnet.ibm.com> <1271400891.13059.186.camel@pasglop> <20100416134336.GA2615@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100416134336.GA2615@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org To: paulmck@linux.vnet.ibm.com Cc: Peter Zijlstra , Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, David Miller , Hugh Dickins , Mel Gorman , Nick Piggin List-Id: linux-arch.vger.kernel.org On Fri, 2010-04-16 at 06:43 -0700, Paul E. McKenney wrote: > So I believe that in this case call_rcu_sched() is your friend. ;-) Looks like it :-) I'll cook up a patch changing my current call_rcu() to call_rcu_sched(). Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:59419 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932738Ab0DPX1c (ORCPT ); Fri, 16 Apr 2010 19:27:32 -0400 Subject: Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast() implementation From: Benjamin Herrenschmidt In-Reply-To: <20100416134336.GA2615@linux.vnet.ibm.com> References: <20100408191737.296180458@chello.nl> <20100408192722.643778654@chello.nl> <1271120731.13059.6.camel@pasglop> <20100413034311.GB2772@linux.vnet.ibm.com> <1271253110.32749.47.camel@laptop> <20100415142852.GA2471@linux.vnet.ibm.com> <1271400891.13059.186.camel@pasglop> <20100416134336.GA2615@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Sat, 17 Apr 2010 09:25:07 +1000 Message-ID: <1271460307.13059.216.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: paulmck@linux.vnet.ibm.com Cc: Peter Zijlstra , Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, David Miller , Hugh Dickins , Mel Gorman , Nick Piggin Message-ID: <20100416232507.1rQo_paQ6raN0ah_peXTzAWfOj64GppC0sACtV88YR4@z> On Fri, 2010-04-16 at 06:43 -0700, Paul E. McKenney wrote: > So I believe that in this case call_rcu_sched() is your friend. ;-) Looks like it :-) I'll cook up a patch changing my current call_rcu() to call_rcu_sched(). Cheers, Ben.