Re: [PATCHv5 00/11] split page table lock for PMD tables

Peter Zijlstra
2013-10-08T09:56:27Z

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.