Re: [PATCH] new TSC based delay_tsc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Marin Mitov <[email protected]> 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 <[email protected]>

Signed-off-by: Ingo Molnar <[email protected]>

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux