Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:09:42 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Memory which can be further allocated to a memcg domain is capped by* system-wide clean memory excluding the amount being used in the domain.
Proto:static void mdtc_calc_avail(struct dirty_throttle_control *mdtc, unsigned long filepages, unsigned long headroom)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct dirty_throttle_control * | mdtc | |
unsigned long | filepages | |
unsigned long | headroom |
736 | clean = filepages - min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(filepages, le_dirty + write + nfs ) |
737 | global_clean = dirtyable - min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(dirtyable , le_dirty + write + nfs ) |
738 | other_clean = global_clean - min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(global_clean, clean) |
740 | dirtyable = filepages + min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(headroom, other_clean) |
Name | Describe |
---|---|
balance_dirty_pages | alance_dirty_pages() must be called by processes which are generating dirty* data |
wb_over_bg_thresh | wb_over_bg_thresh - does @wb need to be written back?*@wb: bdi_writeback of interest* Determines whether background writeback should keep writing @wb or it's* clean enough.* Return: %true if writeback should continue. |
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 |