Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mark_nosave_pages - Mark pages that should not be saved.*@bm: Memory bitmap.* Set the bits in @bm that correspond to the page frames the contents of which* should not be saved.

Proto:static void mark_nosave_pages(struct memory_bitmap *bm)

Type:void

Parameter:

TypeParameterName
struct memory_bitmap *bm
1047  If list_empty - tests whether a list is empty*@head: the list to test. Then Return
1053  pr_debug("Marking nosave pages: [mem %#010llx-%#010llx]\n", (unsignedlonglong)start_pfn << PAGE_SHIFT determines the page size , ((unsignedlonglong)end_pfn << PAGE_SHIFT determines the page size ) - 1)
1058  When pfn < end_pfn cycle If pfn_valid(pfn) Then
1066  mem_bm_set_bit_check(bm, pfn)
Caller
NameDescribe
create_basic_memory_bitmapsreate_basic_memory_bitmaps - Create bitmaps to hold basic page information