Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1195271

Re: [PATCH 0/2] Replace explicit function pointer types with rcu_callback_t and call_rcu_func_t

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] Replace explicit function pointer types with rcu_callback_t and call_rcu_func_t
Date 2015-07-29 17:00 +0200
Message-ID <pRAZQ-2O4-13@gated-at.bofh.it> (permalink)
References <pRs6d-75x-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
> 

--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Replace explicit function pointer types with rcu_callback_t and call_rcu_func_t Boqun Feng <boqun.feng@gmail.com> - 2015-07-29 07:30 +0200
  [PATCH 2/2] rcu: Use call_rcu_func_to to replace explicit type equivalents Boqun Feng <boqun.feng@gmail.com> - 2015-07-29 07:40 +0200
  [PATCH 1/2] rcu: Use rcu_callback_t in call_rcu*() and friends Boqun Feng <boqun.feng@gmail.com> - 2015-07-29 07:40 +0200
  Re: [PATCH 0/2] Replace explicit function pointer types with  rcu_callback_t and call_rcu_func_t "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-29 17:00 +0200

csiph-web