[PATCH] sched.h: increment TASK_COMM_LEN to 20 bytes
From: Luben Tuikov
Date: Fri Jun 23 2006 - 12:48:20 EST
Lets use 19+1 chars. This helps display properly
kernel threads (e.g. SATA translation threads) which bear
the address of the STP/SATA bridge where the SATA disk is
connected. Those are 16+1 chars long. Currently (15+1) the last
character is not displayed as it is used by the '\0'.
The array is 4 byte aligned so we add another 4 bytes to it.
Signed-off-by: Luben Tuikov <ltuikov@xxxxxxxxx>
---
include/linux/sched.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 18f12cb..3fc11bc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -154,7 +154,7 @@ #define set_current_state(state_value)
set_mb(current->state, (state_value))
/* Task command name length */
-#define TASK_COMM_LEN 16
+#define TASK_COMM_LEN 20
/*
* Scheduling policies
--
1.4.0.g470d
-
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/