Messages in this thread | | | Date | Tue, 4 Feb 2014 14:44:43 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH] slub: fix false-positive lockdep warning in free_partial() |
| |
On Tue, 4 Feb 2014, Vladimir Davydov wrote:
> Although this cannot actually result in a race, because on cache > destruction there should not be any concurrent frees or allocations from > the cache, let's add spin_lock/unlock to free_partial() just to keep > lockdep happy.
Please add a comment that says this in the source so we know why this was added.
| |