Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:10:15 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wb_min_pause
Proto:static long wb_min_pause(struct bdi_writeback *wb, long max_pause, unsigned long task_ratelimit, unsigned long dirty_ratelimit, int *nr_dirtied_pause)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bdi_writeback * | wb | |
| long | max_pause | |
| unsigned long | task_ratelimit | |
| unsigned long | dirty_ratelimit | |
| int * | nr_dirtied_pause |
| 1451 | t = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(1, HZ / 100) |
| 1480 | t = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(t, 1 + max_pause / 2) |
| 1500 | pause = HZ * pages / (task_ratelimit + 1) |
| 1506 | nr_dirtied_pause = pages |
| 1510 | Return If pages >= Try to keep balance_dirty_pages() call intervals higher than this many pages* by raising pause time to max_pause when falls below it. Then 1 + t / 2 Else t |
| Name | Describe |
|---|---|
| balance_dirty_pages | alance_dirty_pages() must be called by processes which are generating dirty* data |
| 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 |