public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled
@ 2004-03-10  4:40 Zhang, Yanmin
  2004-03-10 18:17 ` Arun Sharma
  2004-03-10 21:01 ` David Mosberger
  0 siblings, 2 replies; 3+ messages in thread
From: Zhang, Yanmin @ 2004-03-10  4:40 UTC (permalink / raw)
  To: linux-ia64

There is a bug in base kernel 2.6.3. When CONFIG_PREEMPT is enabled, all
IA32 programs will make kernel stall on IPF machines.

Here is the patch to fix it.

diff -Narup a/arch/ia64/ia32/ia32_support.c
b/arch/ia64/ia32/ia32_support.c
--- a/arch/ia64/ia32/ia32_support.c	2004-03-09 23:13:53.000000000
-0800
+++ b/arch/ia64/ia32/ia32_support.c	2004-03-09 23:28:14.052063896
-0800
@@ -134,8 +134,6 @@ ia32_load_state (struct task_struct *t)
 	regs->r17 = (_TSS << 48) | (_LDT << 32) | (__u32) regs->r17;
 	regs->r30 = load_desc(_LDT);				/* LDTD
*/
 	load_TLS(&t->thread, smp_processor_id());
-
-	put_cpu();
 }
 
 /*


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

* Re: IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled
  2004-03-10  4:40 IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled Zhang, Yanmin
@ 2004-03-10 18:17 ` Arun Sharma
  2004-03-10 21:01 ` David Mosberger
  1 sibling, 0 replies; 3+ messages in thread
From: Arun Sharma @ 2004-03-10 18:17 UTC (permalink / raw)
  To: linux-ia64

On Tue, Mar 09, 2004 at 08:40:00PM -0800, Zhang, Yanmin wrote:
> There is a bug in base kernel 2.6.3. When CONFIG_PREEMPT is enabled, all
> IA32 programs will make kernel stall on IPF machines.

This bug was introduced by the NPTL for ia32 patch. The fix looks good to me. 

Thanks!

	-Arun

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

* Re: IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled
  2004-03-10  4:40 IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled Zhang, Yanmin
  2004-03-10 18:17 ` Arun Sharma
@ 2004-03-10 21:01 ` David Mosberger
  1 sibling, 0 replies; 3+ messages in thread
From: David Mosberger @ 2004-03-10 21:01 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Wed, 10 Mar 2004 12:40:00 +0800, "Zhang, Yanmin" <yanmin.zhang@intel.com> said:

  Yanmin> There is a bug in base kernel 2.6.3. When CONFIG_PREEMPT is
  Yanmin> enabled, all IA32 programs will make kernel stall on IPF
  Yanmin> machines.

Your mailer wraps long lines.  Either fix the mailer or, if necessary,
send patches as MIME attachments.

For this time, I fixed the line-wraps by hand and applied the patch.

Thanks,

	--david

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

end of thread, other threads:[~2004-03-10 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10  4:40 IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled Zhang, Yanmin
2004-03-10 18:17 ` Arun Sharma
2004-03-10 21:01 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox