diff options
author | Shaohua Li <[email protected]> | 2011-11-14 13:34:13 +0800 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2011-11-15 20:41:00 +0200 |
commit | 9ada19342b2441f290f0043ed7c562682c8c4ede (patch) | |
tree | 702599b3b616d4bce7415012d8d4d18c7c43e5ec /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f64ae042d94d376b54e7a343d93c48561e9d2e16 (diff) |
slub: move discard_slab out of node lock
Lockdep reports there is potential deadlock for slub node list_lock.
discard_slab() is called with the lock hold in unfreeze_partials(),
which could trigger a slab allocation, which could hold the lock again.
discard_slab() doesn't need hold the lock actually, if the slab is
already removed from partial list.
Acked-by: Christoph Lameter <[email protected]>
Reported-and-tested-by: Yong Zhang <[email protected]>
Reported-and-tested-by: Julie Sullivan <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions