summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-03-02 02:31:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-06 15:20:23 +0300
commit26f7a294e5ecd46856cb9f5b718e995f1ec46779 (patch)
treecc399900348b213709dbf8915791c8e49906b2fa /tools/perf/scripts/python/stackcollapse.py
parent165020462d26d6925cbd2d25dfbd4ff1a8fba103 (diff)
downloadlinux-26f7a294e5ecd46856cb9f5b718e995f1ec46779.tar.xz
staging: lustre: ptlrpc: move thread creation out of module initialization
When the ptlrpc module is loaded, it starts the pinger thread and calls LNetNIInit which starts various threads. We don't need these threads until the module is actually being used, such as when a lustre filesystem is mounted. So move the thread creation into new ptlrpc_inc_ref() (modeled on ptlrpcd_inc_ref()), and call that when needed, such as at mount time. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions