|
|
@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
|
|
|
@f173404
|
15 years |
jiri |
Fix locking in ipc_kbox_cleanup(). This was a leftover from the time …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c964521
|
15 years |
jakub |
Lock the page tables before initiating the TLB shootdown, avoiding …
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
|
|
|
@52c60b6
|
15 years |
jakub |
Fix non-SMP builds.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6f0e3a2
|
15 years |
jiri |
Fix lock ordering in kbox_proc_hone_hungup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2fcdb1
|
15 years |
jakub |
Merge fix for ticket #232.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd98e594
|
15 years |
jakub |
Lock THREAD before calling thread_update_accounting() from exc_dispatch().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e984f2
|
15 years |
jakub |
Disable interrupts and lock THREAD before calling …
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
|
|
|
@2afb650
|
15 years |
martin |
unify printf implementations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1624aae
|
15 years |
jakub |
Assert that as_destroy() is not being called on AS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481d4751
|
15 years |
jakub |
Fix a race condition between the scheduler and as_destroy().
It was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@663bb537
|
15 years |
jakub |
Fix comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d3808d3
|
15 years |
jakub |
Do not clear TASK in task_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6193351
|
15 years |
jakub |
Deploy as_hold() and as_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0321109
|
15 years |
jakub |
Add as_hold() and as_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ed8530
|
15 years |
jakub |
Deploy task_hold() and task_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@278b4a30
|
15 years |
jakub |
Add task_hold() and task_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ce914d4
|
15 years |
martin |
get rid of atoi, use str_uint64
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
|
|
|
@55821eea
|
15 years |
jakub |
Do not use blocking malloc() in make_magcache().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a422bc5
|
15 years |
jakub |
Do not hold TASK→lock during the call to as_area_create(TASK→as, …).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@373acb4
|
15 years |
jakub |
Replace the parea_lock spinlock with mutex and don't insist on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6218327
|
15 years |
jakub |
When taking sysinfo_lock, interrupts don't have to be disabled.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e121b8
|
15 years |
jakub |
Load lock can be mutex a interrupts are not required to be disabled …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b6626d3
|
15 years |
jakub |
Replace sysinfo_lock spinlock with a mutex.
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
|
|
|
@05411e8
|
15 years |
jakub |
Panic the kernel during a blocking request to allocate physical memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8f7ea78
|
15 years |
Jakub Jermář |
Remove the over-zealous ASSERT(missed_clock_ticks == 0) from clock(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4ad39f
|
15 years |
jakub |
Do not hold the sysinfo spinlock either when doing copy_from_uspace().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aeb6f25
|
15 years |
jakub |
Do copy_to_uspace() when not holding the sysinfo spinlock. The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acda8f0
|
15 years |
jakub |
Proper way of testing the mutex_trylock() return value.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@170332d
|
15 years |
Jakub Jermář |
Disable interrupts when taking TASK→lock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d69f959
|
15 years |
jakub |
Take the address space and address space area mutexes conditionally in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa028db
|
15 years |
jakub |
Fix ipc_wait_for_call() not to take the TASK spinlock while holding …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37c9fc8
|
15 years |
jakub |
Cherry pick revision 404 from lp:~ersin/helenos/measure2.
This fixes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a721f6a
|
15 years |
martin |
tiny cstyle modifications (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9efff92
|
15 years |
martin |
simplify load calculation, the number of ready threads is available …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd01a4e
|
15 years |
martin |
indicate inactive CPUs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dec16a2
|
15 years |
martin |
- sysinfo items "system.tasks" and "system.threads" now return …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@70e2b2d
|
15 years |
martin |
avoid costly allocation and generation of data when it is actually not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80bfb601
|
15 years |
martin |
improve sysinfo and stats documentation (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a80687e5
|
15 years |
martin |
add missing include
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9dae191e
|
15 years |
martin |
sysinfo API cleanup
- better support for generated subtrees
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30a5470
|
15 years |
martin |
string to integer conversion routines
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88dea9d
|
15 years |
martin |
merge from measuring branch
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ba201d
|
15 years |
martin |
cstyle changes (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b658c5d
|
15 years |
martin |
fix possible garbage dereference (subtree.table always needs to be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9fae235
|
15 years |
martin |
sysinfo overhaul
- cleanup (nicer data structures, use of SLAB …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abf09311
|
15 years |
martin |
much safer implementation of str_dup() and str_ndup()
port str_dup() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3631bc
|
15 years |
martin |
add sysinfo kconsole command
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95319bd
|
15 years |
stanislav.kozina |
Added dummy_load utility.
It just does some dummy load - either in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a307beb
|
15 years |
stanislav.kozina |
IPC statistics measured.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9fff17
|
15 years |
jiri |
Replace the still buggy GET_CHECK_PHONE() macro with a function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75ebb5b6
|
15 years |
jakub |
Make phoneid comparison always unsigned in GET_CHECK_PHONE().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34aac916
|
15 years |
jakub |
Fix off-by-one error in GET_CHECK_PHONE().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7e45c8
|
15 years |
jakub |
sys_ipc_hangup() should treat the phoneid as unative_t so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@638927a
|
15 years |
stanislav.kozina |
top echoes also thread state overview
write_barrier() after computing …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@faf38b2
|
15 years |
stanislav.kozina |
Removed thread selection from kernel.
Now all threads are copied to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a3ccbc
|
15 years |
stanislav.kozina |
Echo task memory in kb instead of pages count
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@516adce
|
15 years |
stanislav.kozina |
top echoes also physical memory overview
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@acc3f745
|
15 years |
stanislav.kozina |
sys_get_task_info bugfix (cheking task id)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f56d93
|
15 years |
stanislav.kozina |
top echoes also task list
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62550dce
|
15 years |
stanislav.kozina |
ps -c echoes info about CPU's
cpu count is accessible through …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79edc36
|
15 years |
stanislav.kozina |
System load echo fix, now it looks realistic
top echoes first values …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0379fc
|
15 years |
stanislav.kozina |
uptime
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e257ae3
|
15 years |
stanislav.kozina |
Counting CPU busy and idle clock ticks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@944f2cab
|
15 years |
stanislav.kozina |
ps -l echoes system load
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a10e34
|
15 years |
stanislav.kozina |
Added kload thread
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07640dfd
|
15 years |
stanislav.kozina |
Small changes on kernel & user accounting.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@34bba0e
|
15 years |
stanislav.kozina |
Tweaking ps
ps -t echoes also current CPU
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18b5402c
|
15 years |
stanislav.kozina |
ps
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
|
|
|
@19f857a
|
15 years |
jiri |
Rename string.h to str.h to avoid header conflict with standard C string.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91001e2
|
15 years |
martin |
refactorize program handling, report all failures by the means of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@7af8c0e
|
15 years |
martin |
when no address space is set, then returning AS_PF_FAULT is actually …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@228666c
|
15 years |
martin |
introduce atomic_count_t as the explicit type of the internal value in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8da2a3
|
15 years |
martin |
enable kernel console output in case of kernel panic
- the panic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f430f58
|
15 years |
jakub |
Fix unlocking in ddi_physmem_map().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26d3ae2
|
15 years |
martin |
cleanup ipi-related stuff
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b473611
|
15 years |
jakub |
Merge the sparc branch.
Both sun4u and sun4v appear to work.
HM …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab4bace
|
15 years |
jiri |
Merge ADB drivers. Brings userspace keyboard and mouse for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a2f8aa
|
15 years |
jiri |
ADB driver for userspace, ADB keyboard support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c713aa56
|
15 years |
jakub |
Do not deadlock when the task cleans up messages it sent itself.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3698e44
|
15 years |
jiri |
Add ability to determine task name and load symbol table from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80487bc5
|
15 years |
jiri |
Allow taskdump to read register state and extract PC, FP (not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d21b53
|
15 years |
jiri |
Move code code waiting for debugger to udebug.c:udebug_thread_fault(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a074b4f
|
16 years |
jiri |
Implement fault notifications and task monitoring service.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@336db295
|
16 years |
jiri |
Fix THREAD_READ, add AREAS_READ Udebug method. Add task dump utility.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99de22b
|
16 years |
pavel |
Merged latest trunk changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@563d6077
|
16 years |
jakub |
Fix off-by-one error in kconsole command matching code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6069801
|
16 years |
jakub |
Add generic support for kernel stack traces.
One can print …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|