linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feedback on preemptible kernel patch
@ 2001-09-08  5:22 grue
  2001-09-08  5:47 ` Robert Love
  0 siblings, 1 reply; 32+ messages in thread
From: grue @ 2001-09-08  5:22 UTC (permalink / raw)
  To: Robert Love; +Cc: linux-kernel

I am running 2.4.10-pre4 with the rml-preempt patch.
built and rebooted this on my workstation yesterday when I saw the patch
posted and it's been working great.

I'm running it on a dual P3-550 with 256MB ram with CONFIG_SMP and no
problems whatsoever although it hasn't been worked 'real' hard yet.
(load no higher than 4) ;)

Figured I'd give some positive feedback about the patch. If you want,
Rob, I could run some benchmarks on this against an unpatched kernel, or
if you have some ideas for me to really stress this thing to see if it
breaks, let me know.

--
Gregory Finch



^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [SMP lock BUG?] Re: Feedback on preemptible kernel patch
@ 2001-09-08 23:11 Manfred Spraul
  2001-09-09  3:44 ` Robert Love
  0 siblings, 1 reply; 32+ messages in thread
From: Manfred Spraul @ 2001-09-08 23:11 UTC (permalink / raw)
  To: Roger Larsson; +Cc: linux-kernel, Robert Love, nigel

> This is interesting. [Assumes UP Athlon - correct]
> Note that all BUGs out in highmem.h:95 (kmap_atomic)
> and that test is only on if you have enabled HIGHMEM_DEBUG
> [my analyze is done with a 2.4.10-pre2 kernel, but I checked with
> later patches and I do not think they fix it either...]
>
> The preemptive kernel puts more SMP stress on the kernel than
> running with multiple CPUs.
>
> So this might be a potential bug in the kernel proper, running with
> a SMP computer.

No.
It seems to be a missing ctx_sw_off() in highmem.h:
kmap_atomic uses a per-cpu variable, thus ctx_sw_off() is needed in
kmap_atomic, and ctx_sw_on() in kunmap_atomic().

--
    Manfred




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

end of thread, other threads:[~2001-09-18  0:18 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-08  5:22 Feedback on preemptible kernel patch grue
2001-09-08  5:47 ` Robert Love
2001-09-08 17:33   ` Arjan Filius
2001-09-08 18:22     ` safemode
2001-09-08 20:58     ` [SMP lock BUG?] " Roger Larsson
2001-09-08 22:18       ` Arjan Filius
2001-09-09 14:55       ` george anzinger
2001-09-09 22:25         ` Arjan Filius
2001-09-09  4:40     ` Robert Love
2001-09-09 17:09     ` Robert Love
2001-09-09 21:07       ` Arjan Filius
2001-09-09 21:26         ` Robert Love
2001-09-09 21:23       ` Arjan Filius
2001-09-09 21:37         ` Robert Love
2001-09-10  3:24           ` Daniel Phillips
2001-09-10  3:37             ` Jeremy Zawodny
2001-09-10  5:09           ` Robert Love
2001-09-10 18:25             ` Daniel Phillips
2001-09-10 21:29             ` Arjan Filius
2001-09-13 17:27               ` Robert Love
2001-09-14  7:30                 ` george anzinger
2001-09-14 15:01                 ` Robert Love
2001-09-11 19:47           ` Arjan Filius
2001-09-09 18:57   ` grue
2001-09-09 21:44     ` Robert Love
2001-09-08 23:11 [SMP lock BUG?] " Manfred Spraul
2001-09-09  3:44 ` Robert Love
2001-09-09  7:38   ` Manfred Spraul
     [not found]   ` <001a01c1390262c7f30/mnt/sendme10411ac@local>
2001-09-14  9:15     ` Pavel Machek
2001-09-17 22:40       ` Manfred Spraul
2001-09-18  0:19       ` Robert Love
2001-09-17 22:41     ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).