linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -mm] enable CONFIG_COMPACTION by default
@ 2012-09-13 20:21 Rik van Riel
  2012-09-13 20:44 ` Rafael Aquini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rik van Riel @ 2012-09-13 20:21 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, Mel Gorman, Andrew Morton

Now that lumpy reclaim has been removed, compaction is the
only way left to free up contiguous memory areas. It is time
to just enable CONFIG_COMPACTION by default.
    
Signed-off-by: Rik van Riel <riel@redhat.com>

diff --git a/mm/Kconfig b/mm/Kconfig
index d5c8019..32ea0ef 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -191,6 +191,7 @@ config SPLIT_PTLOCK_CPUS
 # support for memory compaction
 config COMPACTION
 	bool "Allow for memory compaction"
+	def_bool y
 	select MIGRATION
 	depends on MMU
 	help

--
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 related	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] enable CONFIG_COMPACTION by default
  2012-09-13 20:21 [PATCH -mm] enable CONFIG_COMPACTION by default Rik van Riel
@ 2012-09-13 20:44 ` Rafael Aquini
  2012-09-13 23:13 ` Johannes Weiner
  2012-09-14  0:00 ` Minchan Kim
  2 siblings, 0 replies; 4+ messages in thread
From: Rafael Aquini @ 2012-09-13 20:44 UTC (permalink / raw)
  To: Rik van Riel; +Cc: linux-mm, linux-kernel, Mel Gorman, Andrew Morton

On Thu, Sep 13, 2012 at 04:21:04PM -0400, Rik van Riel wrote:
> Now that lumpy reclaim has been removed, compaction is the
> only way left to free up contiguous memory areas. It is time
> to just enable CONFIG_COMPACTION by default.
>     
> Signed-off-by: Rik van Riel <riel@redhat.com>
> 
> diff --git a/mm/Kconfig b/mm/Kconfig
> index d5c8019..32ea0ef 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -191,6 +191,7 @@ config SPLIT_PTLOCK_CPUS
>  # support for memory compaction
>  config COMPACTION
>  	bool "Allow for memory compaction"
> +	def_bool y
>  	select MIGRATION
>  	depends on MMU
>  	help
>

Acked-by: Rafael Aquini <aquini@redhat.com> 

--
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] 4+ messages in thread

* Re: [PATCH -mm] enable CONFIG_COMPACTION by default
  2012-09-13 20:21 [PATCH -mm] enable CONFIG_COMPACTION by default Rik van Riel
  2012-09-13 20:44 ` Rafael Aquini
@ 2012-09-13 23:13 ` Johannes Weiner
  2012-09-14  0:00 ` Minchan Kim
  2 siblings, 0 replies; 4+ messages in thread
From: Johannes Weiner @ 2012-09-13 23:13 UTC (permalink / raw)
  To: Rik van Riel; +Cc: linux-mm, linux-kernel, Mel Gorman, Andrew Morton

On Thu, Sep 13, 2012 at 04:21:04PM -0400, Rik van Riel wrote:
> Now that lumpy reclaim has been removed, compaction is the
> only way left to free up contiguous memory areas. It is time
> to just enable CONFIG_COMPACTION by default.
>     
> Signed-off-by: Rik van Riel <riel@redhat.com>

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

--
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] 4+ messages in thread

* Re: [PATCH -mm] enable CONFIG_COMPACTION by default
  2012-09-13 20:21 [PATCH -mm] enable CONFIG_COMPACTION by default Rik van Riel
  2012-09-13 20:44 ` Rafael Aquini
  2012-09-13 23:13 ` Johannes Weiner
@ 2012-09-14  0:00 ` Minchan Kim
  2 siblings, 0 replies; 4+ messages in thread
From: Minchan Kim @ 2012-09-14  0:00 UTC (permalink / raw)
  To: Rik van Riel; +Cc: linux-mm, linux-kernel, Mel Gorman, Andrew Morton

Hi Rik,

On Thu, Sep 13, 2012 at 04:21:04PM -0400, Rik van Riel wrote:
> Now that lumpy reclaim has been removed, compaction is the
> only way left to free up contiguous memory areas. It is time
> to just enable CONFIG_COMPACTION by default.
>     
> Signed-off-by: Rik van Riel <riel@redhat.com>

I tried this a few month ago and Mel had a concern on size
bloating (compaction.o + migration.o) where system doesn't
use higher order allocation.

Now that I think about it, admin should configure carefully
and manually if he has a size concern of vmlinux without
depending auto-generating config.
So I really want this.

Acked-by: Minchan Kim <minchan@kernel.org>

-- 
Kind regards,
Minchan Kim

--
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] 4+ messages in thread

end of thread, other threads:[~2012-09-13 23:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13 20:21 [PATCH -mm] enable CONFIG_COMPACTION by default Rik van Riel
2012-09-13 20:44 ` Rafael Aquini
2012-09-13 23:13 ` Johannes Weiner
2012-09-14  0:00 ` Minchan Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).