Re: [PATCH 02/10] mm: make slab_common.c explicitly non-modular

From: Christoph Lameter
Date: Tue Aug 25 2015 - 10:59:51 EST


On Mon, 24 Aug 2015, Paul Gortmaker wrote:

> @@ -1113,7 +1113,7 @@ static int __init slab_proc_init(void)
> &proc_slabinfo_operations);
> return 0;
> }
> -module_init(slab_proc_init);
> +device_initcall(slab_proc_init);
> #endif /* CONFIG_SLABINFO */
>
> static __always_inline void *__do_krealloc(const void *p, size_t new_size,

True memory management is not a module. But its also not a device.

--
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/