Commit 00bd52c9 authored by Gerald Schaefer's avatar Gerald Schaefer Committed by Linus Torvalds

[PATCH] s390: z/VM monitor stream

z/VM monitor stream changes:
 - Reduce stack usage of appldata_get_mem_data.
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 74eba308
......@@ -102,8 +102,12 @@ static inline void appldata_debug_print(struct appldata_mem_data *mem_data)
*/
static void appldata_get_mem_data(void *data)
{
struct sysinfo val;
struct page_state ps;
/*
* don't put large structures on the stack, we are
* serialized through the appldata_ops_lock and can use static
*/
static struct sysinfo val;
static struct page_state ps;
struct appldata_mem_data *mem_data;
mem_data = data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment