Re: [PATCH 1/2] treewide: fix memory corruptions when TASK_COMM_LEN!= 16

From: Andrew Morton
Date: Thu Feb 23 2012 - 12:29:33 EST


On Thu, 23 Feb 2012 12:19:28 +0100 (CET) Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:

>
> On Thursday 2012-02-23 10:57, Andrew Morton wrote:
> >>
> But there's more,
> >>
> >> 24931 ? S 0:00 \_ [btrfs-endio-met]
> \_ [kconservative/5]
> \_ [ext4-dio-unwrit]
> >>
> >> [with a wondersome patch:] $ grep Name /proc/{29431,29432}/stat*
> >> /proc/29431/status:Name: btrfs-endio-meta-1
> >> /proc/29432/status:Name: btrfs-endio-meta-write-1
> Name: kconservative/512
> Name: ext4-dio-unwritten
> >
> >doh. The fix for that is to have less clueless btrfs developers.
>
> And truncate their names to SUNWbtfs, ORCLintg and EXT4diou?
> I think not :)

Teach ps(1) to look in /proc/pid/status for kernel threads?
--
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/