|
|
@3d84734
|
19 months |
zarevucky.jiri |
Make thread→priority weakly atomic to avoid need for locking
|
|
|
@efed95a3
|
19 months |
zarevucky.jiri |
Make thread→cpu weakly atomic, to avoid need for thread lock
|
|
|
@286da52
|
19 months |
zarevucky.jiri |
Streamline requeuing threads
Split thread_ready() into different …
|
|
|
@6a0e568
|
19 months |
zarevucky.jiri |
Allow fast-switch to another runnable thread
When a thread is …
|
|
|
@c1eaec4
|
19 months |
zarevucky.jiri |
Shuffle some locks around
|
|
|
@25939997
|
19 months |
zarevucky.jiri |
Make separate-stack-scheduler a loop with persistent context
We can …
|
|
|
@ed7e057
|
19 months |
zarevucky.jiri |
Add functions context_create(), context_replace() and context_swap()
…
|
|
|
@0f4f1b2
|
19 months |
zarevucky.jiri |
Add (and use) functions thread_start() and thread_detach()
Mostly …
|
|
|
@151c050
|
19 months |
zarevucky.jiri |
Rethink scheduler entry points
Changes the way scheduler is entered, …
|
|
|
@5663872
|
19 months |
zarevucky.jiri |
Move stuff around for thread sleep
Only mark the thread as ready for …
|
|
|
@4760793
|
19 months |
zarevucky.jiri |
Add CPU_LOCAL alongside CPU and segregate fields that are only used …
|
|
|
@de96d3b
|
19 months |
zarevucky.jiri |
On x86 CPUs supporting it, use write-combining memory mode for …
topic/simplify-dev-export
|
|
|
@40eab9f
|
21 months |
zarevucky.jiri |
Print symbol names and line numbers in stacktraces for init tasks
…
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1170cfc7
|
21 months |
zarevucky.jiri |
Remove include sorcery from DWARF constant definitions
Also add a …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63ed840
|
21 months |
zarevucky.jiri |
Remove unused functions gets() and getc() from kernel
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad9178bf
|
21 months |
zarevucky.jiri |
Deduplicate ADT
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55c5cb05
|
21 months |
zarevucky.jiri |
Deduplicate gsort()
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdfb24e
|
21 months |
zarevucky.jiri |
Deduplicate string related functions
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44e8541
|
21 months |
zarevucky.jiri |
Move stdlib.h and some of its function into /common
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b169619
|
21 months |
zarevucky.jiri |
Deduplicate mem functions
There are a number of functions which are …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@001957b6
|
21 months |
zarevucky.jiri |
ccheck
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fbb42f
|
21 months |
zarevucky.jiri |
Add printing of file names and line numbers in stacktraces
Uses DWARF …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da13982
|
21 months |
zarevucky.jiri |
Read symbol table from ELF sections
Instead of the currently broken …
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d28bdbe
|
21 months |
zarevucky.jiri |
Verify arguments of empty log calls
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@06f81c4
|
2 years |
zarevucky.jiri |
Check cpu_t::fpu_owner directly instead of …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@b2ec5cf
|
2 years |
zarevucky.jiri |
Implement atomic_time_stat_t for lockless timekeeping
We keep …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd218ea
|
2 years |
zarevucky.jiri |
Remove unnecessary thread_t::wired
There's already …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72ac106
|
2 years |
zarevucky.jiri |
Add list_swap() for swapping lists
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deed510
|
2 years |
zarevucky.jiri |
Remove an unused variable and make a few others 'static'
They aren't …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65f3117
|
2 years |
zarevucky.jiri |
Make bootstrap stack statically, rather than dynamically allocated
…
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f84ee42
|
2 years |
zarevucky.jiri |
Fix a bug accidentally introduced in 4777e022
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4777e02
|
2 years |
zarevucky.jiri |
Make spinlock functions inlineable in non-SMP case
By popular demand.
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@76e17d7c
|
2 years |
zarevucky.jiri |
Reorganize mutex implementation
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11d2c983
|
2 years |
zarevucky.jiri |
Reorganize locking in thread_destroy()
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@daadfa6
|
2 years |
zarevucky.jiri |
Remove unnecessary context field from cpu_t structure
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c78104
|
2 years |
zarevucky.jiri |
Get rid of waitq_count_get/set
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@ba25c4b
|
2 years |
zarevucky.jiri |
Synchronize timeout_unregister() with handler execution
This ensures …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78acbc72
|
2 years |
zarevucky.jiri |
Remove unused thread_interrupted(), make thread_interrupt() useful
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@7c5320c
|
2 years |
zarevucky.jiri |
Use the semaphore interface instead of waitq in some places
Since we …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5110d0a
|
2 years |
zarevucky.jiri |
Turn a bunch of macros into regular functions
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61eb2ce2
|
2 years |
zarevucky.jiri |
Make hash table operations immutable, because global mutable state is evil
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@b076dfb
|
2 years |
zarevucky.jiri |
Implement more elaborate debug checking for spinlocks
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f43d8ce
|
2 years |
zarevucky.jiri |
Make spinlock_lock/unlock into proper functions in all configurations
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61ae4b0
|
3 years |
zarevucky.jiri |
A bit of cleanup
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46b305a
|
3 years |
zarevucky.jiri |
Remove redundant timeout→lock
See the previous commit for …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad58fd2
|
3 years |
zarevucky.jiri |
Make timeout→cpu immutable
We ensure timeout→cpu is only changed in …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@742f95ec
|
3 years |
zarevucky.jiri |
Replace timeout→ticks with timeout→deadline
Instead of counting …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9dda26
|
3 years |
zarevucky.jiri |
Update uptime using absolute count of clock ticks
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31e15be
|
4 years |
5887334+jxsvoboda |
kernel: deprecate atomic_t
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69511176
|
4 years |
martin |
Avoid undefined behavior even more
While the previous implementation …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36795edf
|
4 years |
martin |
Improve lists and other data structures
Provide more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e037cf37
|
5 years |
jiri |
Show kernel console again when its physical area is unmapped
It's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1582b50
|
5 years |
jiri |
Fix spacing in single-line comments using latest ccheck
This found …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@28a5ebd
|
5 years |
martin |
Use char32_t instead of wchat_t to represent UTF-32 strings
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@ad211c8
|
6 years |
martin |
remove unnecessary SYSCALL_END
The size of the syscall table is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0de8c
|
6 years |
jakub |
Move kobject's ops out of kobject
Kobject ops is a property of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@bdca26a
|
6 years |
jakub |
Removing printf when failing from lib/rtld
If rtld failed a message …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84176f3
|
6 years |
jakub |
arm64: Add support for the architecture
This changeset adds basic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46e886f
|
6 years |
jakub |
Add port/MM IO agnostic functions to map/unmap PIO
In kernel we have …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e801dc
|
6 years |
noreply |
Indicate and enforce constness of hash table key in certain functions …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4805495
|
6 years |
zarevucky.jiri |
Make sure libc and abi header guards are reserved identifiers
It's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df5f20
|
6 years |
zarevucky.jiri |
Rename NO_TRACE to _NO_TRACE
<trace.h> may end up transitively …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d066259
|
6 years |
zarevucky.jiri |
Synchronize str.c/str.h across boot/kernel/uspace
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@247fdea
|
7 years |
5887334+jxsvoboda |
Remove B+tree
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fc3b2d
|
7 years |
5887334+jxsvoboda |
Replace B+tree with ordered dict. for used space
Replace the use of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@de0af3a
|
7 years |
5887334+jxsvoboda |
Use ordered dictionary for pagemap instead of B+tree
At the same time …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca21f1e2
|
7 years |
jakub |
Provide only one way to destroy address spaces
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d91488d
|
7 years |
jiri |
Fix endless loop in elf_share() walking the wrong B+tree. Fix ELF …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0705fc5
|
7 years |
jakub |
Fix warnings in non-debug build
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@543662b
|
7 years |
jakub |
Fix non-debug build
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b3fcf36
|
7 years |
jiri |
IPC share-in test using text and data segment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60615bd
|
7 years |
zarevucky.jiri |
Modify kernel malloc()
This new implementation places the allocation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e394c196
|
7 years |
jakub |
Use a dedicated cache for instances of kobject_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b8fad2
|
7 years |
jakub |
Make user waitq more generic
By allowing SYS_WAITQ_SLEEP to specify …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@269bc459
|
7 years |
jakub |
Add SYS_WAITQ_DESTROY
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b5203b
|
7 years |
jakub |
Remove futex support from kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d314571
|
7 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
|
|
|
@aafed15
|
7 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
|
|
|
@95d45482
|
7 years |
zarevucky.jiri |
XXX to NOTE
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f3aa76
|
7 years |
zarevucky.jiri |
Remove nfmalloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b389f95
|
7 years |
zarevucky.jiri |
Allow as_get_area_info() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deacd722
|
7 years |
zarevucky.jiri |
Allow thread_create_arch() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90efa3b
|
7 years |
zarevucky.jiri |
Remove flags from ipc_call_alloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b9a2725
|
7 years |
zarevucky.jiri |
Allocate call for ipc_phone_hangup() ahead of time
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88e43bc
|
7 years |
zarevucky.jiri |
Mark unreachable consistently in kernel
At least in places that were …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d19b3fc
|
7 years |
jakub |
Remove smp_call
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aae365bc
|
7 years |
jakub |
Remove RCU and CHT support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@947ab77e
|
7 years |
jakub |
Stop using CHT in futexes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bed67f2
|
7 years |
jakub |
Remove SYS_SMP_MEMORY_BARRIER syscall
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|