Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

From: Ingo Molnar
Date: Sun Dec 17 2006 - 04:12:58 EST



the other thing that is pretty ugly is the recursive_enter/clear/exit
code. I'd suggest the lockdep model here: use a single flag in
task_struct to detect recursion. Also, never use BUG() when hitting a
bug in a debugging helper - that will crash the box. Use a flag to turn
off the whole thing if you encounter an internal bug and print a
warning. That way bugs can actually be reported, instead of users
wondering why the box locked up under X.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/