函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__khugepaged_exit

函数原型:void __khugepaged_exit(struct mm_struct *mm)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
487  free等于0
489  加自旋锁
490  mm_slot等于get_mm_slot(mm)
491  如果mm_slotmm_slot不等于mm_slot
492  从哈希表移除对象
493  删除链表项
494  free等于1
496  自旋锁解锁
498  如果free
499  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
500  free_mm_slot(mm_slot)
501  mmdrop(mm)
502  否则如果mm_slot
511  lock for writing
512  lease a write lock