Messages in this thread | | | Date | Wed, 6 Oct 2010 11:02:38 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [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>
| |