函数逻辑报告 |
Source Code:kernel\torture.c |
Create Date:2022-07-27 15:11:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Shuffle tasks such that we allow shuffle_idle_cpu to become idle.* A special case is when shuffle_idle_cpu = -1, in which case we allow* the tasks to run on all CPUs.
函数原型:static void torture_shuffle_tasks(void)
返回类型:void
参数:无
379 | 设置全部CPU信息 |
380 | get_online_cpus() |
383 | 如果num_online_cpus()恒等于1则 |
384 | put_online_cpus() |
385 | 返回 |
392 | 否则清空CPU信息 |
395 | mutex_lock( & shuffle_task_mutex) |
400 | put_online_cpus() |
名称 | 描述 |
---|---|
torture_shuffle | Shuffle tasks across CPUs, with the intent of allowing each CPU in the* system to become idle at a time and cut off its timer ticks. This is meant* to test the support for such tickless idle CPU in RCU. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |