Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:psi_memstall_enter - mark the beginning of a memory stall section*@flags: flags to handle nested sections* Marks the calling task as being stalled due to a lack of memory,* such as waiting for a refault or performing reclaim.
Proto:void psi_memstall_enter(unsigned long *flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long * | flags |
818 | If static_branch_likely( & psi_disabled) Then Return |
821 | flags = flags & Stalled due to lack of memory |
822 | If flags Then Return |
829 | rq = this_rq_lock_irq( & rf) |
832 | psi_task_change(current process, 0, TSK_MEMSTALL) |
834 | rq_unlock_irq(rq, & rf) |
Name | Describe |
---|---|
try_to_free_mem_cgroup_pages | |
balance_pgdat | For kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at. |
__perform_reclaim | Perform direct synchronous page reclaim |
swap_readpage | |
mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. |
blkcg_maybe_throttle_blkg | This is called when we want to actually walk up the hierarchy and check to* see if we need to throttle, and then actually throttle if there is some* accumulated delay. This should only be called upon return to user space so |
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 |