All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Yuriy Vostrikov <delamonpansie@gmail.com>
Subject: Re: [patch 3/3] x
Date: Thu, 22 Feb 2018 12:30:04 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1802221229350.1331@nanos.tec.linutronix.de> (raw)
In-Reply-To: <20180222112317.009379968@linutronix.de>

Bah, scratch that. That's a different story and I missed to remove that
patch from the quilt series.....

On Thu, 22 Feb 2018, Thomas Gleixner wrote:

> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
>  kernel/irq/manage.c |   10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> --- a/kernel/irq/manage.c
> +++ b/kernel/irq/manage.c
> @@ -855,10 +855,14 @@ irq_thread_check_affinity(struct irq_des
>  	 * This code is triggered unconditionally. Check the affinity
>  	 * mask pointer. For CPU_MASK_OFFSTACK=n this is optimized out.
>  	 */
> -	if (cpumask_available(desc->irq_common_data.affinity))
> -		cpumask_copy(mask, desc->irq_common_data.affinity);
> -	else
> +	if (cpumask_available(desc->irq_common_data.affinity)) {
> +		const struct cpumask *m;
> +
> +		m = irq_data_get_effective_affinity_mask(&desc->irq_data);
> +		cpumask_copy(mask, m);
> +	} else {
>  		valid = false;
> +	}
>  	raw_spin_unlock_irq(&desc->lock);
>  
>  	if (valid)
> 
> 
> 

      reply	other threads:[~2018-02-22 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 11:08 [patch 0/3] genirq/x86: Cure CPU hotplug vector accounting woes Thomas Gleixner
2018-02-22 11:08 ` [patch 1/3] genirq/matrix: Handle CPU offlining proper Thomas Gleixner
2018-02-22 21:09   ` [tip:x86/urgent] " tip-bot for Thomas Gleixner
2018-02-22 11:08 ` [patch 2/3] x86/apic/vector: Handle vector release on CPU unplug correctly Thomas Gleixner
2018-02-22 21:10   ` [tip:x86/urgent] " tip-bot for Thomas Gleixner
2018-02-22 21:30   ` tip-bot for Thomas Gleixner
2018-02-23  7:19   ` tip-bot for Thomas Gleixner
2018-02-22 11:08 ` [patch 3/3] x Thomas Gleixner
2018-02-22 11:30   ` Thomas Gleixner [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=alpine.DEB.2.21.1802221229350.1331@nanos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=delamonpansie@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rdunlap@infradead.org \
    --subject='Re: [patch 3/3] x' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.