summaryrefslogtreecommitdiffstats
path: root/lib/ratelimit.c
AgeCommit message (Expand)AuthorLines
2025-05-08ratelimit: Drop redundant accesses to burstPaul E. McKenney-2/+2
2025-05-08ratelimit: Use nolock_ret restructuring to collapse common case codePaul E. McKenney-10/+3
2025-05-08ratelimit: Use nolock_ret label to collapse lock-failure codePaul E. McKenney-14/+4
2025-05-08ratelimit: Use nolock_ret label to save a couple of lines of codePaul E. McKenney-5/+3
2025-05-08ratelimit: Simplify common-case exit pathPaul E. McKenney-9/+5
2025-05-08ratelimit: Warn if ->interval or ->burst are negativePetr Mladek-0/+1
2025-05-08ratelimit: Avoid atomic decrement under lock if already rate-limitedPaul E. McKenney-5/+8
2025-05-08ratelimit: Avoid atomic decrement if already rate-limitedPaul E. McKenney-1/+3
2025-05-08ratelimit: Don't flush misses counter if RATELIMIT_MSG_ON_RELEASEPaul E. McKenney-3/+3
2025-05-08ratelimit: Force re-initialization when rate-limiting re-enabledPaul E. McKenney-1/+14
2025-05-08ratelimit: Allow zero ->burst to disable ratelimitingPaul E. McKenney-2/+6
2025-05-08ratelimit: Reduce ___ratelimit() false-positive rate limitingPetr Mladek-13/+38
2025-05-08ratelimit: Avoid jiffies=0 special casePaul E. McKenney-1/+3
2025-05-08ratelimit: Count misses due to lock contentionPaul E. McKenney-1/+3
2025-05-08ratelimit: Convert the ->missed field to atomic_tPaul E. McKenney-1/+1
2025-05-08ratelimit: Create functions to handle ratelimit_state internalsPaul E. McKenney-4/+4
2022-08-24ratelimit: Fix data-races in ___ratelimit().Kuniyuki Iwashima-3/+9
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428Thomas Gleixner-2/+1
2017-10-03lib/ratelimit.c: use deferred printk() versionSergey Senozhatsky-1/+3
2016-08-02ratelimit: extend to print suppressed messages on releaseBorislav Petkov-4/+6
2016-01-21ratelimit: fix bug in time interval by resetting right begin timeJaewon Kim-1/+1
2012-03-07lib: reduce the use of module.h wherever possiblePaul Gortmaker-1/+1
2011-09-13locking, printk: Annotate logbuf_lock as rawThomas Gleixner-2/+2
2010-04-07ratelimit: fix the return value when __ratelimit() fails to acquire the lockYong Zhang-1/+1
2010-04-07ratelimit: annotate ___ratelimit()Yong Zhang-2/+7
2009-10-23ratelimit: Make suppressed output messages more usefulChristian Borntraeger-3/+3
2009-09-22printk: Remove ratelimit.h from kernel.hIngo Molnar-1/+1
2009-09-22ratelimit: Fix/allow use in atomic contextsIngo Molnar-1/+9
2009-09-22ratelimit: Use per ratelimit context lockingIngo Molnar-16/+13
2008-07-28__ratelimit() cpu flags can't be staticAlexey Dobriyan-1/+2
2008-07-25printk ratelimiting rewriteDave Young-25/+30
2008-04-29isolate ratelimit from printk.c for other useDave Young-0/+51