Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct free_area * | area | |
| int | migratetype |
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |