|
|
@496232e
|
10 years |
jakub |
Make sure the thread blocking on a futex is stoppable and that it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@759ea0d
|
11 years |
jakub |
Lock futex_ht_lock spinlock after page_table_lock()
The current …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1c57a8
|
11 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
|
|
|
@feeac0d
|
12 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@207e8880
|
13 years |
adam.hraska+hos |
futex: Switched from using mutexes to spinlocks in futex subsystem.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04552324
|
13 years |
adam.hraska+hos |
cht, workq: Got rid of warnings in release builds.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ac5086
|
13 years |
adam.hraska+hos |
Fixed kernel futex cleanup: now walks list via correct links and frees …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43b8c65
|
13 years |
adam.hraska+hos |
Added syscall smp_memory_barrier.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0c26ac
|
13 years |
adam.hraska+hos |
CHT with futexes is only a cache, so access it lazily.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba368a6
|
13 years |
adam.hraska+hos |
Added futex subsystem overview comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c28413a9
|
13 years |
adam.hraska+hos |
cht: Added cht_create_simple(). cht_create() can now block until …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@669f3d32
|
13 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
|
|
|
@0adfc9d
|
13 years |
adam.hraska+hos |
workqueue: Replaced thread.h include with a forward declaration.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82719589
|
13 years |
adam.hraska+hos |
rcu: Made both A-RCU and Podzimek-Preempt-RCU exception safe.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbe6b65
|
13 years |
adam.hraska+hos |
rcu: Gave a high-level overview/description of the rcu algorithms.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@853d613
|
13 years |
adam.hraska+hos |
rcu: Fixed the race of smp_call sampling functions when accessing the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9fe9d296
|
13 years |
adam.hraska+hos |
Fix: waitq_sleep_timeout() waits for its waitq_wakeup() to complete …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@497bd656
|
13 years |
adam.hraska+hos |
Fix: averted a possible deadlock in condvar_wait_timeout() (eg when a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc106e4
|
13 years |
adam.hraska+hos |
Fixed build for sparc64/ultra, sparc64/niagara, ppc32, mips32/GXemul.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@205832b
|
13 years |
adam.hraska+hos |
Replaced 0 with NULL where appropriate (in rcu, cht, uspace hashtable, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbe17545
|
13 years |
adam.hraska+hos |
rcu: Prints a warning if a thread exits while in an rcu read section.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09737cc
|
13 years |
adam.hraska+hos |
rcu: Fixed some misplaced asserts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3648ea56
|
13 years |
adam.hraska+hos |
rcu: Cosmetic change. Shaved off some overhead in rcu_call().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4d36f9
|
13 years |
adam.hraska+hos |
rcu: Added another preemptible kernel rcu - A-RCU.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0fcb04
|
13 years |
adam.hraska+hos |
rcu: Replaced checking three variables to see if the detector needs to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b03a72
|
13 years |
adam.hraska+hos |
rcu: Switched from using THREAD→nesting_cnt to CPU→nesting_cnt as …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e3ed06
|
13 years |
adam.hraska+hos |
rcu: Allowed inlining of the RCU read side.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ec9ea41
|
13 years |
adam.hraska+hos |
rcu: Added rcu_barrier() that waits for all outstanding rcu_calls to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a6da62
|
13 years |
adam.hraska+hos |
rcu: Added rcu_read_locked().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cf813d
|
13 years |
adam.hraska+hos |
rcu: Added new statistics. Changed reclaimers to run callbacks with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c14762e
|
13 years |
adam.hraska+hos |
adt: Removed duplicate implementations of list_concat().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@b68ae24
|
13 years |
adam.hraska+hos |
rcu: Fixed printing incorrect statistics.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f8745c5
|
13 years |
adam.hraska+hos |
workq: Moved almost all tests to a single test entry function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@3954961e
|
13 years |
adam.hraska+hos |
waitq: Added ability to wait for the completion of a running wakeup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d56712
|
13 years |
adam.hraska+hos |
workq: Added magic cookie integrity checks. Fixed test workqueue1.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@46a5b37
|
13 years |
adam.hraska+hos |
synch: Condvars can now wait with spinlocks and not just a mutex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79d74fe
|
13 years |
adam.hraska+hos |
rcu: initial files with dummy functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e5dabf
|
13 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fce7b43
|
13 years |
jakub |
Fix build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2d308f
|
13 years |
jakub |
Examine the lock→guard in irq_spinlock_trylock() only when the lock …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@311929ec
|
13 years |
jakub |
Print stack traces when looping on a spinlock or an active mutex is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 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
|
|
|
@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
|
|
|
@0ff03f3
|
14 years |
jakub |
Allow calling page_mapping_find() with unlocked page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c263c77
|
14 years |
martin |
revert poisonous part of changeset mainline,971
(sadly, this reopens #243)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@712c4ba
|
14 years |
martin |
avoid spinlocks to be taken in the direct code path to physically …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df58e44
|
15 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
|
|
|
@96b02eb9
|
15 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
|
|
|
@7e752b2
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b4a67a
|
15 years |
jakub |
Use a more portable definition of NULL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a49a1a1
|
15 years |
jakub |
Do not disable interrupts in sys_futex_wakeup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee42e43
|
15 years |
jakub |
Retire kernel rwlocks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdaad75d
|
15 years |
jakub |
Do not disable interrupts unnecessarily.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@313b617
|
15 years |
jakub |
Remove spinlock_unlocked() and irq_spinlock_unlocked() interfaces …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffe4a87
|
15 years |
jakub |
Add interfaces for testing the status of plain spinlocks and the IRQ …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7da4284
|
15 years |
jakub |
Add interface for testing the state of a mutex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5df7928
|
15 years |
jakub |
Add interface for determining the semaphore count.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7398c0
|
15 years |
jakub |
Add interfaces for getting and setting the waitq missed_wakeups.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a9f1372
|
15 years |
jakub |
Move the irq_spinlock code to spinlock.c for better debuggability.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@2b4a9f26
|
15 years |
martin |
Add interrupts-disabled spinlocks whose purpose is the semantic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e4e706
|
15 years |
martin |
cstyle changes (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4039c77
|
15 years |
jakub |
Add assertion to detect attempts to block when hodling a spinlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13108f24
|
15 years |
jakub |
Split spinlock_unlock() into a debug and non-debug version.
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a3900cc
|
15 years |
jakub |
Make taking mutex in a non-thread context possible via busy waiting. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ec34bb
|
15 years |
stanislav.kozina |
bugfix: synch/waitq.c saves THREAD→last_cycle after context restored.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d99c1d2
|
15 years |
martin |
use [u]int{8|16|32|64}_t type definitions as detected by the autotool …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@4774a32
|
16 years |
jakub |
Greatly simplify futexes.
Drop timeout support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90c8b8d
|
16 years |
martin |
extend the spinlock interface (static spinlocks, statically declared …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c4a56f
|
16 years |
jakub |
Support for waitq_unsleep().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@98000fb
|
16 years |
martin |
remove redundant index_t and count_t types (which were always quite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44814b8
|
16 years |
martin |
more readable spinning printout
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60c582
|
16 years |
martin |
update for string changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e16e0d59
|
16 years |
jirik.svoboda |
Make optionality of symbol information less intrusive per Jakub's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2b762ec
|
16 years |
jirik.svoboda |
Make kernel symbol information optional.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f651e80
|
17 years |
jirik.svoboda |
Make newlines in panic messages consistent. Add periods at end of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@741fd16
|
17 years |
jirik.svoboda |
Stoppability sections must be much smaller (design error). Also fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@08a19ba
|
17 years |
jakub |
Support for active mutexes. Active mutexes implement busy waiting, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ed4014
|
17 years |
martin |
proper printf formatting
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83512f21
|
17 years |
jakub |
More formatting changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ace9358
|
17 years |
jakub |
Formatting improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@929ce92
|
17 years |
jakub |
timeouted vs. timed out
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c441cf8
|
17 years |
martin |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c8ba05
|
18 years |
jakub |
Cleanup the waitq_wakeup() interface.
Replace numeric constants (i.e. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6adbe3c2
|
18 years |
martin |
reflect the renaming of printflock to printf_lock
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@5573942
|
19 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
|
|
|
@b3f8fb7
|
19 years |
martin |
huge type system cleanup
remove cyclical type dependencies across …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f4495f5
|
19 years |
jakub |
Indentaion and formatting changes even Martin will like
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df4ed85
|
19 years |
jakub |
© versus ©
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e33b6b
|
19 years |
jakub |
More formatting changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@06e1e95
|
19 years |
jakub |
C99 compliant header guards (hopefully) everywhere in the kernel. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11675207
|
17 years |
Jakub Jermář |
Move everything to kernel/.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|