Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Put the object back into the pool and schedule work to free objects* if necessary.

Proto:static void free_object(struct debug_obj *obj)

Type:void

Parameter:

TypeParameterName
struct debug_obj *obj
429  __free_object(obj)
430  If Not READ_ONCE(obj_freeing) && READ_ONCE(The number of objs on the global free list ) Then
431  WRITE_ONCE(obj_freeing, true)
432  schedule_delayed_work - put work task in global workqueue after delay*@dwork: job to be done*@delay: number of jiffies to wait or 0 for immediate execution* After waiting for a given time this puts a job in the kernel-global* workqueue.
Caller
NameDescribe
debug_objects_oomWe run out of memory. That means we probably have tons of objects* allocated.
debug_object_freedebug_object_free - debug checks when an object is freed*@addr: address of the object*@descr: pointer to an object specific debug description structure