From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756364Ab3JHKOT (ORCPT ); Tue, 8 Oct 2013 06:14:19 -0400 Received: from mail-ee0-f48.google.com ([74.125.83.48]:44788 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756295Ab3JHKOE (ORCPT ); Tue, 8 Oct 2013 06:14:04 -0400 Date: Tue, 8 Oct 2013 12:13:58 +0200 From: Ingo Molnar To: "Kirill A. Shutemov" Cc: Andrew Morton , Peter Zijlstra , Alex Thorlton , Ingo Molnar , 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 Subject: Re: [PATCHv5 00/11] split page table lock for PMD tables Message-ID: <20131008101358.GA8852@gmail.com> References: <1381154053-4848-1-git-send-email-kirill.shutemov@linux.intel.com> <20131007160907.3a4aca3e7eae404767ed3a8e@linux-foundation.org> <20131008084927.BC193E0090@blue.fi.intel.com> <20131008090408.GF3295@gmail.com> <20131008095006.85E1DE0090@blue.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131008095006.85E1DE0090@blue.fi.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Kirill A. Shutemov wrote: > Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > > What must arch maintainers do to enable it? Have you any particular > > > > suggestions, warnings etc to make their lives easier? > > > > > > The last patch is a good illustration what need to be done. It's very > > > straight forward, I don't see any pitfalls. > > > > Might make sense to stick that somewhere into Documentation/mm/, to make > > arch maintainers feel all warm and fuzzy if they look into enabling this > > feature on their architecture. > > I want to rework code around page->ptl a bit more: > - allow pgtable_page_ctor() to fail and modify callers to handle it; > - if sizeof(spinlock_t) > sizeof(long) allocate the spinlock_t > dynamically. > > It will allow to use split lock with DEBUG_SPINLOCK and DEBUG_LOCK_ALLOC. > And it will make -rt guys happier. ;) > > After that I'll document it. Does it work for you? Sounds nice to me! Thanks, Ingo