Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:20:01 |
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kswapd_try_to_sleep
Proto:static void kswapd_try_to_sleep(pg_data_t *pgdat, int alloc_order, int reclaim_order, unsigned int classzone_idx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| pg_data_t * | pgdat | |
| int | alloc_order | |
| int | reclaim_order | |
| unsigned int | classzone_idx |
| 3796 | remaining = 0 |
| 3797 | DEFINE_WAIT(wait) |
| 3826 | remaining = schedule_timeout - sleep until timeout*@timeout: timeout value in jiffies* Make the current task sleep until @timeout jiffies have* elapsed |
| 3833 | If remaining Then |
| 3864 | Else |
| 3865 | If remaining Then Disable counters |
| 3867 | Else Disable counters |
| Name | Describe |
|---|---|
| kswapd | The background pageout daemon, started as a kernel thread* from the init process.* This basically trickles out pages so that we have _some_* free memory available even if there is no other activity* that frees anything up |
| 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 |