[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTimDyADR9QMK7GNotq-5_LOSbuuMWQ-K5p6wUWWY@mail.gmail.com>
Date: Tue, 14 Sep 2010 21:47:54 +0300
From: Pekka Enberg <penberg@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Christoph Lameter <cl@...ux.com>, linux-kernel@...r.kernel.org,
David Rientjes <rientjes@...gle.com>,
Matt Mackall <mpm@...enic.com>
Subject: Re: [PATCH 2/2] SLUB: Mark merged slab caches in /proc/slabinfo
On Tue, Sep 14, 2010 at 9:05 PM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
>> Looking at procps sources, slabtop and other utilities seem to think
>> slab cache names are limited to 64 bytes. Linus, are you OK with
>> adding a "+" character prefix for merged caches like you suggested in
>> private?
>
> I'd much rather see "x+y+z" and actually see what the slab entries are.
>
> But we can certainly also say "limit it to 64 bytes" and truncate
> things past that.
It's actually 63 bytes due to off-by-one error in procps. There never
has been such limit on the kernel side but I worry about breaking
other applications that are prepared to read even less characters. Oh
well, I'll send the reworked patches and let you decide.
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists