Commit 5ed9128f authored by Yipeng Zou's avatar Yipeng Zou
Browse files

smart_grid: introduce /proc/pid/smart_grid_level

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7ZBSR


CVE: NA

----------------------------------------

Now, we can use /pro/pid/smart_grid_level to {read,set} task current qos
level.

This allows to determine the scope of dynamic partitioning of the task
in smart_grid.

SCHED_GRID_QOS_TASK_LEVEL was defined different QoS level. The lower number
has the higher priority. (E.g. 0 was the highest).

Signed-off-by: default avatarYipeng Zou <zouyipeng@huawei.com>
parent f0f516f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment