[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-cvs
Subject:    CVS: cvs.openbsd.org: src
From:       Martin Pieuchot <mpi () openbsd ! org>
Date:       2020-01-30 8:51:27
Message-ID: 58e64c81137cf519 () openbsd ! org
[Download RAW message or body]

CVSROOT:	/cvs
Module name:	src
Changes by:	mpi@cvs.openbsd.org	2020/01/30 01:51:27

Modified files:
	sys/arch/sparc64/sparc64: db_interface.c 
	sys/dev/pci/drm/i915: intel_breadcrumbs.c 
	sys/kern       : kern_fork.c kern_proc.c kern_sched.c kern_sig.c 
	                 kern_synch.c sched_bsd.c 
	sys/sys        : proc.h sysctl.h 

Log message:
Split `p_priority' into `p_runpri' and `p_slppri'.

Using different fields to remember in which runqueue or sleepqueue
threads currently are will make it easier to split the SCHED_LOCK().

With this change, the (potentially boosted) sleeping priority is no
longer overwriting the thread priority.  This let us get rids of the
logic required to synchronize `p_priority' with `p_usrpri'.

Tested by many, ok visa@

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic