Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752667Ab0FGQjj (ORCPT ); Mon, 7 Jun 2010 12:39:39 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:58603 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751837Ab0FGQji (ORCPT ); Mon, 7 Jun 2010 12:39:38 -0400 Subject: Re: [PATCH 00/28] mm: preemptibility -v3 From: Peter Zijlstra To: Andi Kleen Cc: Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@firstfloor.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Benjamin Herrenschmidt , David Miller , Hugh Dickins , Mel Gorman , Nick Piggin , "Paul E. McKenney" In-Reply-To: <87hble6brb.fsf@basil.nowhere.org> References: <20100607110654.606530953@chello.nl> <87hble6brb.fsf@basil.nowhere.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 07 Jun 2010 18:39:31 +0200 Message-ID: <1275928771.1645.572.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 19 On Mon, 2010-06-07 at 18:36 +0200, Andi Kleen wrote: > Peter Zijlstra writes: > > > This patch-set makes part of the mm a lot more preemptible. It converts > > i_mmap_lock and anon_vma->lock to mutexes and makes mmu_gather fully > > preemptible. > > How about performance measurements? mutexes still behave quite > differently from spinlocks, especially under contention. What's your favourite benchmark to stress i_mmap_mutex/anon_vma->lock? a cache-hot kernel build didn't really show a difference.. -- 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/