Commit 8804023061b3447fbaddbd286d78170ad88d1a43
Committed by
Linus Torvalds
1 parent
1f604c4bc0
Exists in
master
and in
7 other branches
[PATCH] fix Documentation/accounting/getdelays.c buf size
getdelays reports a "fatal reply error, errno 258". We don't have enough room for multi-threaded exit (PID + TGID). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Jay Lan <jlan@engr.sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
Documentation/accounting/getdelays.c
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 | } |
50 | 50 | |
51 | 51 | /* Maximum size of response requested or message sent */ |
52 | -#define MAX_MSG_SIZE 256 | |
52 | +#define MAX_MSG_SIZE 1024 | |
53 | 53 | /* Maximum number of cpus expected to be specified in a cpumask */ |
54 | 54 | #define MAX_CPUS 32 |
55 | 55 | /* Maximum length of pathname to log file */ |