Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:36:14 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:an_nice - check if a task can reduce its nice value*@p: task*@nice: nice value
Proto:int can_nice(const struct task_struct *p, const int nice)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct task_struct * | p | |
| const int | nice |
| 4574 | Return nice_rlim <= task_rlimit(p, RLIMIT_NICE) || Check operation authority |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE1 | sys_nice - change the priority of the current process.*@increment: priority increment* sys_setpriority is a more generic, but much slower function that* does similar things. |
| __sched_setscheduler | |
| proc_sched_autogroup_set_nice |
| 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 |