Re: [PATCH 2/2] add kernel param to force disable module load

From: Rusty Russell
Date: Thu Feb 02 2012 - 22:16:18 EST


On Wed, 1 Feb 2012 10:33:14 +0800, Dave Young <dyoung@xxxxxxxxxx> wrote:
> Sometimes we need to test a kernel of same version with code or config
> option changes.
>
> We already have sysctl to disable module load, but add a kernel
> parameter will be more convenient.
>
> Since modules_disabled is int, so here use bint type in core_param.
> TODO: make sysctl accept bool and change modules_disabled to bool

Both applied.

Thanks!
Rusty.
--
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/