Function report |
Source Code:kernel\sched\cpufreq_schedutil.c |
Create Date:2022-07-28 09:45:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sugov_kthread_create
Proto:static int sugov_kthread_create(struct sugov_policy *sg_policy)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sugov_policy * | sg_policy |
675 | If fast_switch_enabled Then Return 0 |
678 | kthread_init_work( & work, sugov_work) |
679 | kthread_init_worker( & worker) |
688 | ret = sched_setattr_nocheck(thread, & attr) |
689 | If ret Then |
697 | init_irq_work( & The next fields are only needed if fast switch cannot be used: , sugov_irq_work) |
698 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & work_lock) |
702 | Return 0 |
Name | Describe |
---|---|
sugov_init |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |