Thread (71 messages) 71 messages, 10 authors, 2017-02-03

Re: [PATCH v2 04/12] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION

From: Naoya Horiguchi <hidden>
Date: 2016-11-15 04:00:35
Also in: lkml

On Fri, Nov 11, 2016 at 02:18:40PM +0300, Kirill A. Shutemov wrote:
On Tue, Nov 08, 2016 at 08:31:49AM +0900, Naoya Horiguchi wrote:
quoted
+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);
Looks better, thank you.

- Naoya
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help