From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx173.postini.com [74.125.245.173]) by kanga.kvack.org (Postfix) with SMTP id 2A1BC6B0044 for ; Sun, 29 Apr 2012 10:00:15 -0400 (EDT) Message-ID: <1335708011.28106.245.camel@gandalf.stny.rr.com> Subject: Re: [PATCH 01/14] sysctl: provide callback for write into ctl_table entry From: Steven Rostedt Date: Sun, 29 Apr 2012 10:00:11 -0400 In-Reply-To: References: <1335681937-3715-1-git-send-email-levinsasha928@gmail.com> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Sasha Levin Cc: "Eric W. Biederman" , viro@zeniv.linux.org.uk, fweisbec@gmail.com, mingo@redhat.com, a.p.zijlstra@chello.nl, paulus@samba.org, acme@ghostprotocols.net, james.l.morris@oracle.com, akpm@linux-foundation.org, tglx@linutronix.de, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org On Sun, 2012-04-29 at 14:07 +0200, Sasha Levin wrote: > On Sun, Apr 29, 2012 at 10:22 AM, Eric W. Biederman > Exactly twp of the patches (out of 14) are taking updates out of > locks. I'm quite sure that doing that in the ftrace case is perfectly > fine, and I'll take a second look at the sched-rt one since there > indeed might be a race caused due to the patch that I've missed. The update of ftrace_enable must be done under the ftrace_lock mutex. With the exception of ftrace_kill() which is a one shot deal that kills ftrace updates until a reboot. -- Steve -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org