Re: [PATCH]include/linux/threads.h : Removes extra checkingCONFIG_BASE_SMALL

From: Ingo Molnar
Date: Wed Jun 18 2008 - 07:41:20 EST



* Rakib Mullick <rakib.mullick@xxxxxxxxx> wrote:

> In existing code for defining PID_MAX_DEFAULT and PID_MAX_LIMIT,a
> check for CONFIG_BASE_SMALL has been made twice. This patch reduces an
> extra checking.

hm, why should we do this change? The compiler will optimize away the
check and it's cleaner without an extra #ifdef.

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