From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id 70AC26B004D for ; Fri, 6 Nov 2009 14:14:55 -0500 (EST) Date: Fri, 6 Nov 2009 20:14:48 +0100 From: Andi Kleen Subject: Re: [RFC MM] mmap_sem scaling: only scan cpus used by an mm Message-ID: <20091106191448.GD819@basil.fritz.box> References: <87r5sc7kst.fsf@basil.nowhere.org> <20091106073946.GV31511@one.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: Andi Kleen , npiggin@suse.de, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tejun Heo , Ingo Molnar , KAMEZAWA Hiroyuki , "hugh.dickins@tiscali.co.uk" List-ID: On Fri, Nov 06, 2009 at 01:53:35PM -0500, Christoph Lameter wrote: > One way to reduce the cost of the writer lock is to track the cpus used > and loop over the processors in that bitmap. Can't you use the same mask as is used for TLB flushing? -Andi -- 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/ . Don't email: email@kvack.org