Re: [PATCH] slab+rt: Don't free locks twice in cpuup_canceled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-corey

On 09/20/2013 01:02 PM, minyard@xxxxxxx wrote:
> From: Corey Minyard <cminyard@xxxxxxxxxx>
>
> Signed-off-by: Corey Minyard <cminyard@xxxxxxxxxx>
> ---
>  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);

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux