From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: [PATCH -rt] memcg: use migrate_disable()/migrate_enable( ) in memcg_check_events() Date: Wed, 16 Nov 2011 19:23:43 -0500 Message-ID: <1321489423.4181.41.camel@frodo> References: <20111115084059.GA23250@zhy> <20111116091653.GA8692@zhy> <1321452758.4181.18.camel@frodo> <20111116171809.GA1999@hades> <20111117084814.0e6b8169.kamezawa.hiroyu@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Luis Henriques , Thomas Gleixner , Yong Zhang , LKML , linux-rt-users , Peter Zijlstra To: KAMEZAWA Hiroyuki Return-path: Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:44518 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753962Ab1KQAXr (ORCPT ); Wed, 16 Nov 2011 19:23:47 -0500 In-Reply-To: <20111117084814.0e6b8169.kamezawa.hiroyu@jp.fujitsu.com> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Thu, 2011-11-17 at 08:48 +0900, KAMEZAWA Hiroyuki wrote: > > I run a quick test and it looks like the problem is gone. > > > > Cheers, > > Could you CC the final patch to cgroups@vger.kernel.org ? > Does this fix will go thorugh rt tree rather than -mm ? This particular fix only goes through the rt tree because it is only a bug when full rt is enabled. When rt is enabled, spin_locks become mutexes, and thus can not be used when preemption is disabled. The rt tree introduced a local_lock() to remove open coded preempt disabling and also to help annotate places that need per cpu protections. -- Steve