summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
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:22 +0300
commitc044fb0f835c6afe10d10b6cf4f2c5a154b1489d (patch)
tree08010a45f157061bed82dca77baa7bd97e749e83 /tools/perf/scripts/python
parent147760d4c1b41c7a8b654b0f8e608b1f8b20bd87 (diff)
downloadlinux-c044fb0f835c6afe10d10b6cf4f2c5a154b1489d.tar.xz
staging: lustre: remove 'ptlrpc_thread usage' for sai_agl_thread
Lustre has a 'struct ptlrpc_thread' which provides control functionality wrapped around kthreads. None of the functionality used in statahead.c requires ptlrcp_thread - it can all be done directly with kthreads. So discard the ptlrpc_thread and just use a task_struct directly. One particular change worth noting is that in the current code, the thread performs some start-up actions and then signals that it is ready to go. In the new code, the thread is first created, then the startup actions are perform, then the thread is woken up. This means there is no need to wait any more than kthread_create() already waits. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions