* Re: New pre-patch (Re: [PATCH] kswapd fully sysctl tunable)
[not found] <Pine.LNX.3.95.980503175650.632Z-100000@penguin.transmeta.com>
@ 1998-05-04 18:23 ` Gerard Roudier
0 siblings, 0 replies; only message in thread
From: Gerard Roudier @ 1998-05-04 18:23 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Rik van Riel, MOLNAR Ingo, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-05-04 18:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.95.980503175650.632Z-100000@penguin.transmeta.com>
1998-05-04 18:23 ` New pre-patch (Re: [PATCH] kswapd fully sysctl tunable) Gerard Roudier
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®