From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752824AbbG2Ozj (ORCPT ); Wed, 29 Jul 2015 10:55:39 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:43238 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752331AbbG2Ozi (ORCPT ); Wed, 29 Jul 2015 10:55:38 -0400 X-Helo: d03dlp03.boulder.ibm.com X-MailFrom: paulmck@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Wed, 29 Jul 2015 07:55:32 -0700 From: "Paul E. McKenney" To: Boqun Feng Cc: Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Replace explicit function pointer types with rcu_callback_t and call_rcu_func_t Message-ID: <20150729145532.GI3717@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1438147779-24978-1-git-send-email-boqun.feng@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438147779-24978-1-git-send-email-boqun.feng@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15072914-0025-0000-0000-00001972CF46 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2015 at 01:29:37PM +0800, Boqun Feng wrote: > Commit ("rcu: Create a synchronize_rcu_mult()") in linux-rcu.git#rcu/next > branch has introduced rcu_callback_t as the type for rcu callback > functions and call_rcu_func_t has been introduced for a while. This patch > series uses the rcu_callback_t and call_rcu_func_t to save a few lines of > code. > > This patchset is based on rcu/next branch of Paul's linux-rcu tree, and > consists of two patches: > > 1. Use rcu_callback_t as the type of callbacks in call_rcu*() and > friends > > 2. Use call_rcu_func_t to replace the equivalent but complicated > function pointer type. > > Besides cleaning up the code, this patchset can also help code tag program, > such as cscope to generate a better database. > > This patchset has been already tested by 0day. Hello, Boqun, I have queued these for local testing. Thanx, Paul > Regards, > Boqun > > ------------------------------------------------------------------------- > include/linux/rcupdate.h | 10 +++++----- > include/linux/rcutiny.h | 2 +- > include/linux/rcutree.h | 2 +- > kernel/rcu/rcutorture.c | 6 +++--- > kernel/rcu/srcu.c | 2 +- > kernel/rcu/tiny.c | 8 ++++---- > kernel/rcu/tree.c | 8 ++++---- > kernel/rcu/tree.h | 5 ++--- > kernel/rcu/tree_plugin.h | 2 +- > kernel/rcu/update.c | 2 +- > 10 files changed, 23 insertions(+), 24 deletions(-) > > -- > 2.4.6 >