bpf:programmable: Fix build error of 'stack exceeds 512 bytes'
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5RMFU CVE: NA -------------------------------- 1.Change arg type of 'bpf_get_cpumask_info' to avoid bpf program stack exceeds 512 bytes. 2.Fix back-edge error in sample 'sched_select_core' 3.Fix loop too complex in sample 'sached_select_core' Changes in v2: Move cpu initialization out of the for loop. Fixes: 1bf0417b ("sched: programmable: Add helper function for cpu topo...") Fixes: 2c1189e3 ("samples:bpf: Add samples for cfs select core") Signed-off-by: NHui Tang <tanghui20@huawei.com>
Showing
想要评论请 注册 或 登录