Re: [patch 2.6.7-rc2] Add const to some scheduling functions

From: Andrew Morton
Date: Tue Jun 01 2004 - 02:19:12 EST


Keith Owens <kaos@xxxxxxxxxx> wrote:
>
> Several scheduler macros only read from the task struct, mark them
> const. It can generate better code.

It makes no change to the gcc-3.4.0-compiled x86 kernel's size. Under what
circumstances did you see improvements?
-
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/