#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 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 | andrew jones | 20 | 86.96% | 1 | 50.00% |
hannes frederic sowa | hannes frederic sowa | 3 | 13.04% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
andrew jones | andrew jones | 14 | 73.68% | 1 | 50.00% |
hannes frederic sowa | hannes frederic sowa | 5 | 26.32% | 1 | 50.00% |
Total | 19 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
andrew jones | andrew jones | 121 | 93.80% | 1 | 50.00% |
hannes frederic sowa | hannes frederic sowa | 8 | 6.20% | 1 | 50.00% |
Total | 129 | 100.00% | 2 | 100.00% |