[PATCH 5/6] Add checks to detect overlap of memory regions.

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Oct 4 08:24:56 EDT 2009


On Thu, Oct 01, 2009 at 12:49:00PM +0200, Andreas Fenkart wrote:
> +	/*
> +	 * Check boundaries twice: Some fundamental inconsistencies can
> +	 * be detected at build time already.
> +	 */
> +	BUILD_BUG_ON(VMALLOC_START			>= VMALLOC_END);
> +	BUG_ON(VMALLOC_START				>= VMALLOC_END);

This one is now guaranteed by other parts of the code, and doesn't
need to be checked anymore - we enforce a minimum size of 32M for
the vmalloc region now.



More information about the linux-arm-kernel mailing list