|
|
@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
|
|
|
@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
|
|
|
@fbaf6ac
|
2 years |
zarevucky.jiri |
Streamline thread load-balancing
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
|
|
|
@c680333
|
2 years |
zarevucky.jiri |
Move task switch handling into a separate function
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@6188fee
|
2 years |
zarevucky.jiri |
Exclude boot allocations in frame allocator
I think some platforms …
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
|
|
|
@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
|
|
|
@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
|
|
|
@e994898
|
2 years |
zarevucky.jiri |
Fix an oops
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
|
|
|
@c0b54c9
|
2 years |
zarevucky.jiri |
Thread is guaranteed to exist in waitq_sleep_timed_out
…
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
|
|
|
@b596d0d
|
2 years |
zarevucky.jiri |
Fix incorrect locking in cap_unpublish()
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
|
|
|
@07700ed
|
2 years |
zarevucky.jiri |
Don't mess with waitq internals to emulate the desired semantics
…
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33a3be8
|
2 years |
zarevucky.jiri |
Modify semantics of WAKEUP_ALL slightly
Previous implementation saves …
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
|
|
|
@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
|
|
|
@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
|
|
|
@e86f568
|
2 years |
zarevucky.jiri |
Initialize CURRENT→mutex_locks
It is not used anywhere yet, but will …
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
|
|
|
@8addb24a
|
2 years |
zarevucky.jiri |
Turn spin look hint into a function
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
|
|
|
@2b264c4
|
2 years |
zarevucky.jiri |
Add architecture-specific spinlock optimization
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
|
|
|
@95658c9
|
2 years |
zarevucky.jiri |
Put irq_spinlock_*() functions in a separate file
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eda43238
|
3 years |
zarevucky.jiri |
Hog the fame and glory
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab855cd
|
3 years |
zarevucky.jiri |
Remove unnecessary loop
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
|
|
|
@cd0a38e
|
3 years |
jakub |
Make km_unmap() right also on the other CPUs
The TLB shootdown …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ddd7f8
|
3 years |
jakub |
Don't unmap the entire kernel ASID during km_unmap
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ecac7e
|
4 years |
martin |
Improve merging zones once more
It is not sufficient to just mark the …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ebb3538
|
4 years |
martin |
Improve early kernel debugging prints
Since the early kernel …
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81d3612
|
4 years |
martin |
Fix memory corruption caused by merging zones
Originally, the frames …
serial
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
|
|
|
@7d83c54
|
4 years |
jiri |
Initialize backend_data.parea in dmamem_map_anonymous()
This was …
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
|
|
|
@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
|
|
|
@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
|
|
|
@f8fb03b
|
6 years |
martin |
propagate the elf_load() return value out of program_create_loader()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04b7f2f
|
6 years |
martin |
add space after the bracket for a more aesthetically pleasing output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe7bcf1
|
6 years |
martin |
fix race condition in traversing tasks
The task reference count can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6302ae
|
6 years |
martin |
add basic support for IPC statistics
Dumping of phone connections is …
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
|
|
|
@5667dca
|
6 years |
jiri |
Do not block faulted task until debugger exits
If a task faults while …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a2c96c
|
6 years |
jakub |
Check for unsigned wrap-around in malloc
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6068476
|
6 years |
zarevucky.jiri |
Modify HelenOS version variables to use unambiguous names
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa603e99
|
6 years |
zarevucky.jiri |
Fix unhandled error condition in udebug_name_read
Detected by GCC …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9675296
|
6 years |
zarevucky.jiri |
Some clang fixes
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
|
|
|
@42e91ae
|
6 years |
zarevucky.jiri |
Replace kernel's copy of str_uint64_t with a piece of strtol.c
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
|
|
|
@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
|
|
|
@ab87db5
|
6 years |
noreply |
Merge pull request #157
Turn some function-like macros into functions
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
|
|
|
@fafb8e5
|
6 years |
zarevucky.jiri |
Mechanically lowercase IPC_SET_*/IPC_GET_*
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb13ef8
|
6 years |
zarevucky.jiri |
Change IPC_GET_* and IPC_SET_* to accept pointer instead of lvalue
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb97118
|
6 years |
zarevucky.jiri |
Convert CAP_HANDLE_RAW and CAP_HANDLE_VALID into functions
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
|
|
|
@c477c80
|
7 years |
jiri |
Fix some common misspellings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca4c5596
|
7 years |
jakub |
Remove leftover mentions of B+tree
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@433d52f
|
7 years |
5887334+jxsvoboda |
No need to compute number of used pages again
In as_area_change_flags …
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
|
|
|
@5a2e0dd5
|
7 years |
jiri |
Be more careful when comparing large numbers
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
|
|
|
@c483fca
|
7 years |
noreply |
Merge pull request #68 from maurizio-lombardi/sched_fix_typo
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c742954
|
7 years |
mlombard |
scheduler: fix compile error in kcpulb() when KCPULB_VERBOSE is defined.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@392f0e7
|
7 years |
jiri |
Provide a way for kernel console on SKI to disable the user-space driver.
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
|
|
|
@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
|
|
|
@bcd4dd4
|
7 years |
zarevucky.jiri |
Use ispwr2 macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|