public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux with disabled interrupts
@ 2005-04-20 18:05 Francesco Oppedisano
  2005-04-20 18:18 ` Lee Revell
  2005-04-20 18:26 ` Richard B. Johnson
  0 siblings, 2 replies; 3+ messages in thread
From: Francesco Oppedisano @ 2005-04-20 18:05 UTC (permalink / raw)
  To: linux-kernel

Hi,
i'd like to know how much time does linux kernel run with disabled
interrupts. So i would like to remap the instructions capable of
disabling interrupt to other ones which count how much this time is...
Does already exist a patch or tool capable to give me a magnitude
order of the time spent by the kernel with disables interrupts?
In uniprocessor systems, can i state that the only instruction capable
of disabling interrupts is cli?

Thank u very much

Francesco Oppedisano

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux with disabled interrupts
  2005-04-20 18:05 linux with disabled interrupts Francesco Oppedisano
@ 2005-04-20 18:18 ` Lee Revell
  2005-04-20 18:26 ` Richard B. Johnson
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Revell @ 2005-04-20 18:18 UTC (permalink / raw)
  To: Francesco Oppedisano; +Cc: linux-kernel

On Wed, 2005-04-20 at 18:05 +0000, Francesco Oppedisano wrote:
> Hi,
> i'd like to know how much time does linux kernel run with disabled
> interrupts. So i would like to remap the instructions capable of
> disabling interrupt to other ones which count how much this time is...
> Does already exist a patch or tool capable to give me a magnitude
> order of the time spent by the kernel with disables interrupts?

http://people.redhat.com/mingo/realtime-preempt

Lee


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux with disabled interrupts
  2005-04-20 18:05 linux with disabled interrupts Francesco Oppedisano
  2005-04-20 18:18 ` Lee Revell
@ 2005-04-20 18:26 ` Richard B. Johnson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard B. Johnson @ 2005-04-20 18:26 UTC (permalink / raw)
  To: Francesco Oppedisano; +Cc: linux-kernel

On Wed, 20 Apr 2005, Francesco Oppedisano wrote:

> Hi,
> i'd like to know how much time does linux kernel run with disabled
> interrupts. So i would like to remap the instructions capable of
> disabling interrupt to other ones which count how much this time is...
> Does already exist a patch or tool capable to give me a magnitude
> order of the time spent by the kernel with disables interrupts?
> In uniprocessor systems, can i state that the only instruction capable
> of disabling interrupts is cli?
>

How do you propose to "remap" the CLI instruction? The kernel
isn't going to trap on this perfectly legal instruction in
kernel mode.

Also, interrupts can be disabled by masking them off in the
controller(s) so there are many ways that any/all interrupts
can be disabled.

> Thank u very much
>
> Francesco Oppedisano
> -

Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
  Notice : All mail here is now cached for review by Dictator Bush.
                  98.36% of all statistics are fiction.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-20 18:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 18:05 linux with disabled interrupts Francesco Oppedisano
2005-04-20 18:18 ` Lee Revell
2005-04-20 18:26 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox