]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/rm_work: use the idle I/O scheduler class
authorRoss Burton <ross.burton@intel.com>
Tue, 14 Jun 2016 15:17:46 +0000 (16:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Jun 2016 16:36:36 +0000 (17:36 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/rm_work.bbclass

index 3ebf0956c6f67f5a56086f0caf800f1db9d75afb..3e6c5ac545ec6ae6dd9922c3212dafb034393070 100644 (file)
@@ -15,6 +15,9 @@
 # to try and reduce disk usage
 BB_SCHEDULER ?= "completion"
 
+# Run the rm_work task in the idle scheduling class
+BB_TASK_IONICE_LEVEL_task-rm_work = "3.0"
+
 RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
 BB_DEFAULT_TASK = "rm_work_all"