Re: [PATCH v2 04/12] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION
From: Kirill A. Shutemov
Date: Fri Nov 11 2016 - 06:19:13 EST
On Tue, Nov 08, 2016 at 08:31:49AM +0900, Naoya Horiguchi wrote:
> +static inline bool thp_migration_supported(void)
> +{
> +#ifdef CONFIG_ARCH_ENABLE_THP_MIGRATION
> + return true;
> +#else
> + return false;
> +#endif
Em..
return IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION);
?
Otherwise looks good to me.
--
Kirill A. Shutemov