From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by kanga.kvack.org (Postfix) with ESMTP id 904776B0037 for ; Tue, 8 Oct 2013 05:50:28 -0400 (EDT) Received: by mail-pa0-f54.google.com with SMTP id kx10so8674015pab.27 for ; Tue, 08 Oct 2013 02:50:28 -0700 (PDT) From: "Kirill A. Shutemov" In-Reply-To: <20131008090408.GF3295@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> Subject: Re: [PATCHv5 00/11] split page table lock for PMD tables Content-Transfer-Encoding: 7bit Message-Id: <20131008095006.85E1DE0090@blue.fi.intel.com> Date: Tue, 8 Oct 2013 12:50:06 +0300 (EEST) Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: "Kirill A. Shutemov" , 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 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? -- Kirill A. Shutemov -- 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