Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758851Ab1ELW3u (ORCPT ); Thu, 12 May 2011 18:29:50 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:53751 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756563Ab1ELW3s (ORCPT ); Thu, 12 May 2011 18:29:48 -0400 Subject: Re: [PATCH 3/3] comm: ext4: Protect task->comm access by using %ptc From: John Stultz To: David Rientjes Cc: LKML , "Ted Ts'o" , KOSAKI Motohiro , Dave Hansen , Andrew Morton , linux-mm@kvack.org In-Reply-To: References: <1305073386-4810-1-git-send-email-john.stultz@linaro.org> <1305073386-4810-4-git-send-email-john.stultz@linaro.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 12 May 2011 15:29:40 -0700 Message-ID: <1305239380.2680.26.camel@work-vm> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 36 On Thu, 2011-05-12 at 15:14 -0700, David Rientjes wrote: > On Tue, 10 May 2011, John Stultz wrote: > > > Converts ext4 comm access to use the safe printk %ptc accessor. > > > > CC: Ted Ts'o > > CC: KOSAKI Motohiro > > CC: David Rientjes > > CC: Dave Hansen > > CC: Andrew Morton > > CC: linux-mm@kvack.org > > Signed-off-by: John Stultz > > 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. Agreed. I just wanted to show how it would be used compared to the earlier approach. I'll respin the first two patches shortly here. I also need to get the checkpatch bit done. Andrew, should these go upstream through you? thanks -john -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/