Re: [PATCH] slab: fix /proc/slabinfo alignment

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

 



On Tue, Feb 20, 2018 at 12:43:52PM -0600, Christopher Lameter wrote:
> On Tue, 20 Feb 2018, Matthew Wilcox wrote:
> 
> > In memcg_create_kmem_cache:
> >
> > 	s->name = kasprintf(GFP_KERNEL, "%s(%llu:%s)", a->name,
> > 				css->serial_nr, memcg_name_buf);
> >
> 
> But that creates the long name that shows up in /proc/slabinfo.

Yes.  People who enable cgroups get an ugly /proc/slabinfo.  I don't have
a solution to that, but at least those of us who don't enable cgroups will
no longer have:

drm_i915_gem_request    243    357    576    7    1 : tunables   54   27    8 : slabdata     51     51      0
fat_cache              0      0     32  124    1 : tunables  120   60    8 : slabdata      0      0      0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux