[PATCH] Dump stack during sysctl registration failure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mikael Pettersson <mikpe@...>, <akpm@...>
Cc: <linux-kernel@...>, <ebiederm@...>
Date: Saturday, October 27, 2007 - 2:43 pm

On Sat, Oct 27, 2007 at 10:34:53PM +0400,  wrote:

Speaking of...


[PATCH] Dump stack during sysctl registration failure

Let's make immediately obvious from where sysctl comes from and
messages itself more noticeable.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 kernel/sysctl_check.c |    1 +
 1 file changed, 1 insertion(+)

--- a/kernel/sysctl_check.c
+++ b/kernel/sysctl_check.c
@@ -1432,6 +1432,7 @@ static void set_fail(const char **fail, struct ctl_table *table, const char *str
 		printk(KERN_ERR "sysctl table check failed: ");
 		sysctl_print_path(table);
 		printk(" %s\n", *fail);
+		dump_stack();
 	}
 	*fail = str;
 }
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.24-rc1 sysctl table check failed on PowerMac, Mikael Pettersson, (Sat Oct 27, 1:57 pm)
Re: 2.6.24-rc1 sysctl table check failed on PowerMac, Alexey Dobriyan, (Sat Oct 27, 2:34 pm)
[PATCH] Dump stack during sysctl registration failure, Alexey Dobriyan, (Sat Oct 27, 2:43 pm)
Re: [PATCH] Dump stack during sysctl registration failure, Eric W. Biederman, (Sun Oct 28, 12:20 am)