These patches fix the behavior of the ve_prink_ratelimited and
net_velog_ratelimited helpers so that "callback suppressed" messages are
printed to the log buffer specified when the helper is called.
v2: reordered condition checks so that ve_printk_deffered matches the
order used in ve_printk
Aleksei Oladko (3):
ve/printk: Introduce ve_printk_deferred()
ve/printk: log rate-limited "callbacks suppressed" messages to correct
dmesg
ve: ensure network rate-limited messages go to the correct log buffer
include/linux/net.h | 11 +++++++++--
include/linux/printk.h | 10 +++++++++-
include/linux/ratelimit_types.h | 3 +++
kernel/printk/printk.c | 28 ++++++++++++++++++++++++++++
lib/ratelimit.c | 10 ++++++++--
net/core/utils.c | 6 ++++++
6 files changed, 63 insertions(+), 5 deletions(-)
--
2.43.0
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel