source: mainline/kernel/generic/src/proc/scheduler.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @d23712e   17 months zarevucky.jiri Use thread state variable instead of a cpu local variable to pass state
(edit) @dfa4be62   17 months zarevucky.jiri Thread lock is no longer necessary
(edit) @3fa4e22a   17 months zarevucky.jiri Only do fpu_cleanup() once we are sure we are switching
(edit) @11909ce3   17 months zarevucky.jiri Make thread cycle statistics atomic
(edit) @33e15a0   17 months zarevucky.jiri Make thread→btrace weakly atomic, to avoid need for thread lock
(edit) @7364e2d1   17 months zarevucky.jiri Don't try to determine internal thread state when requesting stack …
(edit) @41bfc64   17 months zarevucky.jiri Make thread→state weakly atomic so we don't need to hold thread lock
(edit) @3d84734   17 months zarevucky.jiri Make thread→priority weakly atomic to avoid need for locking
(edit) @efed95a3   17 months zarevucky.jiri Make thread→cpu weakly atomic, to avoid need for thread lock
(edit) @286da52   17 months zarevucky.jiri Streamline requeuing threads Split thread_ready() into different …
(edit) @6a0e568   17 months zarevucky.jiri Allow fast-switch to another runnable thread When a thread is …
(edit) @c1eaec4   17 months zarevucky.jiri Shuffle some locks around
(edit) @25939997   17 months zarevucky.jiri Make separate-stack-scheduler a loop with persistent context We can …
(edit) @29029ac0   17 months zarevucky.jiri Call after_thread_ran_arch() before context switch This is only used …
(edit) @ed7e057   17 months zarevucky.jiri Add functions context_create(), context_replace() and context_swap() …
(edit) @4ed7870   17 months zarevucky.jiri Revert part of commit 5861b602
(edit) @a064d4f   17 months zarevucky.jiri Make thread_join() imply thread_put() This makes the function more …
(edit) @5861b60   17 months zarevucky.jiri Lift actions that do not need separate context out of …
(edit) @151c050   17 months zarevucky.jiri Rethink scheduler entry points Changes the way scheduler is entered, …
(edit) @8996582   17 months zarevucky.jiri Move context switch preparation to a new separate function This puts …
(edit) @6e49dab   17 months zarevucky.jiri Extract post-thread cleanup into a separate function
(edit) @23f36a3   17 months zarevucky.jiri Wrap fpu handling code in named functions
(edit) @5663872   17 months zarevucky.jiri Move stuff around for thread sleep Only mark the thread as ready for …
(edit) @4760793   17 months zarevucky.jiri Add CPU_LOCAL alongside CPU and segregate fields that are only used …
(edit) @3b68542   17 months zarevucky.jiri Eliminate an undefined behavior in scheduler debug printout The …
(edit) @ec8ef12   2 years zarevucky.jiri Split find_best_thread() into two functions try_find_thread() … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @117ad5a2   2 years zarevucky.jiri Get thread priority from find_best_thread(), instead of locking thread … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f3dbe27   2 years zarevucky.jiri Reduce locking further with lazy FPU It turns out we only need a lock … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @06f81c4   2 years zarevucky.jiri Check cpu_t::fpu_owner directly instead of … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fbaf6ac   2 years zarevucky.jiri Streamline thread load-balancing ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @169815e   2 years zarevucky.jiri Split cpu_t::lock into fpu_lock and tlb_lock For all other purposes, … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dd218ea   2 years zarevucky.jiri Remove unnecessary thread_t::wired There's already … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c680333   2 years zarevucky.jiri Move task switch handling into a separate function ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3118355   2 years zarevucky.jiri Optimize relink_rq() Iterate backwards and only lock each runqueue … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bea6233   2 years zarevucky.jiri Replace cpu_sleep() with cpu_interruptible_sleep() The new function … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @111b9b9   2 years zarevucky.jiri Reimplement waitq using thread_wait/wakeup This adds a few functions … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1871118   2 years zarevucky.jiri Make thread_t reference counted This simplifies interaction between … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @daadfa6   2 years zarevucky.jiri Remove unnecessary context field from cpu_t structure ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0366d09d   2 years zarevucky.jiri Avoid separate allocation for FPU context With _Alignas, we can … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c030818   2 years zarevucky.jiri Move saved interrupt level from context_t to thread_t Unlike the rest … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @011c79a   2 years zarevucky.jiri Replace CPU→needs_relink with CPU→relink_deadline This removes a … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aae2869   2 years zarevucky.jiri Replace THREAD→ticks with CPU→preempt_deadline This removes a bit … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @31e15be   4 years 5887334+jxsvoboda kernel: deprecate atomic_t serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @583c2a3   5 years jiri Avoid most cases of direct used of list_t.prev/next in kernel lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.