From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by kanga.kvack.org (Postfix) with ESMTP id F1FFC6B0039 for ; Tue, 8 Oct 2013 05:56:18 -0400 (EDT) Received: by mail-pa0-f48.google.com with SMTP id bj1so8460798pad.7 for ; Tue, 08 Oct 2013 02:56:18 -0700 (PDT) Date: Tue, 8 Oct 2013 11:56:02 +0200 From: Peter Zijlstra Subject: Re: [PATCHv5 00/11] split page table lock for PMD tables Message-ID: <20131008095602.GR3081@twins.programming.kicks-ass.net> 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: Ingo Molnar , Andrew Morton , 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 On Tue, Oct 08, 2013 at 12:50:06PM +0300, Kirill A. Shutemov wrote: > 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. ;) Oh yes, if you've got the time to do that, that would be great. It would reduce the -rt patch by one ugly hack. -- 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