mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Larry Butler <larry_butler@hp.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [patch] IPMI driver for Linux
Date: Wed, 21 Aug 2002 14:41:40 -0600	[thread overview]
Message-ID: <200208211441.40195.larry_butler@hp.com> (raw)


Corey,

I've been working on a driver too because the busy waits in the drivers that 
are out there can hold a CPU for too long.  I've measured as much as 120ms.

First I tried sleeping in the driver until the very next jiffy.  I found that 
my driver became unreliable under high CPU load because the scheduling delays 
were too long.  I even managed wedge the BMC on one of my test systems in a 
way I can't seem to fix. :)

What I finally settled on was using the timer interrupt.  This seems to work 
well both in terms of being nice to the rest of the system (I register a 
shared irq handler only while I need it) and being reliable even under high 
load.   So, just consider it a suggestion.  I'd like to see your driver 
included too.  It's certainly more complete than mine.  You must have access 
to more documentation than I do.

Larry


             reply	other threads:[~2002-08-21 20:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 20:41 Larry Butler [this message]
2002-08-21 20:53 ` Corey Minyard
  -- strict thread matches above, loose matches on Subject: below --
2002-08-21 15:47 Corey Minyard
2002-08-21 16:02 ` Alan Cox
2002-08-21 16:52   ` Corey Minyard
2002-08-27 14:55 ` Pavel Machek
2002-08-27 22:14   ` Matthew Dharm
2002-08-28  2:01     ` Corey Minyard

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=200208211441.40195.larry_butler@hp.com \
    --to=larry_butler@hp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®