diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-07-29 18:22:13 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-07-31 19:16:33 +0300 |
commit | fdde6abb3e8dd45e4b026fcf32d40aed96ce3944 (patch) | |
tree | 926dac3ce211abae103ac50c2a56e0e791b9a043 /mm/slub.c | |
parent | 250f8e3db646028353a2a737ddb7a894c97a1098 (diff) | |
download | lwn-fdde6abb3e8dd45e4b026fcf32d40aed96ce3944.tar.gz lwn-fdde6abb3e8dd45e4b026fcf32d40aed96ce3944.zip |
slab: use print_hex_dump
Less code and the advantage of ascii dump.
before:
| Slab corruption: names_cache start=c5788000, len=4096
| 000: 6b 6b 01 00 00 00 56 00 00 00 24 00 00 00 2a 00
| 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
| 020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff
| 030: ff ff ff ff e2 b4 17 18 c7 e4 08 06 00 01 08 00
| 040: 06 04 00 01 e2 b4 17 18 c7 e4 0a 00 00 01 00 00
| 050: 00 00 00 00 0a 00 00 02 6b 6b 6b 6b 6b 6b 6b 6b
after:
| Slab corruption: size-4096 start=c38a9000, len=4096
| 000: 6b 6b 01 00 00 00 56 00 00 00 24 00 00 00 2a 00 kk....V...$...*.
| 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
| 020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ................
| 030: ff ff ff ff d2 56 5f aa db 9c 08 06 00 01 08 00 .....V_.........
| 040: 06 04 00 01 d2 56 5f aa db 9c 0a 00 00 01 00 00 .....V_.........
| 050: 00 00 00 00 0a 00 00 02 6b 6b 6b 6b 6b 6b 6b 6b ........kkkkkkkk
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions