[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120702052241.GA8476@localhost>
Date: Mon, 2 Jul 2012 13:22:41 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Feng Tang <feng.tang@...el.com>
Cc: Christoph Lameter <cl@...ux.com>,
Trond Myklebust <Trond.Myklebust@...app.com>,
linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev <netdev@...r.kernel.org>, penberg@...nel.org,
linux-mm@...ck.org, Stephen Rothwell <sfr@...b.auug.org.au>,
bfields@...ldses.org
Subject: Re: linux-next BUG: held lock freed!
> --- a/mm/slab.c
> +++ b/mm/slab.c
> @@ -3890,7 +3890,7 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp)
> unsigned long flags;
>
> local_irq_save(flags);
> - debug_check_no_locks_freed(objp, cachep->size);
> + debug_check_no_locks_freed(objp, cachep->object_size);
> if (!(cachep->flags & SLAB_DEBUG_OBJECTS))
> debug_check_no_obj_freed(objp, cachep->object_size);
> __cache_free(cachep, objp, __builtin_return_address(0));
It works! No single error after a dozen reboots :-)
Tested-by: Fengguang Wu <wfg@...ux.intel.com>
Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists