[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <724cbfa3-2a04-718b-5c98-942a452566f4@redhat.com>
Date: Wed, 23 Oct 2019 14:07:08 -0400
From: Waiman Long <longman@...hat.com>
To: Michal Hocko <mhocko@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Mel Gorman <mgorman@...e.de>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
Johannes Weiner <hannes@...xchg.org>,
Roman Gushchin <guro@...com>, Vlastimil Babka <vbabka@...e.cz>,
Konstantin Khlebnikov <khlebnikov@...dex-team.ru>,
Jann Horn <jannh@...gle.com>, Song Liu <songliubraving@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rafael Aquini <aquini@...hat.com>
Subject: Re: [PATCH 2/2] mm, vmstat: List total free blocks for each order in
/proc/pagetypeinfo
On 10/23/19 2:02 PM, Michal Hocko wrote:
> On Wed 23-10-19 13:34:23, Waiman Long wrote:
> [...]
>> @@ -1419,6 +1419,17 @@ static void pagetypeinfo_showfree_print(struct seq_file *m,
>> }
>> seq_putc(m, '\n');
>> }
>> +
>> + /*
>> + * List total free blocks per order
>> + */
>> + seq_printf(m, "Node %4d, zone %8s, total ",
>> + pgdat->node_id, zone->name);
>> + for (order = 0; order < MAX_ORDER; ++order) {
>> + area = &(zone->free_area[order]);
>> + seq_printf(m, "%6lu ", area->nr_free);
>> + }
>> + seq_putc(m, '\n');
> This is essentially duplicating /proc/buddyinfo. Do we really need that?
Yes, you are right. As the information is available elsewhere. I am fine
with dropping this.
Cheers,
Longman
Powered by blists - more mailing lists