All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Tejun Heo <htejun@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [QUESTION] The cost of local interrupt enable/disable
Date: Sun, 18 Sep 2005 00:32:05 +1000	[thread overview]
Message-ID: <20050917143204.GA17639@krispykreme> (raw)
In-Reply-To: <432C2169.2090300@gmail.com>


Hi,

>  I'm curious about the cost of local_irq_enable/disable()'s on various 
> architectures.  I found a freebsd discussion thread by googling which 
> says that each takes 3 cycles on i386 (very cheap), but for Pentium4, 
> people are talking in the order of several hundreds cycles.  Are these 
> correct?  How about other architectures?

It varies on ppc64, but its in the order of 10s of cycles. 40-50 cycles
is probably a decent estimation.

Anton

      reply	other threads:[~2005-09-17 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17 14:00 [QUESTION] The cost of local interrupt enable/disable Tejun Heo
2005-09-17 14:32 ` Anton Blanchard [this message]

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=20050917143204.GA17639@krispykreme \
    --to=anton@samba.org \
    --cc=htejun@gmail.com \
    --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.