Function Report

Linux Kernel (v4.4)

Source File:include\linux\sched.h Create Date:2016-01-14 09:13:51
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:task_rlimit

Function:static inline unsigned long task_rlimit(const struct task_struct *tsk, unsigned int limit)

Return Type:static inline unsigned long

Parameter:

Type Parameter NameRemarks
const struct task_struct * tsk
unsigned int limit

Function description:limit on task

3174  Returning READ_ONCE
Caller
Function NameFunction description
rlimit
copy_processCreate a new process
__sigqueue_allocallocate a new signal queue record- this may be called without locks if and only if t== current, otherwise an appropriate lock must be held to stop the target task from exiting
can_nice check if a task can reduce its nice value
__sched_setscheduler
watchdog
task_sig