[Crash-utility] [PATCH] Fix for "kmem <addr>" for kernels configured with CONFIG_SLUB and SLAB_RED_ZONE.

OGAWA Hirofumi hirofumi at mail.parknet.co.jp
Fri Feb 3 21:56:15 UTC 2017


OGAWA Hirofumi <hirofumi at mail.parknet.co.jp> writes:

>> Attached is a patch for your review.  You will have to
>> enter "set redzone on" in order for the adjusted object
>> addresses to be displayed.
>
> Thanks! This seems to be what I want.

While testing this patch, I noticed what you pointed out in my
patch. Right, the part comparing "si->spec_addr" with "p" is wrong.

redzone.patch is version of fixed my bug (removed trailing whitespace too).

And while testing, I confused whether "redzone on" is meaning exclude or
not (because "redzone on" looks like "show redzone")? :)
So redzone-exclude.patch renamed "redzone" to "exclude_redzone".  This
patch can be rejected freely if you don't want.

Thanks.
-- 
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: redzone.patch
Type: text/x-diff
Size: 7050 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20170204/d07f9fd9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redzone-exclude.patch
Type: text/x-diff
Size: 7946 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20170204/d07f9fd9/attachment-0001.bin>


More information about the Crash-utility mailing list