Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:We run out of memory. That means we probably have tons of objects* allocated.

Proto:static void debug_objects_oom(void)

Type:void

Parameter:Nothing

442  db = obj_hash
449  pr_warn("Out of memory. ODEBUG disabled\n")
451  When i < ODEBUG_HASH_SIZE cycle
452  raw_spin_lock_irqsave( & lock, flags)
453  Move a list from one list head to another. Fixup the pprev* reference of the first entry if it exists.
454  raw_spin_unlock_irqrestore( & lock, flags)
458  hlist_del( & node)
459  Put the object back into the pool and schedule work to free objects* if necessary.
Caller
NameDescribe
__debug_object_init