Message ID | 20220210072828.2930359-15-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/27] mm: remove a pointless CONFIG_ZONE_DEVICE check in memremap_pages | expand |
Thanks, it's also better than more stubbed functions. Reviewed-by: Alistair Popple <apopple@nvidia.com> On Thursday, 10 February 2022 6:28:15 PM AEDT Christoph Hellwig wrote: > This code will be used for device coherent memory as well in a bit, > so relax the ifdef a bit. > > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > mm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/Kconfig b/mm/Kconfig > index 6391d8d3a616f3..95d4aa3acaefe0 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -250,7 +250,7 @@ config MIGRATION > allocation instead of reclaiming. > > config DEVICE_MIGRATION > - def_bool MIGRATION && DEVICE_PRIVATE > + def_bool MIGRATION && ZONE_DEVICE > > config ARCH_ENABLE_HUGEPAGE_MIGRATION > bool >
diff --git a/mm/Kconfig b/mm/Kconfig index 6391d8d3a616f3..95d4aa3acaefe0 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -250,7 +250,7 @@ config MIGRATION allocation instead of reclaiming. config DEVICE_MIGRATION - def_bool MIGRATION && DEVICE_PRIVATE + def_bool MIGRATION && ZONE_DEVICE config ARCH_ENABLE_HUGEPAGE_MIGRATION bool
This code will be used for device coherent memory as well in a bit, so relax the ifdef a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)