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


Groups > linux.kernel > #1622863

Re: [PATCH tip/core/rcu 37/40] srcu: Create a tiny SRCU

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH tip/core/rcu 37/40] srcu: Create a tiny SRCU
Date 2017-04-13 11:50 +0200
Message-ID <tvJy1-14D-15@gated-at.bofh.it> (permalink)
References <tvuyZ-7rV-5@gated-at.bofh.it> <tvuz1-7rV-63@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Apr 12, 2017 at 10:40:22AM -0700, Paul E. McKenney wrote:
> In response to automated complaints about modifications to SRCU
> increasing its size, this commit creates a tiny SRCU that is
> used in SMP=y && PREEMPT=n builds.

You mean SMP=n && PREEMPT=n, right?

config TINY_RCU
        bool
        default y if !PREEMPT && !SMP

> +config TINY_SRCU
> +	bool
> +	default y if TINY_RCU
> +	help
> +	  This option selects the single-CPU non-preemptible version of SRCU.

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


Thread

[PATCH tip/core/rcu 37/40] srcu: Create a tiny SRCU "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-12 19:50 +0200
  Re: [PATCH tip/core/rcu 37/40] srcu: Create a tiny SRCU Peter Zijlstra <peterz@infradead.org> - 2017-04-13 11:50 +0200
    Re: [PATCH tip/core/rcu 37/40] srcu: Create a tiny SRCU "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 18:40 +0200

csiph-web