Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2188 6261 d 12 h decky /trunk/ new user space testing framework (unfinished)  
2187 6261 d 13 h decky /trunk/kernel/generic/ add syscall for getting current thread ID  
2186 6261 d 13 h decky /trunk/uspace/tester/ rename ipcc.c to tester.c  
2185 6261 d 13 h decky /trunk/ rename ipcc to tester  
2184 6261 d 15 h decky /trunk/kernel/generic/src/lib/ add zetta (sextillion) prefix
make constants explicitly unsigned
 
2183 6262 d 10 h jermar /trunk/kernel/generic/ Continue to de-oversynchronize the kernel.
- replace as->refcount with an atomic counter; accesses to this
reference counter are not to be done when the as->lock mutex is held;
this gets us rid of mutex_lock_active();

Remove the possibility of a deadlock between TLB shootdown and asidlock.
- get rid of mutex_lock_active() on as->lock
- when locking the asidlock spinlock, always do it conditionally and with
preemption disabled; in the unsuccessful case, enable interrupts and try again
- there should be no deadlock between TLB shootdown and the as->lock mutexes
- PLEASE REVIEW !!!

Add DEADLOCK_PROBE's to places where we have spinlock_trylock() loops.
 
2182 6263 d 2 h jancik /branches/arm/kernel/arch/arm32/ Alf: Paging ... not tested  
2181 6264 d 5 h konopa /branches/fs/kernel/doc/ New author added  
2180 6264 d 7 h stepan /branches/arm/kernel/arch/arm32/include/ exception vector locations added  
2179 6264 d 8 h stepan /branches/arm/kernel/arch/arm32/ exception handlers installation & initialization routines  
2178 6264 d 12 h kebrt /branches/arm/kernel/arch/arm32/include/ istate structure added  
2177 6264 d 16 h stepan /branches/arm/kernel/arch/arm32/src/ arch/regutils.h changes reflected  
2176 6264 d 16 h stepan /branches/arm/kernel/arch/arm32/include/ status registers manipulation macros  
2175 6265 d 6 h jancik /branches/arm/kernel/arch/arm32/ Alf: Disable ASID support  
2174 6266 d 10 h kebrt /branches/arm/kernel/arch/arm32/include/ atomic_add added  
2173 6266 d 17 h kebrt /branches/arm/kernel/arch/arm32/ console added, does not work yet  
2172 6266 d 17 h kebrt /branches/arm/kernel/arch/arm32/src/ memcpy added  
2171 6266 d 17 h kebrt /branches/arm/kernel/arch/arm32/ memcpy added  
2170 6267 d 3 h jermar /trunk/kernel/ Simplify synchronization in as_switch().
The function was oversynchronized, which
was causing deadlocks on the address
space mutex.

Now, address spaces can only be switched
when the asidlock is held. This also protects
stealing of ASIDs. No other synchronization
is necessary.
 
2169 6267 d 4 h kebrt /branches/arm/kernel/arch/arm32/src/ debug print added  

Show All