Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_to_free_area_random

Proto:void add_to_free_area_random(struct page *page, struct free_area *area, int migratetype)

Type:void

Parameter:

TypeParameterName
struct page *page
struct free_area *area
intmigratetype
196  If rand_bits == 0 Then
197  rand_bits = 64
198  rand = get_random_u64()
201  If rand & 1 Then Used for pages not on another list
203  Else Used for pages not on another list
205  rand_bits--
206  rand >>= 1