]> git.hungrycats.org Git - linux/commit
[PATCH] generalise net_ratelimit (printk_ratelimit)
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:36:30 +0000 (18:36 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:36:30 +0000 (18:36 -0800)
commit11a61205698b0fd27f1190b0bb72826a6ff00957
tree47e430c4d5b320fad68d7a585a4a16f442b4fa32
parent2b45d70f1fdf994262d2fc679b5f538eba2f913b
[PATCH] generalise net_ratelimit (printk_ratelimit)

From: Anton Blanchard <anton@samba.org>

Generate a global printk rate-limiting function, printk_ratelimit().

Also, use it in the page allocator warning code.  Also add a dump_stack to
that code.

Later, we need to switch net_ratelimit() over to use printk_ratelimit().
Documentation/sysctl/kernel.txt
include/linux/kernel.h
include/linux/sysctl.h
kernel/printk.c
kernel/sysctl.c
mm/page_alloc.c