Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-28 08:10:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:resctrl_offline_cpu

Proto:static int resctrl_offline_cpu(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
707  mutex_lock( & Mutex to protect rdtgroup access. )
708  for_each_capable_rdt_resource(r)
709  domain_remove_cpu(cpu, r)
711  If pumask_test_and_clear_cpu - atomically test and clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in old bitmap of @cpumask, else returns 0* test_and_clear_bit wrapper for cpumasks. Then
712  clear_childcpus(rdtgrp, cpu)
713  Break
716  clear_closid_rmid(cpu)
717  mutex_unlock( & Mutex to protect rdtgroup access. )
719  Return 0