Kirill A. Shutemov wrote: > diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h > index 99f19e850d..498a75b96f 100644 > --- a/include/linux/mm_types.h > +++ b/include/linux/mm_types.h > @@ -24,6 +24,9 @@ > struct address_space; > > #define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS) > +/* hugetlb hasn't converted to split locking yet */ > +#define USE_SPLIT_PMD_PTLOCKS (USE_SPLIT_PTE_PTLOCKS && \ > + IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK)) I forgot to drop the comment here. It's not valid anymore. -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>