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


Groups > linux.kernel > #1713595

Re: [ANNOUNCE] 4.1.42-rt50

From Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Newsgroups linux.kernel
Subject Re: [ANNOUNCE] 4.1.42-rt50
Date 2017-08-17 09:40 +0200
Message-ID <ufnzj-1Dq-9@gated-at.bofh.it> (permalink)
References <ufdqh-3mR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017-08-16 15:42:28 [-0500], Julia Cartwright wrote:
> Alex Shi (1):
>       cpu_pm: replace raw_notifier to atomic_notifier

…

> diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c
> index 9656a3c36503..9da42f83ee03 100644
> --- a/kernel/cpu_pm.c
> +++ b/kernel/cpu_pm.c
> @@ -22,14 +22,13 @@
>  #include <linux/spinlock.h>
>  #include <linux/syscore_ops.h>
>  
> -static DEFINE_RWLOCK(cpu_pm_notifier_lock);
> -static RAW_NOTIFIER_HEAD(cpu_pm_notifier_chain);
> +static ATOMIC_NOTIFIER_HEAD(cpu_pm_notifier_chain);
>  
>  static int cpu_pm_notify(enum cpu_pm_event event, int nr_to_call, int *nr_calls)
>  {
>  	int ret;
>  
> -	ret = __raw_notifier_call_chain(&cpu_pm_notifier_chain, event, NULL,
> +	ret = __atomic_notifier_call_chain(&cpu_pm_notifier_chain, event, NULL,
>  		nr_to_call, nr_calls);

there is a piece missing, upstream has a different change queued. I know
that this is the same as in latest RT, this is just to let you know in
case someone complains about an RCU backtrace…

>  	return notifier_to_errno(ret);

Sebastian

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


Thread

[ANNOUNCE] 4.1.42-rt50 Julia Cartwright <julia@ni.com> - 2017-08-16 22:50 +0200
  Re: [ANNOUNCE] 4.1.42-rt50 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-08-17 09:40 +0200
    Re: [ANNOUNCE] 4.1.42-rt50 Julia Cartwright <julia@ni.com> - 2017-08-17 21:00 +0200
      Re: [ANNOUNCE] 4.1.42-rt50 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-08-18 14:20 +0200

csiph-web