stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luis Henriques <luis.henriques@canonical.com>
To: Mike Galbraith <efault@gmx.de>
Cc: gregkh@linuxfoundation.org, khlebnikov@yandex-team.ru,
	agraf@suse.de, boris.ostrovsky@oracle.com,
	david.vrabel@citrix.com, mingo@kernel.org, paulus@samba.org,
	peterz@infradead.org, tglx@linutronix.de,
	torvalds@linux-foundation.org, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] sched/preempt: Fix cond_resched_lock() and" failed to apply to 4.1-stable tree
Date: Mon, 2 Nov 2015 21:27:25 +0000	[thread overview]
Message-ID: <20151102212725.GA3784@hercules> (raw)
In-Reply-To: <1445143459.2876.4.camel@gmx.de>

On Sun, Oct 18, 2015 at 06:44:19AM +0200, Mike Galbraith wrote:
> Depends on 90b62b5129d5cb50f62f40e684de7a1961e57197.  Rather than munge
> the patch, take the dependency.
>

Thanks Mike, I'll queue these for this for the 3.16 kernel as well.

Cheers,
--
Lu�s


> From 90b62b5129d5cb50f62f40e684de7a1961e57197 Mon Sep 17 00:00:00 2001
> From: Frederic Weisbecker <fweisbec@gmail.com>
> Date: Tue, 12 May 2015 16:41:48 +0200
> Subject: sched/preempt: Rename PREEMPT_CHECK_OFFSET to PREEMPT_DISABLE_OFFSET
> 
> "CHECK" suggests it's only used as a comparison mask. But now it's used
> further as a config-conditional preempt disabler offset. Lets
> disambiguate this name.
> 
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Link: http://lkml.kernel.org/r/1431441711-29753-4-git-send-email-fweisbec@gmail.com
> Signed-off-by: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Mike Galbraith <efault@gmx.de>
> ---
>  include/linux/preempt_mask.h |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> --- a/include/linux/preempt_mask.h
> +++ b/include/linux/preempt_mask.h
> @@ -72,9 +72,9 @@
>  #define in_nmi()	(preempt_count() & NMI_MASK)
>  
>  #if defined(CONFIG_PREEMPT_COUNT)
> -# define PREEMPT_CHECK_OFFSET 1
> +# define PREEMPT_DISABLE_OFFSET 1
>  #else
> -# define PREEMPT_CHECK_OFFSET 0
> +# define PREEMPT_DISABLE_OFFSET 0
>  #endif
>  
>  /*
> @@ -90,7 +90,7 @@
>   *
>   * Work as expected.
>   */
> -#define SOFTIRQ_LOCK_OFFSET (SOFTIRQ_DISABLE_OFFSET + PREEMPT_CHECK_OFFSET)
> +#define SOFTIRQ_LOCK_OFFSET (SOFTIRQ_DISABLE_OFFSET + PREEMPT_DISABLE_OFFSET)
>  
>  /*
>   * Are we running in atomic context?  WARNING: this macro cannot
> @@ -106,7 +106,7 @@
>   * (used by the scheduler, *after* releasing the kernel lock)
>   */
>  #define in_atomic_preempt_off() \
> -		((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_CHECK_OFFSET)
> +		((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_DISABLE_OFFSET)
>  
>  #ifdef CONFIG_PREEMPT_COUNT
>  # define preemptible()	(preempt_count() == 0 && !irqs_disabled())
> 
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2015-11-02 21:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-18  0:51 FAILED: patch "[PATCH] sched/preempt: Fix cond_resched_lock() and" failed to apply to 4.1-stable tree gregkh
2015-10-18  4:44 ` Mike Galbraith
2015-10-18  4:45   ` Mike Galbraith
2015-11-02 21:27   ` Luis Henriques [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151102212725.GA3784@hercules \
    --to=luis.henriques@canonical.com \
    --cc=agraf@suse.de \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=efault@gmx.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=khlebnikov@yandex-team.ru \
    --cc=mingo@kernel.org \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.org \
    --cc=stable@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).