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: NWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: NCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Showing
想要评论请 注册 或 登录