Bug in kse_switchin()?

Ken Smith kensmith at cse.Buffalo.EDU
Tue Oct 5 20:14:10 PDT 2004


On Thu, Sep 23, 2004 at 02:20:51PM +0400, Andrew Belashov wrote:

> Where bug?
> - In sparc64 specific core?
> - In kern/kern_kse.c and kern/kern_thr.c code?

Can you humor me and test this patch please?

Index: sys/conf/kern.pre.mk
===================================================================
RCS file: /home/ncvs/src/sys/conf/kern.pre.mk,v
retrieving revision 1.57
diff -u -r1.57 kern.pre.mk
--- sys/conf/kern.pre.mk        23 Sep 2004 22:53:22 -0000      1.57
+++ sys/conf/kern.pre.mk        6 Oct 2004 03:09:09 -0000
@@ -24,7 +24,7 @@
 . elif ${MACHINE_ARCH} == "ia64"
 COPTFLAGS?=-O2 -pipe
 . elif ${MACHINE_ARCH} == "sparc64"
-COPTFLAGS?=-O2 -pipe
+COPTFLAGS?=-O -pipe
 . elif ${MACHINE_ARCH} == "arm"
 COPTFLAGS?=-O2 -pipe
 . else

You'll need to go through a complete kernel build cycle after applying
it (starting with 'config').

Thanks.

-- 
						Ken Smith
- From there to here, from here to      |       kensmith at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


More information about the freebsd-sparc64 mailing list