Re: re-inline sched functions

From: Ingo Molnar
Date: Fri Mar 11 2005 - 04:34:12 EST



* Chen, Kenneth W <kenneth.w.chen@xxxxxxxxx> wrote:

> # size vmlinux.*
> text data bss dec hex filename
> 3261844 717184 262020 4241048 40b698 vmlinux.x86.orig
> 3262772 717488 262020 4242280 40bb68 vmlinux.x86.inline

> Possible we can introduce them back?

> -static unsigned int task_timeslice(task_t *p)
> +static inline unsigned int task_timeslice(task_t *p)

the patch looks good except this one - could you try to undo it and
re-measure? task_timeslice() is not used in any true fastpath, if it
makes any difference then the performance difference must be some other
artifact.

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/