All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Robert Love <rml@ximian.com>
Cc: Chris Friesen <cfriesen@nortelnetworks.com>,
	Linux kernel <linux-kernel@vger.kernel.org>,
	akpm@osdl.org
Subject: Re: status of PREEMPT and SMP together?
Date: Thu, 18 Mar 2004 10:36:57 +1100	[thread overview]
Message-ID: <20040317233657.GD28212@krispykreme> (raw)
In-Reply-To: <1079560828.1435.24.camel@localhost>


> Hrm, I thought I sent Anton a patch to fix that.

Sorry, I had planned to send it once Linus got over his deep freeze mode
but forgot. Here it is.

Now that the option is selectable I marked it BROKEN for the moment
since we havent got around to doing the low level exception bits yet...
Do you have a G5 yet? :)

> The comment is out of date.  Technically speaking, the potential
> SMP+PREEMPT races exist on UP+PREEMPT, too.
> 
> Running SMP+PREEMPT on a 4-way here :-)

--

From: Robert Love <rml@ximian.com>

arch/ppc64/Kconfig's entry for CONFIG_PREEMPT is missing the description
after the "bool" statement, so the entry does not show up.

Also, the help description mentions a restriction that is not [any
longer] true.

===== arch/ppc64/Kconfig 1.50 vs edited =====
--- 1.50/arch/ppc64/Kconfig	Sun Mar  7 18:05:28 2004
+++ edited/arch/ppc64/Kconfig	Thu Mar 18 10:33:17 2004
@@ -174,14 +179,12 @@
 	depends on DISCONTIGMEM
 
 config PREEMPT
-	bool
+	bool "Preemptible Kernel"
+	depends on BROKEN
 	help
 	  This option reduces the latency of the kernel when reacting to
 	  real-time or interactive events by allowing a low priority process to
 	  be preempted even if it is in kernel mode executing a system call.
-	  Unfortunately the kernel code has some race conditions if both
-	  CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is
-	  currently disabled if you are building an SMP kernel.
 
 	  Say Y here if you are building a kernel for a desktop, embedded
 	  or real-time system.  Say N if you are unsure.

  reply	other threads:[~2004-03-17 23:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 21:30 status of PREEMPT and SMP together? Chris Friesen
2004-03-17 22:00 ` Robert Love
2004-03-17 23:36   ` Anton Blanchard [this message]
2004-03-18  0:24     ` Robert Love

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=20040317233657.GD28212@krispykreme \
    --to=anton@samba.org \
    --cc=akpm@osdl.org \
    --cc=cfriesen@nortelnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@ximian.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.