lkml.org 
[lkml]   [1998]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.97 SMP+UP works suddenly..+fpu_memcpy doesn't
On Thu, 23 Apr 1998, Gerhard Koerting wrote:

>
> > > If you change fstenv/fsave to fnstenv/fnsave, fpu_memcpy should run with
> > > SMP too. I'm using that for a long time, but I don't know why this makes
> > > a difference.
> >
> > That did cure the problem. The only thing I notice now, is that fpu
> > interrupts is climbing whereas previously (UP) it stayed at exactly 1.
> >
> Yes, with this patch the kernel sometimes doesn't detect that exception 16
> works for fpu exceptions. As all SMP-capable processors (from Intel)
> can use exception 16 I just diabled irq13 if compiling for SMP and CPU>=486.
>
> --- linux/arch/i386/kernel/irq.c.old Tue Jul 8 19:42:04 1997
> +++ linux/arch/i386/kernel/irq.c Tue Jul 8 19:42:22 1997
> @@ -730,5 +730,7 @@
> request_region(0x20,0x20,"pic1");
> request_region(0xa0,0x20,"pic2");
> setup_x86_irq(2, &irq2);
> +#if !defined(__SMP__) || CPU == 386
> setup_x86_irq(13, &irq13);
> +#endif
> }
>

OK, that confirms that it's not just an SMP on UP problem. Added to
'itchy spots' list.

Thanks,

-Mike


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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:1.324 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site