lkml.org 
[lkml]   [2007]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2007-11-19 09:57    [W:0.042 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site