Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rdt_kill_sb

Proto:static void rdt_kill_sb(struct super_block *sb)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
2268  cpus_read_lock()
2269  mutex_lock( & Mutex to protect rdtgroup access. )
2271  Enable or disable the MBA software controller* which helps user specify bandwidth in MBps.* MBA software controller is supported only if* MBM is supported and MBA is in linear scale.
2274  for_each_alloc_enabled_rdt_resource(r)
2275  reset_all_ctrls(r)
2276  cdp_disable_all()
2277  Forcibly remove all of subdirectories under root.
2278  rdt_pseudo_lock_release()
2279  mode = RDT_MODE_SHAREABLE
2280  static_branch_disable_cpuslocked( & rdt_alloc_enable_key)
2281  static_branch_disable_cpuslocked( & rdt_mon_enable_key)
2282  static_branch_disable_cpuslocked( & rdt_enable_key)
2283  kernfs_kill_sb(sb)
2284  mutex_unlock( & Mutex to protect rdtgroup access. )
2285  cpus_read_unlock()