Function report |
Source Code:mm\page_io.c |
Create Date:2022-07-28 15:13:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We may have stale swap cache pages in memory: notice* them here and get rid of the unnecessary final write.
Proto:int swap_writepage(struct page *page, struct writeback_control *wbc)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct writeback_control * | wbc |
| 247 | ret = 0 |
| 249 | If try_to_free_swap(page) Then |
| 251 | Go to out |
| 253 | If frontswap_store(page) == 0 Then |
| 254 | set_page_writeback(page) |
| 257 | Go to out |
| 259 | ret = __swap_writepage(page, wbc, end_swap_bio_write) |
| 260 | out : |
| 261 | Return ret |
| 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 |