All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Marin Mitov <mitov@issp.bas.bg>
Cc: linux-kernel@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] new TSC based delay_tsc()
Date: Mon, 19 Nov 2007 09:54:24 +0100	[thread overview]
Message-ID: <20071119085424.GA10760@elte.hu> (raw)
In-Reply-To: <200711181120.27459.mitov@issp.bas.bg>


* 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

  reply	other threads:[~2007-11-19  8:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-18  9:20 [PATCH]new_TSC_based_delay_tsc() Marin Mitov
2007-11-19  8:54 ` Ingo Molnar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-20 19:32 [PATCH]new_TSC_based_delay_tsc() Marin Mitov
2007-11-20 21:37 ` [PATCH] new TSC based delay_tsc() Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071119085424.GA10760@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mitov@issp.bas.bg \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.