The patch titled kprobes: increase kprobe_hash_table size has been removed from the -mm tree. Its filename was kprobe-increase-kprobe_hash_table-size.patch This patch was dropped because it was withdrawn The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kprobes: increase kprobe_hash_table size From: Masami Hiramatsu <mhiramat@xxxxxxxxxx> Increase the size of kprobe hash table to 512. It's useful when hundreds of kprobes were used in the kernel because current size is just 64. When probing enters and exits of syscall-related functions, we need more than 500 probes. In that case, each hlist would have 8 elements in average. With this patch, the hlist would have 1 element in average. akpm: bloat alert: text data bss dec hex filename 7036 744 9380 17160 4308 kernel/kprobes.o 7048 744 73892 81684 13f14 kernel/kprobes.o That's 64 kbytes more memory. It is due to kretprobe_table_locks[], which uses ____cacheline_aligned. Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx> Acked-by: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/kprobes.c~kprobe-increase-kprobe_hash_table-size kernel/kprobes.c --- a/kernel/kprobes.c~kprobe-increase-kprobe_hash_table-size +++ a/kernel/kprobes.c @@ -49,7 +49,7 @@ #include <asm/errno.h> #include <asm/uaccess.h> -#define KPROBE_HASH_BITS 6 +#define KPROBE_HASH_BITS 9 #define KPROBE_TABLE_SIZE (1 << KPROBE_HASH_BITS) _ Patches currently in -mm which might be from mhiramat@xxxxxxxxxx are kprobes-disable-preempt-for-module_text_address-and-kernel_text_address.patch kprobe-increase-kprobe_hash_table-size.patch kprobes-bugfix-try_module_get-even-if-calling_mod-is-null.patch kprobes-indirectly-call-kprobe_target.patch kprobes-add-tests-for-register_kprobes.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html