函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-27 15:33:04
Last Modify:2022-05-23 13:25:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:On idle system, we can be called long after we scheduled because we use* deferred timers so count with missed periods.

函数原型:static void writeout_period(struct timer_list *t)

返回类型:void

参数:

类型参数名称
struct timer_list *t
630  dom等于from_timer(dom, t, period_timer)
631  miss_periods等于jiffiesperiod_time的差除Length of period for aging writeout fractions of bdis. This is an* arbitrarily chosen number. The longer the period, the slower fractions will* reflect changes in current writeout rate.
634  如果Declare @periods new periods. It is upto the caller to make sure period* transitions cannot happen in parallel.* The function returns true if the proportions are still defined and false* if aging zeroed out all events
635  period_time等于wp_next_time(period_time + miss_periods * Length of period for aging writeout fractions of bdis. This is an* arbitrarily chosen number. The longer the period, the slower fractions will* reflect changes in current writeout rate.)
637  mod_timer - modify a timer's timeout*@timer: the timer to be modified*@expires: new timeout in jiffies* mod_timer() is a more efficient way to update the expire field of an* active timer (if the timer is inactive it will be activated)* mod_timer(timer,
638  否则
643  period_time等于0