Function report |
Source Code:mm\swap_state.c |
Create Date:2022-07-28 15:14:35 |
| Last Modify:2020-03-17 22:02:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:If we are the only user, then try to free up the swap cache. * Its ok to check for PageSwapCache without the page lock* here because we are going to recheck again inside* try_to_free_swap() _with_ the lock.* - Marcelo
Proto:static inline void free_swap_cache(struct page *page)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| Name | Describe |
|---|---|
| put_page | Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page. |
| free_pages_and_swap_cache | Passed an array of pages, drop them all from swapcache and then release* them. They are removed from the LRU and freed if this is their last use. |
| 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 |