Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-28 14:09:36
Last Modify:2022-05-23 13:25:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static void writeout_period(struct timer_list *t)

Type:void

Parameter:

TypeParameterName
struct timer_list *t
630  dom = from_timer(dom, t, period_timer)
631  miss_periods = (jiffies - period_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  If 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 Then
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  Else
643  period_time = 0