arm64/mpam: resctrl: Supplement cdpl2,cdpl3 for mount options
hulk inclusion
category: feature
bugzilla: 34278
CVE: NA
-------------------------------------------------
This supports cdpl2,cdpl3 parameters for mount options, some other options
including capabilities' feature such as priority and hardlimit will be
supported in the future, a simple example like this.
e.g.
> mount -t resctrl resctrl /sys/fs/resctrl -o cdpl3
> cd /sys/fs/resctrl && cat schemata
L3CODE:0=7fff;1=7fff;2=7fff;3=7fff
L3CODE:0=7fff;1=7fff;2=7fff;3=7fff
MB:0=100;1=100;2=100;3=100
Note that we only complete this part interface adaption, not mean cdp is
supported currently.
Signed-off-by:
Wang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by:
Cheng Jian <cj.chengjian@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by:
Cheng Jian <cj.chengjian@huawei.com>
Loading
Please sign in to comment