Messages in this thread | | | Date | Mon, 19 Nov 2007 09:54:24 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] new TSC based delay_tsc() |
| |
* Marin Mitov <mitov@issp.bas.bg> wrote:
> Hi all, > > This is a patch based on the Ingo's idea/patch to track delay_tsc() > migration to another cpu by comparing smp_processor_id(). It is > against kernel-2.6.24-rc3. > > What is different: > 1. Using unsigned (instead of long) to unify for i386/x86_64. > 2. Minimal preempt_disable/enable() critical sections > (more room for preemption) > 3. some statements have been rearranged, to account for > possible under/overflow of left/TSC > > Tested on both: 32/64 bit SMP PREEMPT kernel-2.6.24-rc3 > > Hope it is correct. Comments, please.
thanks! The changes look certainly good to me.
> Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo - 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/
| |