Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932812Ab3IMOZZ (ORCPT ); Fri, 13 Sep 2013 10:25:25 -0400 Received: from mga09.intel.com ([134.134.136.24]:45707 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932247Ab3IMOZX (ORCPT ); Fri, 13 Sep 2013 10:25:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,898,1371106800"; d="scan'208";a="402870701" From: "Kirill A. Shutemov" To: Peter Zijlstra Cc: "Kirill A. Shutemov" , Alex Thorlton , Ingo Molnar , Andrew Morton , Naoya Horiguchi , "Eric W . Biederman" , "Paul E . McKenney" , Al Viro , Andi Kleen , Andrea Arcangeli , Dave Hansen , Dave Jones , David Howells , Frederic Weisbecker , Johannes Weiner , Kees Cook , Mel Gorman , Michael Kerrisk , Oleg Nesterov , Rik van Riel , Robin Holt , Sedat Dilek , Srikar Dronamraju , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: <20130913132435.GD21832@twins.programming.kicks-ass.net> References: <20130910074748.GA2971@gmail.com> <1379077576-2472-1-git-send-email-kirill.shutemov@linux.intel.com> <1379077576-2472-9-git-send-email-kirill.shutemov@linux.intel.com> <20130913132435.GD21832@twins.programming.kicks-ass.net> Subject: Re: [PATCH 8/9] mm: implement split page table lock for PMD level Content-Transfer-Encoding: 7bit Message-Id: <20130913142513.A62ABE0090@blue.fi.intel.com> Date: Fri, 13 Sep 2013 17:25:13 +0300 (EEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 782 Lines: 21 Peter Zijlstra wrote: > On Fri, Sep 13, 2013 at 04:06:15PM +0300, Kirill A. Shutemov wrote: > > The basic idea is the same as with PTE level: the lock is embedded into > > struct page of table's page. > > > > Split pmd page table lock only makes sense on big machines. > > Let's say >= 32 CPUs for now. > > Why is this? Couldn't I generate the same amount of contention on PMD > level as I can on PTE level in the THP case? Hm. You are right. You just need more memory for that. Do you want it to be "4" too? -- Kirill A. Shutemov -- 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/