Re: [PATCH 3/3] comm: ext4: Protect task->comm access by using%ptc

From: David Rientjes
Date: Thu May 12 2011 - 18:14:40 EST


On Tue, 10 May 2011, John Stultz wrote:

> Converts ext4 comm access to use the safe printk %ptc accessor.
>
> CC: Ted Ts'o <tytso@xxxxxxx>
> CC: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> CC: David Rientjes <rientjes@xxxxxxxxxx>
> CC: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> CC: linux-mm@xxxxxxxxx
> Signed-off-by: John Stultz <john.stultz@xxxxxxxxxx>

I like how this patch illustrates how easy it is to use the new method for
printing a task's command, but it would probably be easier to get the
first two patches in the series (those that add the seqlock and then %ptc)
merged in mainline and then break out a series of conversions such as this
that could go through the individual maintainer's trees.
--
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/