* mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE)
@ 2010-09-09 15:10 Sedat Dilek
2010-09-09 15:15 ` Sedat Dilek
2010-09-09 15:23 ` Randy Dunlap
0 siblings, 2 replies; 5+ messages in thread
From: Sedat Dilek @ 2010-09-09 15:10 UTC (permalink / raw)
To: LKML, linux-mm
Hi,
while build latest 2.6.36-rc3 I get this warning:
[ build.log]
...
warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects
MIGRATION which has unmet direct dependencies (NUMA ||
ARCH_ENABLE_MEMORY_HOTREMOVE)
...
Here the excerpt of...
[ mm/Kconfig ]
...
# support for memory compaction
config COMPACTION
bool "Allow for memory compaction"
select MIGRATION
depends on EXPERIMENTAL && HUGETLB_PAGE && MMU
help
Allows the compaction of memory for the allocation of huge pages.
...
I have set the following kernel-config parameters:
$ egrep 'COMPACTION|HUGETLB_PAGE|MMU|MIGRATION|NUMA|ARCH_ENABLE_MEMORY_HOTREMOVE'
linux-2.6.36-rc3/debian/build/build_i386_none_686/.config
CONFIG_MMU=y
# CONFIG_IOMMU_HELPER is not set
CONFIG_IOMMU_API=y
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_MMU_NOTIFIER=y
CONFIG_HUGETLB_PAGE=y
# CONFIG_IOMMU_STRESS is not set
Looks like I have no NUMA or ARCH_ENABLE_MEMORY_HOTREMOVE set.
Ok, it is a *warning*...
Kind Regards,
- Sedat -
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE)
2010-09-09 15:10 mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE) Sedat Dilek
@ 2010-09-09 15:15 ` Sedat Dilek
2010-09-09 15:23 ` Randy Dunlap
1 sibling, 0 replies; 5+ messages in thread
From: Sedat Dilek @ 2010-09-09 15:15 UTC (permalink / raw)
To: LKML, linux-mm
Argh, forgot...
[ mm/Kconfig ]
...
#
# support for page migration
#
config MIGRATION
bool "Page migration"
def_bool y
depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE
help
Allows the migration of the physical location of pages of processes
while the virtual addresses are not changed. This is useful in
two situations. The first is on NUMA systems to put pages nearer
to the processors accessing. The second is when allocating huge
pages as migration can relocate pages to satisfy a huge page
allocation instead of reclaiming.
...
- Sedat -
On Thu, Sep 9, 2010 at 5:10 PM, Sedat Dilek <sedat.dilek@googlemail.com> wrote:
> Hi,
>
> while build latest 2.6.36-rc3 I get this warning:
>
> [ build.log]
> ...
> warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects
> MIGRATION which has unmet direct dependencies (NUMA ||
> ARCH_ENABLE_MEMORY_HOTREMOVE)
> ...
>
> Here the excerpt of...
>
> [ mm/Kconfig ]
> ...
> # support for memory compaction
> config COMPACTION
> bool "Allow for memory compaction"
> select MIGRATION
> depends on EXPERIMENTAL && HUGETLB_PAGE && MMU
> help
> Allows the compaction of memory for the allocation of huge pages.
> ...
>
> I have set the following kernel-config parameters:
>
> $ egrep 'COMPACTION|HUGETLB_PAGE|MMU|MIGRATION|NUMA|ARCH_ENABLE_MEMORY_HOTREMOVE'
> linux-2.6.36-rc3/debian/build/build_i386_none_686/.config
> CONFIG_MMU=y
> # CONFIG_IOMMU_HELPER is not set
> CONFIG_IOMMU_API=y
> CONFIG_COMPACTION=y
> CONFIG_MIGRATION=y
> CONFIG_MMU_NOTIFIER=y
> CONFIG_HUGETLB_PAGE=y
> # CONFIG_IOMMU_STRESS is not set
>
> Looks like I have no NUMA or ARCH_ENABLE_MEMORY_HOTREMOVE set.
>
> Ok, it is a *warning*...
>
> Kind Regards,
> - Sedat -
>
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE)
2010-09-09 15:10 mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE) Sedat Dilek
2010-09-09 15:15 ` Sedat Dilek
@ 2010-09-09 15:23 ` Randy Dunlap
2010-09-09 16:05 ` Sedat Dilek
2010-09-09 16:16 ` Sedat Dilek
1 sibling, 2 replies; 5+ messages in thread
From: Randy Dunlap @ 2010-09-09 15:23 UTC (permalink / raw)
To: sedat.dilek; +Cc: Sedat Dilek, LKML, linux-mm
On Thu, 9 Sep 2010 17:10:34 +0200 Sedat Dilek wrote:
> Hi,
>
> while build latest 2.6.36-rc3 I get this warning:
>
> [ build.log]
> ...
> warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects
> MIGRATION which has unmet direct dependencies (NUMA ||
> ARCH_ENABLE_MEMORY_HOTREMOVE)
> ...
>
> Here the excerpt of...
>
> [ mm/Kconfig ]
> ...
> # support for memory compaction
> config COMPACTION
> bool "Allow for memory compaction"
> select MIGRATION
> depends on EXPERIMENTAL && HUGETLB_PAGE && MMU
> help
> Allows the compaction of memory for the allocation of huge pages.
> ...
>
> I have set the following kernel-config parameters:
>
> $ egrep 'COMPACTION|HUGETLB_PAGE|MMU|MIGRATION|NUMA|ARCH_ENABLE_MEMORY_HOTREMOVE'
> linux-2.6.36-rc3/debian/build/build_i386_none_686/.config
> CONFIG_MMU=y
> # CONFIG_IOMMU_HELPER is not set
> CONFIG_IOMMU_API=y
> CONFIG_COMPACTION=y
> CONFIG_MIGRATION=y
> CONFIG_MMU_NOTIFIER=y
> CONFIG_HUGETLB_PAGE=y
> # CONFIG_IOMMU_STRESS is not set
>
> Looks like I have no NUMA or ARCH_ENABLE_MEMORY_HOTREMOVE set.
>
> Ok, it is a *warning*...
Andrea Arcangeli posted a patch for this on linux-mm on 2010-SEP-03.
(below)
---
From: Andrea Arcangeli <aarcange@redhat.com>
COMPACTION enables MIGRATION, but MIGRATION spawns a warning if numa
or memhotplug aren't selected. However MIGRATION doesn't depend on
them. I guess it's just trying to be strict doing a double check on
who's enabling it, but it doesn't know that compaction also enables
MIGRATION.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
---
diff --git a/mm/Kconfig b/mm/Kconfig
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -189,7 +189,7 @@ config COMPACTION
config MIGRATION
bool "Page migration"
def_bool y
- depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE
+ depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION
help
Allows the migration of the physical location of pages of processes
while the virtual addresses are not changed. This is useful in
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE)
2010-09-09 15:23 ` Randy Dunlap
@ 2010-09-09 16:05 ` Sedat Dilek
2010-09-09 16:16 ` Sedat Dilek
1 sibling, 0 replies; 5+ messages in thread
From: Sedat Dilek @ 2010-09-09 16:05 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, linux-mm
Hey Randy!
thanks for the quick response... wanted to start a new build :-).
- Sedat -
On Thu, Sep 9, 2010 at 5:23 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> On Thu, 9 Sep 2010 17:10:34 +0200 Sedat Dilek wrote:
>
>> Hi,
>>
>> while build latest 2.6.36-rc3 I get this warning:
>>
>> [ build.log]
>> ...
>> warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects
>> MIGRATION which has unmet direct dependencies (NUMA ||
>> ARCH_ENABLE_MEMORY_HOTREMOVE)
>> ...
>>
>> Here the excerpt of...
>>
>> [ mm/Kconfig ]
>> ...
>> # support for memory compaction
>> config COMPACTION
>> bool "Allow for memory compaction"
>> select MIGRATION
>> depends on EXPERIMENTAL && HUGETLB_PAGE && MMU
>> help
>> Allows the compaction of memory for the allocation of huge pages.
>> ...
>>
>> I have set the following kernel-config parameters:
>>
>> $ egrep 'COMPACTION|HUGETLB_PAGE|MMU|MIGRATION|NUMA|ARCH_ENABLE_MEMORY_HOTREMOVE'
>> linux-2.6.36-rc3/debian/build/build_i386_none_686/.config
>> CONFIG_MMU=y
>> # CONFIG_IOMMU_HELPER is not set
>> CONFIG_IOMMU_API=y
>> CONFIG_COMPACTION=y
>> CONFIG_MIGRATION=y
>> CONFIG_MMU_NOTIFIER=y
>> CONFIG_HUGETLB_PAGE=y
>> # CONFIG_IOMMU_STRESS is not set
>>
>> Looks like I have no NUMA or ARCH_ENABLE_MEMORY_HOTREMOVE set.
>>
>> Ok, it is a *warning*...
>
>
> Andrea Arcangeli posted a patch for this on linux-mm on 2010-SEP-03.
> (below)
>
> ---
> From: Andrea Arcangeli <aarcange@redhat.com>
>
> COMPACTION enables MIGRATION, but MIGRATION spawns a warning if numa
> or memhotplug aren't selected. However MIGRATION doesn't depend on
> them. I guess it's just trying to be strict doing a double check on
> who's enabling it, but it doesn't know that compaction also enables
> MIGRATION.
>
> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
> ---
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -189,7 +189,7 @@ config COMPACTION
> config MIGRATION
> bool "Page migration"
> def_bool y
> - depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE
> + depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION
> help
> Allows the migration of the physical location of pages of processes
> while the virtual addresses are not changed. This is useful in
>
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE)
2010-09-09 15:23 ` Randy Dunlap
2010-09-09 16:05 ` Sedat Dilek
@ 2010-09-09 16:16 ` Sedat Dilek
1 sibling, 0 replies; 5+ messages in thread
From: Sedat Dilek @ 2010-09-09 16:16 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, linux-mm
On Thu, Sep 9, 2010 at 5:23 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> On Thu, 9 Sep 2010 17:10:34 +0200 Sedat Dilek wrote:
>
>> Hi,
>>
>> while build latest 2.6.36-rc3 I get this warning:
>>
>> [ build.log]
>> ...
>> warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects
>> MIGRATION which has unmet direct dependencies (NUMA ||
>> ARCH_ENABLE_MEMORY_HOTREMOVE)
>> ...
>>
>> Here the excerpt of...
>>
>> [ mm/Kconfig ]
>> ...
>> # support for memory compaction
>> config COMPACTION
>> bool "Allow for memory compaction"
>> select MIGRATION
>> depends on EXPERIMENTAL && HUGETLB_PAGE && MMU
>> help
>> Allows the compaction of memory for the allocation of huge pages.
>> ...
>>
>> I have set the following kernel-config parameters:
>>
>> $ egrep 'COMPACTION|HUGETLB_PAGE|MMU|MIGRATION|NUMA|ARCH_ENABLE_MEMORY_HOTREMOVE'
>> linux-2.6.36-rc3/debian/build/build_i386_none_686/.config
>> CONFIG_MMU=y
>> # CONFIG_IOMMU_HELPER is not set
>> CONFIG_IOMMU_API=y
>> CONFIG_COMPACTION=y
>> CONFIG_MIGRATION=y
>> CONFIG_MMU_NOTIFIER=y
>> CONFIG_HUGETLB_PAGE=y
>> # CONFIG_IOMMU_STRESS is not set
>>
>> Looks like I have no NUMA or ARCH_ENABLE_MEMORY_HOTREMOVE set.
>>
>> Ok, it is a *warning*...
>
>
> Andrea Arcangeli posted a patch for this on linux-mm on 2010-SEP-03.
> (below)
>
> ---
> From: Andrea Arcangeli <aarcange@redhat.com>
>
> COMPACTION enables MIGRATION, but MIGRATION spawns a warning if numa
> or memhotplug aren't selected. However MIGRATION doesn't depend on
> them. I guess it's just trying to be strict doing a double check on
> who's enabling it, but it doesn't know that compaction also enables
> MIGRATION.
>
> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
> ---
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -189,7 +189,7 @@ config COMPACTION
> config MIGRATION
> bool "Page migration"
> def_bool y
> - depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE
> + depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION
> help
> Allows the migration of the physical location of pages of processes
> while the virtual addresses are not changed. This is useful in
>
Below is the URL for...
"[PATCH] avoid warning when COMPACTION is selected"
- Sedat -
[1] http://marc.info/?l=linux-mm&m=128352833826498&w=2
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-09-09 16:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-09 15:10 mm/Kconfig: warning: (COMPACTION && EXPERIMENTAL && HUGETLB_PAGE && MMU) selects MIGRATION which has unmet direct dependencies (NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE) Sedat Dilek
2010-09-09 15:15 ` Sedat Dilek
2010-09-09 15:23 ` Randy Dunlap
2010-09-09 16:05 ` Sedat Dilek
2010-09-09 16:16 ` Sedat Dilek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox