summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
AgeCommit message (Expand)Author
2012-08-21Stop "inlining" setrunnable() we already had two bugs because of it.Christiano F. Haesbaert
2012-07-10We should only call need_resched() if the priority is lower than theChristiano F. Haesbaert
2012-04-10When converting the timeout to ticks, both round up and add one to accountPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,Philip Guenthe
2011-12-11Suspend other rthreads before dumping core or execing; make them exitPhilip Guenthe
2011-07-07Functions used in files other than where they are defined should bePhilip Guenthe
2011-01-25Don't ignore copyout() return value in sys_thrsleep().Stefan Sperling
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-06-10Declare safepri at the MD level on each platform, so that the kern_synch.cTheo de Raadt
2009-12-27Correct previous commit: match the errno return by thrsleep() inPhilip Guenthe
2009-11-27Convert thrsleep() to an absolute timeout with clockid to eliminate aPhilip Guenthe
2009-06-04unfuck msleep - fixed by art and ariane after much horror and teeth gnashingBob Beck
2009-06-02Change the wait-channel type to 'const volatile void *', eliminatingPhilip Guenthe
2009-04-14Some tweaks to the cpu affinity code.Artur Grabowski
2009-03-23Processor affinity for processes.Artur Grabowski
2008-09-10There's no need to fully traverse the wakeup queue when waking a specificBret Lambert
2008-09-05Back out previous. Art realised a problem with it.Owain Ainsworth
2008-09-05Don't overwrite the old ipl in msleep if PNORELOCK was set.Artur Grabowski
2008-09-05When munging the WANTIPL of the mutex to prevent undoing the sched_lock,Owain Ainsworth
2007-11-30Fix msleep.Owain Ainsworth
2007-11-28Add msleep. This is identical to tsleep but it takes a mutex as aOwain Ainsworth
2007-10-10Make context switching much more MI:Artur Grabowski
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2007-04-03Start moving state that is shared among threads in a process intoArtur Grabowski
2007-03-21Split tsleep into pieces. Instead of doing everything in a large "shoveArtur Grabowski
2007-03-18Don't restart thrsleep after a signal. After a signal happened and weArtur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
2006-10-21tbert sent me a diff to change some 0 to NULLTed Unangst
2005-12-30change thrwakeup to take an argument which specifies how many threadsTed Unangst
2005-12-22fix memory leak conditions in thrsleep and significantly simplifyTed Unangst
2005-12-14timeout code is not so happy with the negative valuesTed Unangst
2005-12-14change wait message for thrsleep to "thrsleep"Ted Unangst
2005-12-13stupid me got the cast backwardsTed Unangst
2005-12-13thrsleep and thrwakeup, cast syscall arg from void * to long.Ted Unangst
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-11-15Match comments with realityPedro Martelletto
2005-06-17A second approach at fixing the telnet localhost & problemNiklas Hallqvist
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2004-07-29put the scheduler in its own file. reduces clutter, and logically separatesTed Unangst
2004-07-25move db_show_all_procs to kern_proc.c, proc_printit goes in DDB too.Ted Unangst
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
2004-06-20Merge error in smp merge. It's a miracle that people haven't noticed theArtur Grabowski
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski