Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_basic_memory_bitmaps - Free memory bitmaps holding basic information.* Free memory bitmaps allocated by create_basic_memory_bitmaps(). The* auxiliary pointers are necessary so that the bitmaps themselves are not* referred to while they are being freed.

Proto:void free_basic_memory_bitmaps(void)

Type:void

Parameter:Nothing

1133  If WARN_ON(!(Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend. && Set bits in this map correspond to free page frames. )) Then Return
1136  bm1 = Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend.
1137  bm2 = Set bits in this map correspond to free page frames.
1138  Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend. = NULL
1139  Set bits in this map correspond to free page frames. = NULL
1140  memory_bm_free(bm1, PG_UNSAFE_CLEAR)
1141  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
1142  memory_bm_free(bm2, PG_UNSAFE_CLEAR)
1143  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
1145  pr_debug("Basic memory bitmaps freed\n")
Caller
NameDescribe
hibernatehibernate - Carry out system hibernation, including saving the image.
snapshot_release
snapshot_ioctl