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

From: Ingo Molnar
Date: Tue Oct 08 2013 - 06:14:23 EST



* Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> wrote:

> Ingo Molnar wrote:
> >
> > * Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/