[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140612214016.1beda952.akpm@linux-foundation.org>
Date: Thu, 12 Jun 2014 21:40:16 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Chen Yucong <slaoub@...il.com>
Cc: mgorman@...e.de, hannes@...xchg.org, mhocko@...e.cz,
riel@...hat.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mm/vmscan.c: wrap five parameters into shrink_result
for reducing the stack consumption
On Fri, 13 Jun 2014 12:36:31 +0800 Chen Yucong <slaoub@...il.com> wrote:
> @@ -1148,7 +1146,8 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
> .priority = DEF_PRIORITY,
> .may_unmap = 1,
> };
> - unsigned long ret, dummy1, dummy2, dummy3, dummy4, dummy5;
> + unsigned long ret;
> + struct shrink_result dummy = { };
You didn't like the idea of making this static?
--
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