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

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(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
(edit) @577f042a   14 years martin * improve synchronization in sys_task_set_name() * improve printouts … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5b7a107   14 years martin as the 'btrace' command depends on udebug, make it optional on … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @df58e44   14 years martin * add support for printing uspace stack traces from kernel console … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @96b02eb9   14 years martin more unification of basic types - use sysarg_t and native_t (unsigned … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ee42e43   15 years jakub Retire kernel rwlocks. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @48dcc69   15 years martin better printouts for threads lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2d3ddad   15 years jakub Add more *_locked() assertions. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0ac99db   15 years jiri Make uspace threads stoppable before they exit. This fixes ticket #244. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1d432f9   15 years jakub Reflect assumptions about lock and interrupt state in functions themselves. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @da1bafb   15 years martin major code revision - replace spinlocks taken with interrupts … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7ed8530   15 years jakub Deploy task_hold() and task_release(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e535eeb   15 years martin rename order() to order_suffix(), make it a generic libc string … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e1b6742   15 years martin export threads to user space the "tasks" command can now print all … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1ba37fa   15 years stanislav.kozina Removed useless cycles sum, using ucycles + kcycles instead. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @07640dfd   15 years stanislav.kozina Small changes on kernel & user accounting. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a2a00e8   15 years stanislav.kozina Accounting separated to kernel and user time. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @137691a   15 years martin remove unused variables and operations (as suggested by Clang static … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a000878c   15 years martin make sure that all statically allocated strings are declared as "const … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @22e6802   15 years martin fix kernel thread_sleep() not to overflow thread_usleep() introduce … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d9ece1cb   15 years jakub Introduce SYS_THREAD_USLEEP and use it to implement usleep() in uspace. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b60c582   16 years martin update for string changes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0f81ceb7   16 years martin remove platform dependent constructs from generic code lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7217199   16 years martin coding style lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @13964ef   16 years jirik.svoboda Fix race that allowed Udebug to report THREAD_B events for threads … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aa8d0f7   16 years jakub Some cstyle. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @59e4864   16 years jakub.vana Alfa of SMP support on IA64 lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @24345a5   16 years jirik.svoboda Set meaningful names for loaded programs. Now 'tasks' kconsole command … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7faabb7   16 years jirik.svoboda Fix sys_thread_create(): could fail when passed name was at end of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9a1b20c   16 years jirik.svoboda Merge syscall tracer (trace) and relevant part of udebug interface … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c98e6ee   17 years jirik.svoboda Merge program-loader related stuff from dynload branch to trunk. (huge) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e32e092   17 years jirik.svoboda Declare arguments for memstr.h operations as pointers instead of uintptr_t. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @52755f1   17 years martin support for SYS_SPAWN syscall proper printf formatting change the way … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5d12283   17 years jakub Improve comment for thread_create(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @81c0171e   17 years jakub Fix typo ALV tree vs. AVL tree. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @43b1e86   17 years martin prettyprint output lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b76a2217   18 years jakub Give the AVL tree walkers the possibility to take an argument. Each … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5dcee525   18 years jakub Replace the threads_btree B+tree with an AVL tree. The new variable is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7b63b6b   18 years jakub Kernel stack address was printed twice. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4680ef5   18 years jakub Fix a double-free recently introduced in revision r2436. Add a comment … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @48d14222   18 years jakub JoinMe → Lingering lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ea7890e7   18 years jakub More efficient and simpler task termination. Based on the assumption, … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d8431986   18 years jakub Fix the problem with sys_thread_create() by splitting the create and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f6d2c81   18 years jakub Fix two memory leaks. In kernel, kernel_uarg structure needs to be … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4365d10   18 years jakub Document and assert proper usage of THREAD_FLAG_WIRED. Original patch … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @de33dab   18 years jakub Revert some of the changes introduced in revision 2209. I think it is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @201abde   18 years martin make thread ID 64 bit (task ID is 64 bit already) cleanup thread syscalls lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3ce7f082   18 years martin add syscall for getting current thread ID lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @31d8e10   18 years jakub Continue to de-oversynchronize the kernel. - replace as→refcount with … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4184e76   18 years martin explicit typecast, fix signed/unsigned comparison lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5573942   18 years jakub Revert thread_interrupt_sleep() to waitq_interrupt_sleep(). I'd prefer … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b3f8fb7   18 years martin huge type system cleanup remove cyclical type dependencies across … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6f4495f5   18 years jakub Indentaion and formatting changes even Martin will like :-) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @df4ed85   18 years jakub © versus © lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4e33b6b   18 years jakub More formatting changes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @95155b0c   18 years martin benchmarking with statistics (initial) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @62b6d17   18 years martin introduce uncounted threads, whose accounting doesn't affect … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0313ff0   18 years martin accumulate task accounting, run tests as separate kernel task lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @449dc1ed   18 years martin proper initialization of last_cycle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cce6acf   18 years martin thread CPU cycles accounting lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @32fffef0   18 years jakub Define architecture-specific thread sub-constructors and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cfffb290   19 years martin finish security context isolation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @764c302   19 years martin initial security context support lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(add) @11675207   16 years Jakub Jermář Move everything to kernel/. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.