Re: [PATCH] mempolicy: reduce stack size of migrate_pages()

From: KAMEZAWA Hiroyuki
Date: Wed Jun 16 2010 - 01:00:52 EST


On Wed, 16 Jun 2010 13:36:57 +0900 (JST)
KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

>
> Now, migrate_pages() are using >500 bytes stack. This patch reduce it.
>
> mm/mempolicy.c: In function 'sys_migrate_pages':
> mm/mempolicy.c:1344: warning: the frame size of 528 bytes is larger than
> 512 bytes
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> Cc: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/