[PATCH] uml: stack consumption reduction
Fix some stack abuse in the sysrq t path. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
80c1374914
commit
f92afe56a0
@@ -131,6 +131,10 @@ int mconsole_get_request(int fd, struct mc_request *req)
|
||||
int mconsole_reply_len(struct mc_request *req, const char *str, int total,
|
||||
int err, int more)
|
||||
{
|
||||
/* XXX This is a stack consumption problem. It'd be nice to
|
||||
* make it global and serialize access to it, but there are a
|
||||
* ton of callers to this function.
|
||||
*/
|
||||
struct mconsole_reply reply;
|
||||
int len, n;
|
||||
|
||||
|
Reference in New Issue
Block a user