Re: [RFC PATCH v2 0/2] Show memory overcommit data in dump_kmeminfo()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> On Tue 2014-12-02 12:11 -0500, Dave Anderson wrote:
> > Hi Aaron,
> >
> > I've got a RHEL4 kernel which shows a COMMIT LIMIT of zero, and then
> > dies with a SIGFPE:
> [ ... ]
> > Program received signal SIGFPE, Arithmetic exception.
> > dump_kmeminfo () at memory.c:7970
> > 7970						/ allowed) : 0;
> 
> OK.
> 
> > So there also needs to be an allowance for this:
> [ ... ]
> >   crash> p sysctl_overcommit_ratio
> >   sysctl_overcommit_ratio = $2 = 0
> >   crash>
> 
> Quick question, would you prefer to silently bail out of displaying memory
> over commitment details in the event of a 0 value for "allowed" or print as
> follows:
> 
>    COMMIT LIMIT        0            0         ----
>       COMMITTED  1150595       4.4 GB         ----

I guess I would prefer the above, unless you feel that it's misleading?

Dave

 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux