diff options
| author | NeilBrown <neilb@suse.com> | 2018-01-11 07:06:40 +0300 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-15 17:44:08 +0300 | 
| commit | 6106c0f82481e686b337ee0c403821fb5c3c17ef (patch) | |
| tree | 668fc5932cfc5f5886e6b1c41c81e588f7c37a3a /tools/perf/scripts/python/netdev-times.py | |
| parent | a66a4e8e01f3b607a9aa5b5ed9ca588b4c3a962e (diff) | |
| download | linux-6106c0f82481e686b337ee0c403821fb5c3c17ef.tar.xz | |
staging: lustre: lnet: convert selftest to use workqueues
Instead of the cfs workitem library, use workqueues.
As lnet wants to provide a cpu mask of allowed cpus, it
needs to be a WQ_UNBOUND work queue so that tasks can
run on cpus other than where they were submitted.
This patch also exported apply_workqueue_attrs() which is
a documented part of the workqueue API, that isn't currently
exported.  lustre needs it to allow workqueue thread to be limited
to a subset of CPUs.
Acked-by: Tejun Heo <tj@kernel.org> (for export of apply_workqueue_attrs)
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
