lkml.org 
[lkml]   [2010]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] SLUB: Fix memory hotplug with !NUMA
On Wed, 6 Oct 2010, Pekka Enberg wrote:

> This patch fixes the following build breakage when memory hotplug is enabled on
> UMA configurations:

Hum? That works?

> diff --git a/mm/slub.c b/mm/slub.c
> index fe536d3..8fd5401 100644
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -2851,7 +2851,7 @@ int kmem_cache_shrink(struct kmem_cache *s)
> }
> EXPORT_SYMBOL(kmem_cache_shrink);
>
> -#if defined(CONFIG_NUMA) && defined(CONFIG_MEMORY_HOTPLUG)
> +#if defined(CONFIG_MEMORY_HOTPLUG)
> static int slab_mem_going_offline_callback(void *arg)
> {
> struct kmem_cache *s;
>

Acked-by: Christoph Lameter <cl@linux.com>



\
 
 \ /
  Last update: 2010-10-06 18:05    [W:2.464 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site