Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759466AbZJHTXe (ORCPT ); Thu, 8 Oct 2009 15:23:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755449AbZJHTXe (ORCPT ); Thu, 8 Oct 2009 15:23:34 -0400 Received: from tomts43-srv.bellnexxia.net ([209.226.175.110]:49906 "EHLO tomts43-srv.bellnexxia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750925AbZJHTXd (ORCPT ); Thu, 8 Oct 2009 15:23:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqwEAH/UzUpMROOX/2dsb2JhbACBUtkOhCoE Date: Thu, 8 Oct 2009 15:17:54 -0400 From: Mathieu Desnoyers To: Christoph Lameter Cc: Peter Zijlstra , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Pekka Enberg , Tejun Heo , Mel Gorman , mingo@elte.hu Subject: Re: [this_cpu_xx V5 19/19] SLUB: Experimental new fastpath w/o interrupt disable Message-ID: <20091008191754.GA12729@Krystal> References: <20091007124628.GB27363@Krystal> <20091007150257.GA8508@Krystal> <20091007151940.GA10052@Krystal> <1254988350.26976.256.camel@twins> <20091008171750.GA3370@Krystal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.6.27.31-grsec (i686) X-Uptime: 15:17:41 up 51 days, 6:07, 2 users, load average: 0.12, 0.26, 0.22 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 28 * Christoph Lameter (cl@linux-foundation.org) wrote: > On Thu, 8 Oct 2009, Mathieu Desnoyers wrote: > > > Then how do you re-enable preemption in the slow path when you need to > > block ? > > preempt_enable(); > > before the page allocator call and > > preempt_disable(); > > afterwards. > OK, sounds good, Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- 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/