sched: programmable: Add helper function for cpu topology.
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5KUFB CVE: NA -------------------------------- Add bpf helper function bpf_init_cpu_topology() which obtains cpu topology info through the macros topology_* that are defined by include/linux/topology.h, and save it in BPF MAP. The cpu topology info are useful to select core in userspace. Signed-off-by:Chen Hui <judy.chenhui@huawei.com> Signed-off-by:
Ren Zhijie <renzhijie2@huawei.com> Signed-off-by:
Hui Tang <tanghui20@huawei.com>
Loading
Please sign in to comment