All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kasper Dupont <kasperd@daimi.au.dk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: It hurts when I shoot myself in the foot
Date: Fri, 24 May 2002 17:36:27 +0200	[thread overview]
Message-ID: <3CEE5DFB.985EFF6E@daimi.au.dk> (raw)
In-Reply-To: <E17BHKb-0006hz-00@the-village.bc.nu>

Alan Cox wrote:
> 
> > If the kernel knew multipliers couldn't it actually use the TSCs
> > anyway? Of course it would take some work, but is there any
> > reason why it would not be posible?
> 
> In 2.4 yes. In 2.5 it would be close to impossible due to the pre-empt code

Couldn't that be solved in one of the following ways?

1) Disable pre-emption while reading TSC and CPU nr.
2) Use affinity for processes pre-empted in kernel mode.
3) Disable pre-emption for SMP systems.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk

  reply	other threads:[~2002-05-24 15:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22 16:15 It hurts when I shoot myself in the foot Chris
2002-05-22 23:39 ` H. Peter Anvin
2002-05-23  3:48   ` Andreas Dilger
2002-05-23  4:49     ` Mike Fedyk
2002-05-23  5:42       ` Andreas Dilger
2002-05-23 17:33         ` Mike Fedyk
2002-05-23 22:28           ` Vojtech Pavlik
2002-05-24  7:32             ` Mike Fedyk
2002-05-24  7:36               ` Vojtech Pavlik
2002-05-24 15:28         ` Alan Cox
2002-05-24 15:20           ` Kasper Dupont
2002-05-24 15:50             ` Alan Cox
2002-05-24 15:36               ` Kasper Dupont [this message]
2002-05-24 16:09                 ` Alan Cox
2002-05-24 16:39                   ` Kasper Dupont
2002-05-24 18:44                     ` Alan Cox
2002-05-24 16:36                 ` Austin Gonyou

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=3CEE5DFB.985EFF6E@daimi.au.dk \
    --to=kasperd@daimi.au.dk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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.