All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corey Minyard <cminyard@caviumnetworks.com>
To: <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH] slab+rt: Don't free locks twice in cpuup_canceled
Date: Wed, 25 Sep 2013 11:37:06 -0500	[thread overview]
Message-ID: <52431132.9070209@caviumnetworks.com> (raw)
In-Reply-To: <1379700149-16400-1-git-send-email-minyard@acm.org>

I forgot to mention that this was on 3.10.10-rt7.

-corey

On 09/20/2013 01:02 PM, minyard@acm.org wrote:
> From: Corey Minyard <cminyard@mvista.com>
>
> Signed-off-by: Corey Minyard <cminyard@cavium.com>
> ---
>  mm/slab.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/mm/slab.c b/mm/slab.c
> index 494274e..0a3d6d3 100644
> --- a/mm/slab.c
> +++ b/mm/slab.c
> @@ -1270,7 +1270,6 @@ static void __cpuinit cpuup_canceled(long cpu)
>  			free_block(cachep, nc->entry, nc->avail, node);
>  
>  		if (!cpumask_empty(mask)) {
> -			local_spin_unlock_irq(slab_lock, &n->list_lock);
>  			unlock_l3_and_free_delayed(&n->list_lock);
>  			goto free_array_cache;
>  		}
> @@ -1285,7 +1284,6 @@ static void __cpuinit cpuup_canceled(long cpu)
>  		alien = n->alien;
>  		n->alien = NULL;
>  
> -		local_spin_unlock_irq(slab_lock, &n->list_lock);
>  		unlock_l3_and_free_delayed(&n->list_lock);
>  
>  		kfree(shared);


  reply	other threads:[~2013-09-25 16:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-20 18:02 [PATCH] slab+rt: Don't free locks twice in cpuup_canceled minyard
2013-09-25 16:37 ` Corey Minyard [this message]
2013-10-04 14:49   ` Sebastian Andrzej Siewior
2013-10-04 16:10     ` Corey Minyard

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=52431132.9070209@caviumnetworks.com \
    --to=cminyard@caviumnetworks.com \
    --cc=linux-rt-users@vger.kernel.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 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.