Messages in this thread | | | Date | Tue, 1 Jun 2004 00:16:32 -0700 | From | Andrew Morton <> | Subject | Re: [patch 2.6.7-rc2] Add const to some scheduling functions |
| |
Keith Owens <kaos@ocs.com.au> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |