Skip to contentSkip to conversation

Additional RCU commits for 3.3

PATCH In review Paul E. McKenney 2 participants 2 messages Jan 9, 2012 – Jan 10, 2012

lore
Share & tools
lore
#0 lore raw

cover Additional RCU commits for 3.3

Hello, Ingo,

Further -next and other testing uncovered one upcoming change and some build warnings. The three commits below address these. I am putting them forward for 3.3, but of course if the risk of change exceeds the magnitude of the problems, I can keep them queued for 3.4. These are all quite small, have been exposed to -next testing, and I retested them against current tip/master.

The specific changes are as follows:

1. Change rcutorture's module parameters of type int to instead
be bool. This is in preparation for Rusty's patch that makes type-int module parameters illegal. (Courtesy of Rusty Russell.)

2. Add "const" to the new is_idle_task()'s argument, which
addresses a build warning located by Stephen Rothwell.

3. Add __cpuinit to rcu_torture_onoff() to address a section
mismatch build warning. (Courtesy of Heiko Carstens.)

These changes are based off of 3.2-rc7 and are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent

Thanx, Paul

------------------>

Heiko Carstens (1):
rcu: Add missing __cpuinit annotation in rcutorture code

Paul E. McKenney (1):
sched: Add "const" to is_idle_task() parameter

Rusty Russell (1):
rcu: Make rcutorture bool parameters really bool (core code)

 include/linux/sched.h |    2 +-
 kernel/rcutorture.c   |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
#1 lore raw
Quoted 36 lines · Paul E. McKenney

Hello, Ingo,

Further -next and other testing uncovered one upcoming change and some build warnings. The three commits below address these. I am putting them forward for 3.3, but of course if the risk of change exceeds the magnitude of the problems, I can keep them queued for 3.4. These are all quite small, have been exposed to -next testing, and I retested them against current tip/master.

The specific changes are as follows:

1. Change rcutorture's module parameters of type int to instead
be bool. This is in preparation for Rusty's patch that makes type-int module parameters illegal. (Courtesy of Rusty Russell.)

2. Add "const" to the new is_idle_task()'s argument, which
addresses a build warning located by Stephen Rothwell.

3. Add __cpuinit to rcu_torture_onoff() to address a section
mismatch build warning. (Courtesy of Heiko Carstens.)

These changes are based off of 3.2-rc7 and are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent

Thanx, Paul

------------------>

Heiko Carstens (1):
rcu: Add missing __cpuinit annotation in rcutorture code

Paul E. McKenney (1):
sched: Add "const" to is_idle_task() parameter

Quoted 6 lines

Rusty Russell (1):
rcu: Make rcutorture bool parameters really bool (core code)

 include/linux/sched.h |    2 +-
 kernel/rcutorture.c   |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

Pulled them into tip:core/urgent, thanks Paul!

Thanks,

Ingo