函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\debugobjects.c Create Date:2022-07-27 07:52:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Put the object back into the pool and schedule work to free objects* if necessary.

函数原型:static void free_object(struct debug_obj *obj)

返回类型:void

参数:

类型参数名称
struct debug_obj *obj
429  __free_object(obj)
430  如果非READ_ONCE(obj_freeing)且READ_ONCE(The number of objs on the global free list )则
431  WRITE_ONCE(obj_freeing, true)
432  在延迟工作队列中放置任务
调用者
名称描述
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