* Concurrent Kconfig renaming, impacting your commit "drm/pagemap: Guard HPAGE_PMD_ORDER use with CONFIG_ARCH_ENABLE_THP_MIGRATION"
@ 2026-07-23 7:12 Lukas Bulwahn
2026-07-23 19:42 ` Matthew Brost
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2026-07-23 7:12 UTC (permalink / raw)
To: Matthew Brost; +Cc: dri-devel, Linux Kernel Mailing List
Hi Matthew,
I noticed that the commit 0b6b1bb28482 ("mm: rename
ARCH_ENABLE_THP_MIGRATION to ARCH_HAS_PMD_SOFTLEAVES") on linux-next
renames the config option ARCH_ENABLE_THP_MIGRATION, which is referred
to in this recent commit 04b177544a040 ("drm/pagemap: Guard
HPAGE_PMD_ORDER use with CONFIG_ARCH_ENABLE_THP_MIGRATION").
You might want to have a look at that.
Best regards,
Lukas
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Concurrent Kconfig renaming, impacting your commit "drm/pagemap: Guard HPAGE_PMD_ORDER use with CONFIG_ARCH_ENABLE_THP_MIGRATION"
2026-07-23 7:12 Concurrent Kconfig renaming, impacting your commit "drm/pagemap: Guard HPAGE_PMD_ORDER use with CONFIG_ARCH_ENABLE_THP_MIGRATION" Lukas Bulwahn
@ 2026-07-23 19:42 ` Matthew Brost
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Brost @ 2026-07-23 19:42 UTC (permalink / raw)
To: Lukas Bulwahn; +Cc: dri-devel, Linux Kernel Mailing List
On Thu, Jul 23, 2026 at 09:12:26AM +0200, Lukas Bulwahn wrote:
> Hi Matthew,
>
> I noticed that the commit 0b6b1bb28482 ("mm: rename
> ARCH_ENABLE_THP_MIGRATION to ARCH_HAS_PMD_SOFTLEAVES") on linux-next
> renames the config option ARCH_ENABLE_THP_MIGRATION, which is referred
> to in this recent commit 04b177544a040 ("drm/pagemap: Guard
> HPAGE_PMD_ORDER use with CONFIG_ARCH_ENABLE_THP_MIGRATION").
>
> You might want to have a look at that.
>
Thanks, I saw some discussion on a linux-next merge conflict about this.
I think I can just do this in DRM to avoid the conflict + work with and
without 0b6b1bb28482.
-#if IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION)
+#if IS_ENABLED(CONFIG_PGTABLE_HAS_HUGE_LEAVES)
#define DRM_PAGEMAP_PMD_ORDER HPAGE_PMD_ORDER
#else
#define DRM_PAGEMAP_PMD_ORDER (-1)
Need to look at linux-next or core MM branches to confirm before I
post anything though to confirm.
Matt
> Best regards,
>
> Lukas
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-23 19:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 7:12 Concurrent Kconfig renaming, impacting your commit "drm/pagemap: Guard HPAGE_PMD_ORDER use with CONFIG_ARCH_ENABLE_THP_MIGRATION" Lukas Bulwahn
2026-07-23 19:42 ` Matthew Brost
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®