mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gerard Roudier <groudier@club-internet.fr>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Rik van Riel <H.H.vanRiel@phys.uu.nl>,
	MOLNAR Ingo <mingo@chiara.csoma.elte.hu>,
	linux-kernel <linux-kernel@vger.rutgers.edu>
Subject: Re: New pre-patch (Re: [PATCH] kswapd fully sysctl tunable)
Date: Mon, 4 May 1998 20:23:21 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.LNX.3.95.980504200048.547A-100000@localhost> (raw)
In-Reply-To: <Pine.LNX.3.95.980503175650.632Z-100000@penguin.transmeta.com>


On Sun, 3 May 1998, Linus Torvalds wrote:

> Note that the apic code really isn't SMP-specific at all, and is valid on
> its own. It does have a strong link to SMP mainly because the MP table
> contains the PCI routing information, but even that really isn't a SMP
> issue. 
> 
> So if somebody feels interested, it might be a good idea to split up the
> _real_ SMP code from the code that should be merely "CONFIG_APIC". That
> would give it more wider testing - and the newer APIC makes sense even on
> UP if for no other reason than the fact that is is much lower latency. 

Interesting, indeed.

Just an idea:
Very low interrupt latency can make interrupt go ahead posted memory 
write. I would suggest to check if all PCI device drivers do read an IO
register from the device in order to flush posted write just before
looking at the data.

A correct construct should look like the following:

read STATUS register
If interrupt condition
     clear interrupt condition
  -> READ a device IO register in order to force posted write flush.
     look at the data written to memory by the PCI device.

Note that if the interrupt condition is cleared by an IO register read, 
the additional READ is not needed, otherwise it should be IMHO.


Gerard.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

           reply	other threads:[~1998-05-04 18:41 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.LNX.3.95.980503175650.632Z-100000@penguin.transmeta.com>]

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=Pine.LNX.3.95.980504200048.547A-100000@localhost \
    --to=groudier@club-internet.fr \
    --cc=H.H.vanRiel@phys.uu.nl \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=mingo@chiara.csoma.elte.hu \
    --cc=torvalds@transmeta.com \
    /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®