From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx203.postini.com [74.125.245.203]) by kanga.kvack.org (Postfix) with SMTP id 283476B004A for ; Fri, 24 Feb 2012 12:08:44 -0500 (EST) Date: Fri, 24 Feb 2012 11:08:41 -0600 (CST) From: Christoph Lameter Subject: Re: [RFC][PATCH] fix move/migrate_pages() race on task struct In-Reply-To: Message-ID: References: <20120223180740.C4EC4156@kernel> <4F468F09.5050200@linux.vnet.ibm.com> <4F469BC7.50705@linux.vnet.ibm.com> <4F47BF56.6010602@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: "Eric W. Biederman" , linux-kernel@vger.kernel.org, linux-mm@kvack.org Oh and another thing. There are certain functions that are now called under rcu read lock() security_task_movememory and cpuset_mems_allowed cpuset_mems_allowed takes a mutex. Hmmm... Under rcu? security_task_movememory does some kind of security hook. Is that all safe? If not then we need to take a refcount on the task struct after all. -- 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