Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kthread.c Create Date:2022-07-28 09:30:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kthread_bind - bind a just-created kthread to a cpu

Proto:void kthread_bind(struct task_struct *p, unsigned int cpu)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
unsigned intcpu
432  __kthread_bind(p, cpu, TASK_UNINTERRUPTIBLE)
Caller
NameDescribe
rdtgroup_pseudo_lock_createdtgroup_pseudo_lock_create - Create a pseudo-locked region*@rdtgrp: resource group to which pseudo-lock region belongs* Called when a resource group in the pseudo-locksetup mode receives a* valid schemata that should be pseudo-locked
kthread_create_on_cpukthread_create_on_cpu - Create a cpu bound kthread*@threadfn: the function to run until signal_pending(current).*@data: data ptr for @threadfn.*@cpu: The cpu on which the thread should be bound,*@namefmt: printf-style name for the thread
__kthread_create_worker
rcutorture_booster_init
__cpu_map_entry_alloc