From: Xishi Qiu <qiuxishi@huawei.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: cl@linux.com, Pekka Enberg <penberg@kernel.org>,
David Rientjes <rientjes@google.com>,
iamjoonsoo.kim@lge.com, Andrew Morton <akpm@linux-foundation.org>,
zhong jiang <zhongjiang@huawei.com>,
Linux MM <linux-mm@kvack.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mm: add ratio in slabinfo print
Date: Mon, 11 Jan 2016 21:15:01 +0800 [thread overview]
Message-ID: <5693AAD5.6090101@huawei.com> (raw)
In-Reply-To: <20160111122553.GB27317@dhcp22.suse.cz>
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
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Xishi Qiu <qiuxishi@huawei.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: <cl@linux.com>, Pekka Enberg <penberg@kernel.org>,
David Rientjes <rientjes@google.com>, <iamjoonsoo.kim@lge.com>,
Andrew Morton <akpm@linux-foundation.org>,
zhong jiang <zhongjiang@huawei.com>,
Linux MM <linux-mm@kvack.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mm: add ratio in slabinfo print
Date: Mon, 11 Jan 2016 21:15:01 +0800 [thread overview]
Message-ID: <5693AAD5.6090101@huawei.com> (raw)
In-Reply-To: <20160111122553.GB27317@dhcp22.suse.cz>
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
next prev parent reply other threads:[~2016-01-11 13:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-11 3:54 [PATCH] mm: add ratio in slabinfo print Xishi Qiu
2016-01-11 3:54 ` Xishi Qiu
2016-01-11 12:25 ` Michal Hocko
2016-01-11 12:25 ` Michal Hocko
2016-01-11 13:15 ` Xishi Qiu [this message]
2016-01-11 13:15 ` Xishi Qiu
2016-01-11 13:39 ` Michal Hocko
2016-01-11 13:39 ` Michal Hocko
2016-01-12 0:20 ` David Rientjes
2016-01-12 0:20 ` David Rientjes
2016-01-12 1:05 ` Xishi Qiu
2016-01-12 1:05 ` Xishi Qiu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5693AAD5.6090101@huawei.com \
--to=qiuxishi@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=zhongjiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.