Function report |
Source Code:mm\kasan\quarantine.c |
Create Date:2022-07-28 15:54:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:quarantine_reduce
Proto:void quarantine_reduce(void)
Type:void
Parameter:Nothing
218 | to_free = QLIST_INIT |
220 | If Value is more likely to compile time(READ_ONCE(Total size of all objects in global_quarantine across all batches. ) <= READ_ONCE(Maximum size of the global queue. )) Then Return |
234 | raw_spin_lock_irqsave( & quarantine_lock, flags) |
243 | new_quarantine_size = If total_size < percpu_quarantines Then 0 Else total_size - percpu_quarantines |
252 | WRITE_ONCE(Total size of all objects in global_quarantine across all batches. , Total size of all objects in global_quarantine across all batches. - bytes) |
253 | quarantine_head++ |
254 | If quarantine_head == QUARANTINE_BATCHES Then quarantine_head = 0 |
260 | qlist_free_all( & to_free, NULL) |
Name | Describe |
---|---|
kasan_kmalloc_large |
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 |