Differences between version 2 and previous revision of KernelDevelopmentDebugging.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Tuesday, October 18, 2005 10:04:53 am | by IanMcDonald | Revert |
Older page: | version 1 | Last edited on Monday, October 17, 2005 1:35:17 pm | by IanMcDonald | Revert |
@@ -35,10 +35,10 @@
mov 0x8(%ebp), %ebx ! %ebx = skb->sk
mov 0x13c(%ebx), %eax ! %eax = inet_sk(sk)->opt
</verbatim>
-Also a very useful menu option for menuconfig under Kernel Hacking is debug memory allocations as that will help you see whether data has been initialised and not set before use etc. To see the values that get assigned with this look at mm/slab.c and search for POISON. When using this an Oops will often show the poisoned data instead of zero which is the default.
+Also a very useful menu option for menuconfig under Kernel Hacking is debug memory allocations as that will help you see whether data has been initialised and not set before use etc. To see the values that get assigned with this look at mm/slab.c and search for POISON_INUSE
. When using this an Oops will often show the poisoned data instead of zero which is the default.
----
See also KernelDevelopment
----
CategoryKernel