[Crash-utility] Yet another kernel change for crash

Dave Anderson anderson at redhat.com
Mon Nov 14 20:06:45 UTC 2005


Badari Pulavarty wrote:

> Hi Dave,
>
> It looks like "mm_struct _rss" now got changed.
> Now we have "mm_struct _file_rss" instead.
>

Hi Badari,

This can be handled similarly to the way I suggested re: the kmem_cache
issue.  In fact, there already is this in place to deal with the original name
change from mm_struct.rss to mm_struct._rss:

        MEMBER_OFFSET_INIT(mm_struct_rss, "mm_struct", "rss");
        if (!VALID_MEMBER(mm_struct_rss))
                MEMBER_OFFSET_INIT(mm_struct_rss, "mm_struct", "_rss");

i.e., itt needs yet another qualifier:

       MEMBER_OFFSET_INIT(mm_struct_rss, "mm_struct", "rss");
       if (!VALID_MEMBER(mm_struct_rss))
                MEMBER_OFFSET_INIT(mm_struct_rss, "mm_struct", "_rss");
       if (!VALID_MEMBER(mm_struct_rss))
                MEMBER_OFFSET_INIT(mm_struct_rss, "mm_struct", "_file_rss");

Can you check that out?  I'm also (maybe incorrectly) presuming
that you were looking into fixing the kmem_cache issue as well?
Is that true?

Dave



>
> http://www.kernel.org/git/?
> p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4294621f41a85497019fae64341aa5351a1921b7
>
> Thanks,
> Badari
>
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20051114/f2c53d5d/attachment.htm>


More information about the Crash-utility mailing list