From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755355Ab3JHJ41 (ORCPT ); Tue, 8 Oct 2013 05:56:27 -0400 Received: from merlin.infradead.org ([205.233.59.134]:60186 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754800Ab3JHJ40 (ORCPT ); Tue, 8 Oct 2013 05:56:26 -0400 Date: Tue, 8 Oct 2013 11:56:02 +0200 From: Peter Zijlstra 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 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> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.