Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:20:07 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A zone is low on free memory or too fragmented for high-order memory
Proto:void wakeup_kswapd(struct zone *zone, gfp_t gfp_flags, int order, enum zone_type classzone_idx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| gfp_t | gfp_flags | |
| int | order | |
| enum zone_type | classzone_idx |
| 3976 | If Not cpuset_zone_allowed(zone, gfp_flags) Then Return |
| 3978 | pgdat = zone_pgdat |
| 3980 | If kswapd_classzone_idx == MAX_NR_ZONES Then kswapd_classzone_idx = classzone_idx |
| 3982 | Else kswapd_classzone_idx = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(kswapd_classzone_idx, classzone_idx) |
| 3985 | kswapd_order = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(kswapd_order, order) |
| 4000 | If Not (gfp_flags & Caller can reclaim ) Then wakeup_kcompactd(pgdat, order, classzone_idx) |
| 4002 | Return |
| 4007 | wake_up_interruptible( & kswapd_wait) |
| Name | Describe |
|---|---|
| rmqueue | Allocate a page from the given zone. Use pcplists for order-0 allocations. |
| wake_all_kswapds |
| 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 |