summaryrefslogtreecommitdiffstats
path: root/meta/classes/rm_work.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-06-14 16:17:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 18:05:22 +0100
commit4f8f3f6cb4ff06c8d40cd4d0f93eca38fc0c03d7 (patch)
treeaeadbc3d4a7166f62ea3ed3ea1993c16868c6a19 /meta/classes/rm_work.bbclass
parentfe4184da57dd47b01508bd2ee44c307944a83c0b (diff)
downloadpoky-4f8f3f6cb4ff06c8d40cd4d0f93eca38fc0c03d7.tar.gz
classes/rm_work: use the idle I/O scheduler class
As rm_work is just cleanup it shouldn't starve more important tasks such as do_compile of I/O, so use BB_TASK_IONICE_LEVEL to run the task in the idle scheduler class. (From OE-Core rev: 6025a14dbbd09b2805fe2e17ddc24f2a515cb832) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rm_work.bbclass')
-rw-r--r--meta/classes/rm_work.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 3ebf0956c6..3e6c5ac545 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -15,6 +15,9 @@
15# to try and reduce disk usage 15# to try and reduce disk usage
16BB_SCHEDULER ?= "completion" 16BB_SCHEDULER ?= "completion"
17 17
18# Run the rm_work task in the idle scheduling class
19BB_TASK_IONICE_LEVEL_task-rm_work = "3.0"
20
18RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}" 21RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
19BB_DEFAULT_TASK = "rm_work_all" 22BB_DEFAULT_TASK = "rm_work_all"
20 23