Re: [PATCH: 011/017]Memory hotplug for new nodes v.4.(start kswapd)

From: Dave Hansen
Date: Fri Mar 17 2006 - 12:54:30 EST


On Fri, 2006-03-17 at 17:22 +0900, Yasunori Goto wrote
> +#ifdef CONFIG_MEMORY_HOTPLUG
> +/* start new kswapd for new node */
> +extern int kswapd_run(int nid);
> +#endif

I'd move this code down to where you actually use the extern. I'd also
take the #ifdef out. It won't hurt anything to have the extern there
all the time.

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/