[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <548F0A68.7070400@ezchip.com>
Date: Mon, 15 Dec 2014 11:20:56 -0500
From: Chris Metcalf <cmetcalf@...hip.com>
To: Tejun Heo <tj@...nel.org>, <akpm@...ux-foundation.org>
CC: <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 05/12] tile: use {cpu|node}mask pr_cont and seq output
functions
On 12/10/2014 10:52 AM, Tejun Heo wrote:
> Convert the existing user of cpu{mask|list}_scnprintf() and
> node{mask|list}_scnprintf() which use them just to printk or
> seq_printf() the resulting buffer to use the following functions
> instead respectively.
>
> * For printk: cpu{mask|list}_pr_cont() and node{mask|list}_pr_cont().
>
> * For seq_file: seq_cpumask[_list]() and seq_nodemask[_list]().
>
> Because these conversions usually break up a single output function
> call into multiple, the reduction is LOC isn't too big but it removes
> unnecessary complexity and/or arbitrary limit on the length printed.
>
> This patch is dependent on the previous patch ("bitmap, cpumask,
> nodemask: implement pr_cont variants of formatting functions") which
> is planned to go through -mm. It'd be the easiest to route this
> together. If this should go through the subsystem tree, please wait
> till the forementioned patch is merged to mainline.
>
> Signed-off-by: Tejun Heo<tj@...nel.org>
> Cc: Andrew Morton<akpm@...ux-foundation.org>
> Cc: Chris Metcalf<cmetcalf@...era.com>
> ---
> arch/tile/kernel/hardwall.c | 6 ++----
> arch/tile/kernel/proc.c | 6 +++---
> arch/tile/kernel/setup.c | 12 ++++++------
> arch/tile/mm/homecache.c | 14 +++++++-------
> arch/tile/mm/init.c | 12 ++++++------
> drivers/net/ethernet/tile/tilegx.c | 6 +++---
> drivers/net/ethernet/tile/tilepro.c | 6 +++---
> 7 files changed, 30 insertions(+), 32 deletions(-)
Acked-by: Chris Metcalf <cmetcalf@...hip.com>
--
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com
--
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