[Crash-utility] Re: [PATCH 3/3] Remove CONFIG_STRICT_DEVMEM

Alan Cox alan at lxorguk.ukuu.org.uk
Sun Nov 16 15:09:01 UTC 2008


> -#ifdef CONFIG_STRICT_DEVMEM
> -
>  int devmem_restricted = 1;
>  
> -#if defined(CONFIG_SYSCTL) && defined(CONFIG_STRICT_DEVMEM)
> +#if defined(CONFIG_SYSCTL)
>  	/*
>  	 * since there is no unload function, we don't have to deregister that
>  	 * the whole lifetime of the kernel and can ignore the return value

NAK - this adds a pile of memory wasting complete crap to every kernel
including embedded systems. At least before you could turn it off now you
can't.




More information about the Crash-utility mailing list