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:10:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:move_myself

Proto:static void move_myself(struct callback_head *head)

Type:void

Parameter:

TypeParameterName
struct callback_head *head
520  callback = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(head, structtask_move_callback, work)
521  rdtgrp = rdtgrp
528  If atomic_dec_and_test( & waitcount) && flags & dtgroup.flags Then
530  closid = 0
531  rmid = 0
532  free previously allocated memory
535  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
537  resctrl_sched_in()
538  preempt_enable()
540  free previously allocated memory