Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154971186
D31488.id93475.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
570 B
Referenced Files
None
Subscribers
None
D31488.id93475.diff
View Options
Index: sys/compat/linux/linux_util.h
===================================================================
--- sys/compat/linux/linux_util.h
+++ sys/compat/linux/linux_util.h
@@ -165,6 +165,18 @@
} \
} while (0)
+#define LINUX_RATELIMIT_MSG(_message) \
+ do { \
+ static int seen = 0; \
+ \
+ if (seen == 0) { \
+ linux_msg(curthread, _message); \
+ \
+ if (linux_debug < 3) \
+ seen = 1; \
+ } \
+ } while (0)
+
#define LINUX_RATELIMIT_MSG_OPT1(_message, _opt1) \
do { \
static int seen = 0; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 9:32 AM (14 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32569949
Default Alt Text
D31488.id93475.diff (570 B)
Attached To
Mode
D31488: linux(4): Add LINUX_RATELIMIT_MSG macro for future use.
Attached
Detach File
Event Timeline
Log In to Comment