[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071119085424.GA10760@elte.hu>
Date: Mon, 19 Nov 2007 09:54:24 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Marin Mitov <mitov@...p.bas.bg>
Cc: linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] new TSC based delay_tsc()
* Marin Mitov <mitov@...p.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@...p.bas.bg>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists