如果一個printk用戶要求進行速度限制,那麼該用戶就需要調用printk_ratelimit函數。
Note that within the kernel, rate limiting is caller controlled and is not implemented within printk.
A printk user who desires rate limiting calls the printk_ratelimit function.
Note the use of printk here: this is the kernel printf function.
printk 是基於C語言中一個名爲字元串逐字連接的特*。
注意,在內核中,速度限制是由調用者控制的,而不是在printk中實現的。