[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5693AAD5.6090101@huawei.com>
Date: Mon, 11 Jan 2016 21:15:01 +0800
From: Xishi Qiu <qiuxishi@...wei.com>
To: Michal Hocko <mhocko@...nel.org>
CC: <cl@...ux.com>, Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>, <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
zhong jiang <zhongjiang@...wei.com>,
Linux MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: add ratio in slabinfo print
On 2016/1/11 20:25, Michal Hocko wrote:
> On Mon 11-01-16 11:54:57, Xishi Qiu wrote:
>> Add ratio(active_objs/num_objs) in /proc/slabinfo, it is used to show
>> the availability factor in each slab.
>
> What is the reason to add such a new value when it can be trivially
> calculated from the userspace?
>
> Besides that such a change would break existing parsers no?
Oh, maybe it is.
How about adjustment the format because some names are too long?
Thanks,
Xishi Qiu
Powered by blists - more mailing lists