summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>2017-04-11 21:50:51 +0300
committerShaohua Li <shli@fb.com>2017-04-12 00:56:46 +0300
commitfcd403aff643a120dbb3f1851337df5353ac8970 (patch)
tree5da21eb9112d8dd9b6f22af1f478363580cf9c1b /tools/perf/scripts/python/call-graph-from-postgresql.py
parentf00d7c85be9e39752ef87047a019dfc4cefbd299 (diff)
downloadlinux-fcd403aff643a120dbb3f1851337df5353ac8970.tar.xz
raid5-ppl: use a single mempool for ppl_io_unit and header_page
Allocate both struct ppl_io_unit and its header_page from a shared mempool to avoid a possible deadlock. Implement allocate and free functions for the mempool, remove the second pool for allocating header_page. The header_pages are now freed with their io_units, not when the ppl bio completes. Also, use GFP_NOWAIT instead of GFP_ATOMIC for allocating ppl_io_unit because we can handle failed allocations and there is no reason to utilize emergency reserves. Suggested-by: NeilBrown <neilb@suse.com> Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions