Re: Bad patch to schedule()

2005-03-12 Thread Roland McGrath
> called from schedule(). The problem with this is that it completely > messes up the register allocation for i386 schedule() because it > does long long arithmetic. This causes gcc to spill everything > else because it needs four registers, and i386 only has 6 usable > ones. The generated code I

Bad patch to schedule()

2005-03-09 Thread Andi Kleen
I just see that this patch went into mainline. [PATCH] posix-timers: high-resolution CPU clocks for POSIX clock_* syscalls This patch provides support for thread and process CPU time clocks in the /* + * This is called on clock ticks and on context switches. + * Bank in p->sched_time the