|
@@ -884,9 +884,9 @@ static void check_stack_usage(void)
|
|
|
|
|
|
spin_lock(&low_water_lock);
|
|
spin_lock(&low_water_lock);
|
|
if (free < lowest_to_date) {
|
|
if (free < lowest_to_date) {
|
|
- printk(KERN_WARNING "%s used greatest stack depth: %lu bytes "
|
|
|
|
- "left\n",
|
|
|
|
- current->comm, free);
|
|
|
|
|
|
+ printk(KERN_WARNING "%s (%d) used greatest stack depth: "
|
|
|
|
+ "%lu bytes left\n",
|
|
|
|
+ current->comm, task_pid_nr(current), free);
|
|
lowest_to_date = free;
|
|
lowest_to_date = free;
|
|
}
|
|
}
|
|
spin_unlock(&low_water_lock);
|
|
spin_unlock(&low_water_lock);
|