Function report |
Source Code:mm\huge_memory.c |
Create Date:2022-07-28 16:00:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:shrink_huge_zero_page_scan
Proto:static unsigned long shrink_huge_zero_page_scan(struct shrinker *shrink, struct shrink_control *sc)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct shrinker * | shrink | |
struct shrink_control * | sc |
146 | If atomic_cmpxchg( & huge_zero_refcount, 1, 0) == 1 Then |
147 | zero_page = xchg( & huge_zero_page, NULL) |
150 | Return HPAGE_PMD_NR |
153 | Return 0 |
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 |