From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by kanga.kvack.org (Postfix) with ESMTP id 049FF6B0032 for ; Tue, 8 Oct 2013 06:14:05 -0400 (EDT) Received: by mail-pd0-f176.google.com with SMTP id q10so8477761pdj.21 for ; Tue, 08 Oct 2013 03:14:05 -0700 (PDT) Received: by mail-ee0-f44.google.com with SMTP id b47so3907010eek.3 for ; Tue, 08 Oct 2013 03:14:02 -0700 (PDT) Date: Tue, 8 Oct 2013 12:13:58 +0200 From: Ingo Molnar 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> Sender: owner-linux-mm@kvack.org List-ID: 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 * 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 -- 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