sched.h: increment TASK_COMM_LEN to 20 bytes
PATCH 1/1 sched.h: increment TASK_COMM_LEN to 20 bytes
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 <[email protected]>
--- include/linux/sched.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/sched.h +1 -1
@@ -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
Signature · 1 line
1.4.0.g470d