Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:clear_free_pages

Proto:void clear_free_pages(void)

Type:void

Parameter:Nothing

1150  bm = Set bits in this map correspond to free page frames.
1153  If WARN_ON(!(Set bits in this map correspond to free page frames. )) Then Return
1156  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PAGE_POISONING_ZERO) || want_init_on_free() Then
1157  memory_bm_position_reset(bm)
1158  pfn = memory_bm_rtree_next_pfn - Find the next set bit in a memory bitmap.*@bm: Memory bitmap.* Starting from the last returned position this function searches for the next* set bit in @bm and returns the PFN represented by it. If no more bits are
1165  memory_bm_position_reset(bm)
1166  pr_info("free pages cleared after restore\n")