NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/54718 CVS commit: src/sys/kern



The following reply was made to PR port-sparc/54718; it has been noted by GNATS.

From: "Andrew Doran" <ad%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/54718 CVS commit: src/sys/kern
Date: Sun, 1 Dec 2019 13:20:42 +0000

 Module Name:	src
 Committed By:	ad
 Date:		Sun Dec  1 13:20:42 UTC 2019
 
 Modified Files:
 	src/sys/kern: kern_runq.c sched_4bsd.c sched_m2.c
 
 Log Message:
 PR port-sparc/54718 (sparc install hangs since recent scheduler changes)
 
 - sched_tick: cpu_need_resched is no longer the correct thing to do here.
   All we need to do is OR the request into the local ci_want_resched.
 
 - sched_resched_cpu: we need to set RESCHED_UPREEMPT even on softint LWPs,
   especially in the !__HAVE_FAST_SOFTINTS case, because the LWP with the
   LP_INTR flag could be running via softint_overlay() - i.e. it has been
   temporarily borrowed from a user process, and it needs to notice the
   resched after it has stopped running softints.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.50 -r1.51 src/sys/kern/kern_runq.c
 cvs rdiff -u -r1.38 -r1.39 src/sys/kern/sched_4bsd.c
 cvs rdiff -u -r1.34 -r1.35 src/sys/kern/sched_m2.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index