#ifndef _LINUX_JUMP_LABEL_RATELIMIT_H #define _LINUX_JUMP_LABEL_RATELIMIT_H #include <linux/jump_label.h> #include <linux/workqueue.h> #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) struct static_key_deferred { struct static_key key; unsigned long timeout; struct delayed_work work; }; #endif #ifdef HAVE_JUMP_LABEL extern void static_key_slow_dec_deferred(struct static_key_deferred *key); extern void static_key_deferred_flush(struct static_key_deferred *key); extern void jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl); #else /* !HAVE_JUMP_LABEL */ struct static_key_deferred { struct static_key key; };
static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) { STATIC_KEY_CHECK_USE(); static_key_slow_dec(&key->key); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Jones | 20 | 86.96% | 1 | 50.00% |
Hannes Frederic Sowa | 3 | 13.04% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Matlack | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrew Jones | 14 | 73.68% | 1 | 50.00% |
Hannes Frederic Sowa | 5 | 26.32% | 1 | 50.00% |
Total | 19 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrew Jones | 121 | 78.57% | 1 | 33.33% |
David Matlack | 25 | 16.23% | 1 | 33.33% |
Hannes Frederic Sowa | 8 | 5.19% | 1 | 33.33% |
Total | 154 | 100.00% | 3 | 100.00% |