[igt-dev] [PATCH igt] lib: Dump meminfo and slabinfo if we complain about insufficient memory

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 10 13:28:03 UTC 2018


Quoting Petri Latvala (2018-04-10 14:08:17)
> On Tue, Apr 10, 2018 at 01:20:43PM +0100, Chris Wilson wrote:
> > +                     igt_debug("Insuffucient free memory; /proc/meminfo:\n%s",
> > +                               info);
> > +                     free(info);
> > +             }
> > +
> > +             info = igt_sysfs_get(dir, "slabinfo");
> > +             if (info) {
> > +                     igt_debug("Insuffucient free memory; /proc/slabinfo:\n%s",
> 
> Consistently used incorrect spelling.

Or maybe I was trying to subconsciously swear?
-Chris


More information about the igt-dev mailing list