diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-18 11:32:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-18 11:32:28 -0800 |
commit | 3c18d4de86e4a7f93815c081e50e0543fa27200f (patch) | |
tree | adea22bccd076266bf94cbda3ed6d9a98eea1206 /lib/lru_cache.c | |
parent | 2a324ce7b79a3a90cc2d4ade5d5f960a99000caa (diff) | |
download | kernel_samsung_tuna-3c18d4de86e4a7f93815c081e50e0543fa27200f.zip kernel_samsung_tuna-3c18d4de86e4a7f93815c081e50e0543fa27200f.tar.gz kernel_samsung_tuna-3c18d4de86e4a7f93815c081e50e0543fa27200f.tar.bz2 |
Expand CONFIG_DEBUG_LIST to several other list operations
When list debugging is enabled, we aim to readably show list corruption
errors, and the basic list_add/list_del operations end up having extra
debugging code in them to do some basic validation of the list entries.
However, "list_del_init()" and "list_move[_tail]()" ended up avoiding
the debug code due to how they were written. This fixes that.
So the _next_ time we have list_move() problems with stale list entries,
we'll hopefully have an easier time finding them..
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions