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

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @df721df   2 weeks zarevucky.jiri Remove sys_waitq_task_cleanup()
(edit) @fa3ed5b   2 weeks zarevucky.jiri Bulk clear capabilities when task terminates or is destroyed
(edit) @3fcea34   4 months zarevucky.jiri Simplify the SYS_THREAD_CREATE syscall interface Removed the beefy …
(edit) @dfa4be62   13 months zarevucky.jiri Thread lock is no longer necessary
(edit) @a3d87b9   13 months zarevucky.jiri We don't need to check thread state to wait for thread exit
(edit) @9fbdeca   13 months zarevucky.jiri The initialization value for priority is actually irrelevant
(edit) @11909ce3   13 months zarevucky.jiri Make thread cycle statistics atomic
(edit) @33e15a0   13 months zarevucky.jiri Make thread→btrace weakly atomic, to avoid need for thread lock
(edit) @7364e2d1   13 months zarevucky.jiri Don't try to determine internal thread state when requesting stack …
(edit) @41bfc64   13 months zarevucky.jiri Make thread→state weakly atomic so we don't need to hold thread lock
(edit) @3d84734   13 months zarevucky.jiri Make thread→priority weakly atomic to avoid need for locking
(edit) @efed95a3   13 months zarevucky.jiri Make thread→cpu weakly atomic, to avoid need for thread lock
(edit) @286da52   13 months zarevucky.jiri Streamline requeuing threads Split thread_ready() into different …
(edit) @6a0e568   13 months zarevucky.jiri Allow fast-switch to another runnable thread When a thread is …
(edit) @c1eaec4   13 months zarevucky.jiri Shuffle some locks around
(edit) @25939997   13 months zarevucky.jiri Make separate-stack-scheduler a loop with persistent context We can …
(edit) @ed7e057   13 months zarevucky.jiri Add functions context_create(), context_replace() and context_swap() …
(edit) @e82879c   13 months zarevucky.jiri Remove unnecessary function
(edit) @0f4f1b2   13 months zarevucky.jiri Add (and use) functions thread_start() and thread_detach() Mostly …
(edit) @a064d4f   13 months zarevucky.jiri Make thread_join() imply thread_put() This makes the function more …
(edit) @151c050   13 months zarevucky.jiri Rethink scheduler entry points Changes the way scheduler is entered, …
(edit) @8996582   13 months zarevucky.jiri Move context switch preparation to a new separate function This puts …
(edit) @5663872   13 months zarevucky.jiri Move stuff around for thread sleep Only mark the thread as ready for …
(edit) @b169619   15 months zarevucky.jiri Deduplicate mem functions There are a number of functions which are … topic/msim-upgrade topic/simplify-dev-export
(edit) @f3dbe27   22 months 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   22 months zarevucky.jiri Check cpu_t::fpu_owner directly instead of … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fbaf6ac   22 months zarevucky.jiri Streamline thread load-balancing ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @169815e   22 months 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   22 months zarevucky.jiri Remove unnecessary thread_t::wired There's already … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c7326f21   2 years zarevucky.jiri Move some oddly placed accounting code Thread ucycles and kcycles … 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) @11d2c983   2 years zarevucky.jiri Reorganize locking in thread_destroy() 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) @83789ea2   2 years zarevucky.jiri Simplify timeout handling Since timeout_unregister() now waits for … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @78acbc72   2 years zarevucky.jiri Remove unused thread_interrupted(), make thread_interrupt() useful 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) @5110d0a   2 years zarevucky.jiri Turn a bunch of macros into regular functions 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) @c1b073b7   2 years zarevucky.jiri Remove some unnecessary #ifdefs %p does not care about specified … ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @661a5ac   2 years zarevucky.jiri Use panic() instead of an infinite loop at the unreachable end of … 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) @128359eb   5 years martin Replace get_stack_base() with builtin_frame_address(0) The usage of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5a5269d   6 years noreply Change type of uspace pointers in kernel from pointer type to numeric … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c477c80   6 years jiri Fix some common misspellings lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0b5203b   6 years jakub Remove futex support from kernel lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d314571   6 years jakub Turn wait queue into a kobject usable by uspace In order to provide … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aafed15   6 years zarevucky.jiri Declare malloc() etc in standard <stdlib.h> rather than <mm/slab.h> lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @95d45482   6 years zarevucky.jiri XXX to NOTE lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @abf6c01   6 years zarevucky.jiri Add FRAME_ATOMIC to some allocations lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ba9a150   6 years zarevucky.jiri Always allocate FPU context ahead of time, even when switching is lazy lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @deacd722   6 years zarevucky.jiri Allow thread_create_arch() to fail lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aae365bc   6 years jakub Remove RCU and CHT support lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aab5e46   6 years jiri Thread and task iterator functions. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ef1eab7   6 years jiri Replace AVL trees in kernel with ordered dictionary. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2e4343b   6 years zarevucky.jiri Fix comments get_current() refers to out of order local changes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d1da1ff2   6 years zarevucky.jiri Fix kernel stack allocation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a6e55886   6 years noreply Rename THE/the_t to CURRENT/current_t (#50) Because the word "THE" … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bab75df6   6 years jiri Let kernel code get printf via the standard stdio header. Clean up … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @174156fd   6 years jakub Disambiguate doxygroup generic* lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e3306d04   6 years jiri.zarevucky Convert atomic_t to atomic_size_t (4): Use atomic_store instead of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @edc64c0   7 years jakub Zero out new thread's register context This removes the information … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b59318e   7 years jiri.zarevucky Make futex able to time out. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7c3fb9b   7 years jiri Fix block comment formatting (ccheck). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @11b285d   7 years jiri.zarevucky Use standard signature for malloc() in kernel. The remaining … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7473807   7 years jakub Use atomic malloc allocations We can safely use atomic allocations in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3bacee1   7 years jiri Make ccheck-fix again and commit more good files. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a35b458   7 years zarevucky.jiri style: Remove trailing whitespace on _all_ lines, including empty … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1b20da0   7 years zarevucky.jiri style: Remove trailing whitespace on non-empty lines, in certain file … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a53ed3a   7 years zarevucky.jiri Change (rc != 0) to (rc != EOK), where appropriate. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b7fd2a0   7 years zarevucky.jiri Use errno_t in all uspace and kernel code. Change type of every … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @897fd8f1   7 years zarevucky.jiri Use <errno.h> instead of special ESYNCH_xx error codes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7f11dc6   7 years zarevucky.jiri Numerous minor error code tweaks in kernel. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @82d515e9   7 years jakub Fix terminology Objects of slab_cache_t type are caches, not slabs. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e7c4115d   7 years jakub Return the actual number of freed frames lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63e27ef   8 years jiri ASSERT → assert lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @44a7ee5   8 years jiri memxxx functions should be provided in the kernel via the same header … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8ad7dd1   9 years jakub When readying a migrated thread, make sure it runs on the current CPU lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b1c57a8   10 years jakub Merge from lp:~adam-hraska+lp/helenos/rcu/. Only merge from the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cd3b380   11 years martin due to the removal of FRAME_KA, the return value of frame_alloc*() … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5df1963   11 years martin bitmap frame allocator does not keep track of the size of the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b0c2075   11 years martin new physical memory allocator supporting physical address constrains … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8cbf1c3   11 years martin prepare the public API of the frame allocator for the new backend … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @669f3d32   12 years adam.hraska+hos Adapted the kernel futex subsystem to use CHT. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1066041   13 years adam.hraska+hos preemption_disable: Turned functions into macros. Moved THREAD, AS, … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b23c88e   13 years adam.hraska+hos preemption_disable: Replaced memory barriers with compiler barriers. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @181a746   13 years adam.hraska+hos rcu: Added preemptible RCU's core API implementation. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8a64e81e   13 years adam.hraska+hos workq: Add work queues: allow blocking work items, queuing items from … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @518dd43   13 years adam.hraska+hos thread: thread_ready() new prefers cpus where thread last ran. Added … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f22dc820   13 years jakub Honour the prohibition of migration also in thread_ready(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6eef3c4   13 years martin cleanup thread_create() and thread_t structure - remove 'flag' … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f97f1e51   13 years martin unify slab cache naming scheme (according to the type name) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2902e1bb   13 years martin add support for variable uspace stack size create individual address … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @38ff925   13 years jakub Force kernel stacks to be allocated from the low-memory. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c0699467   13 years martin do not provide general access to kernel headers from uspace, only … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @55b77d9   14 years jiri Separate list_t typedef from link_t (kernel part). * list_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @43ac0cc   14 years jakub More lightweight implementation of delay() in kernel. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8d6c1f1   14 years jakub Merge USB support. Changes from … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @26aafe8   14 years martin cleanup the huge mess related to stacks, their sizes and locations use … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7e7b791   14 years jano.vesely Implement SYS_THREAD_UDELAY syscall for short delays lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ae0300b5   14 years martin fix wrong formatting arguments lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.