s390 (4/12): z/VM monitor stream.
PATCH 1/1 s390 (4/12): z/VM monitor stream.
[PATCH] s390: z/VM monitor stream.
From: Gerald Schaefer <[email protected]>
z/VM monitor stream changes:
- Reduce stack usage of appldata_get_mem_data.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
arch/s390/appldata/appldata_mem.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
arch/s390/appldata/appldata_mem.c +6 -2
@@ -102,8 +102,12 @@*/ 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;