[PATCH] fix Documentation/accounting/getdelays.c buf size

From: Oleg Nesterov
Date: Thu Nov 02 2006 - 12:49:49 EST


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@xxxxxxxxxx>

--- STATS/Documentation/accounting/getdelays.c~ 2006-10-22 18:23:57.000000000 +0400
+++ STATS/Documentation/accounting/getdelays.c 2006-11-02 20:25:22.000000000 +0300
@@ -49,7 +49,7 @@ __u64 stime, utime;
}

/* Maximum size of response requested or message sent */
-#define MAX_MSG_SIZE 256
+#define MAX_MSG_SIZE 1024
/* Maximum number of cpus expected to be specified in a cpumask */
#define MAX_CPUS 32
/* Maximum length of pathname to log file */

-
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/