diff options
| author | Vlastimil Babka <[email protected]> | 2021-05-23 01:28:37 +0200 |
|---|---|---|
| committer | Vlastimil Babka <[email protected]> | 2021-09-03 23:56:49 +0200 |
| commit | b3fd64e1451b5efd94aa0ebc755e02558e6f3ca1 (patch) | |
| tree | 552e3eedc791d3d040779bd9184469afb7cf1d27 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | eafb1d64030abf5f885026c2074d120c13e0ca9d (diff) | |
mm, slub: allocate private object map for debugfs listings
Slub has a static spinlock protected bitmap for marking which objects are on
freelist when it wants to list them, for situations where dynamically
allocating such map can lead to recursion or locking issues, and on-stack
bitmap would be too large.
The handlers of debugfs files alloc_traces and free_traces also currently use this
shared bitmap, but their syscall context makes it straightforward to allocate a
private map before entering locked sections, so switch these processing paths
to use a private bitmap.
Signed-off-by: Vlastimil Babka <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions