Re: [PATCHv2 0/9] split page table lock for PMD tables

From: Kirill A. Shutemov
Date: Mon Sep 16 2013 - 08:12:15 EST


Peter Zijlstra wrote:
> > - reuse CONFIG_SPLIT_PTLOCK_CPUS for PMD split lock;
>
> So why is there still CONFIG_SPLIT_PTE_PTLOCK and
> CONFIG_SPLIT_PMD_PTLOCK in the series?

There is not.

We have USE_SPLIT_{PTE,PMD}_PTLOCK. We can't use split pmd lock everywhere
split pte lock is available: it requires separate enabling on arch side
and will not work on all hardware (i.e. with 2-level page table
configuration).

--
Kirill A. Shutemov
--
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/