Subversion Repositories HelenOS

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4605 5613 d 6 h decky /branches/snapshot/ add task snapshoting branch  
/branches/snapshot
4602 5615 d 4 h decky /trunk/uspace/app/tester/ tester framework rewrite (go from a menu-driven interface to command-line interface)  
/trunk/uspace/app/tester/print/print2.c
/trunk/uspace/app/tester/print/print2.def
/trunk/uspace/app/tester/print/print3.c
/trunk/uspace/app/tester/print/print3.def
/trunk/uspace/app/tester/devmap
/trunk/uspace/app/tester/ipc/answer.c
/trunk/uspace/app/tester/ipc/answer.def
/trunk/uspace/app/tester/ipc/hangup.c
/trunk/uspace/app/tester/ipc/hangup.def
/trunk/uspace/app/tester/ipc/send_async.c
/trunk/uspace/app/tester/ipc/send_async.def
/trunk/uspace/app/tester/ipc/send_sync.c
/trunk/uspace/app/tester/ipc/send_sync.def
/trunk/uspace/app/tester/Makefile
/trunk/uspace/app/tester/console/console1.c
/trunk/uspace/app/tester/fault/fault1.c
/trunk/uspace/app/tester/fault/fault2.c
/trunk/uspace/app/tester/ipc/connect.c
/trunk/uspace/app/tester/ipc/ping_pong.c
/trunk/uspace/app/tester/ipc/register.c
/trunk/uspace/app/tester/loop/loop1.c
/trunk/uspace/app/tester/print/print1.c
/trunk/uspace/app/tester/print/print1.def
/trunk/uspace/app/tester/print/print4.c
/trunk/uspace/app/tester/stdio/stdio1.c
/trunk/uspace/app/tester/stdio/stdio2.c
/trunk/uspace/app/tester/tester.c
/trunk/uspace/app/tester/tester.h
/trunk/uspace/app/tester/thread/thread1.c
/trunk/uspace/app/tester/vfs/vfs1.c
2479 6353 d 7 h jermar /trunk/ New, better-structured, directory layout for uspace.  
/trunk/uspace/app
/trunk/uspace/app/init
/trunk/uspace/app/klog
/trunk/uspace/app/tester
/trunk/uspace/app/tetris
/trunk/uspace/lib
/trunk/uspace/lib/libc
/trunk/uspace/lib/softfloat
/trunk/uspace/lib/softint
/trunk/uspace/srv
/trunk/uspace/srv/console
/trunk/uspace/srv/fb
/trunk/uspace/srv/fs
/trunk/uspace/srv/kbd
/trunk/uspace/srv/ns
/trunk/uspace/srv/pci
/trunk/uspace/srv/rd
/trunk/uspace/console
/trunk/uspace/fb
/trunk/uspace/fs
/trunk/uspace/init
/trunk/uspace/kbd
/trunk/uspace/klog
/trunk/uspace/libc
/trunk/uspace/ns
/trunk/uspace/pci
/trunk/uspace/rd
/trunk/uspace/softfloat
/trunk/uspace/softint
/trunk/uspace/tester
/trunk/uspace/tetris
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia32xen/Makefile.inc
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/contrib/conf/ski.conf
/trunk/uspace/Makefile
/trunk/uspace/app/init/Makefile
/trunk/uspace/app/klog/Makefile
/trunk/uspace/app/tester/Makefile
/trunk/uspace/app/tetris/Makefile
/trunk/uspace/app/tetris/input.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/arch/amd64/_link.ld.in
/trunk/uspace/lib/libc/arch/arm32/Makefile.inc
/trunk/uspace/lib/libc/arch/arm32/_link.ld.in
/trunk/uspace/lib/libc/arch/ia32/_link.ld.in
/trunk/uspace/lib/libc/arch/ia64/Makefile.inc
/trunk/uspace/lib/libc/arch/ia64/_link.ld.in
/trunk/uspace/lib/libc/arch/mips32/Makefile.inc
/trunk/uspace/lib/libc/arch/mips32/_link.ld.in
/trunk/uspace/lib/libc/arch/ppc32/_link.ld.in
/trunk/uspace/lib/libc/arch/ppc64/_link.ld.in
/trunk/uspace/lib/libc/arch/sparc64/_link.ld.in
/trunk/uspace/srv/console/Makefile
/trunk/uspace/srv/fb/Makefile
/trunk/uspace/srv/fs/Makefile
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/ns/Makefile
/trunk/uspace/srv/pci/Makefile
/trunk/uspace/srv/pci/libpci/Makefile
/trunk/uspace/srv/rd/Makefile
2230 6428 d 4 h jermar /trunk/uspace/ Remove printf() serialization from thread1 test in tester.
The agreement among developers seems to be that:
- there _must_ be a futex to serialize access to printf()
- there _must_ be pseudo thread serialization in printf()
- the best place for this is vprintf(), the one that goes to console
 
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/tester/thread/thread1.c
2229 6428 d 6 h jermar /trunk/ Revert some of the changes introduced in revision 2209.
I think it is not correct to remove serialization of pseudo threads in printf_core.c.
With thread-level futex serialization, several pseudo threads running in one thread could easily deadlock
the task.

Add a dedicated futex serialization to thread1.c test only.
 
/trunk/kernel/generic/src/proc/thread.c
/trunk/uspace/libc/arch/sparc64/src/thread_entry.s
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/tester/fault/fault1.c
/trunk/uspace/tester/fault/fault2.c
/trunk/uspace/tester/thread/thread1.c
2216 6430 d 0 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia32xen/include/types.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/arch/ppc32/include/types.h
/trunk/kernel/arch/ppc64/include/types.h
/trunk/kernel/arch/sparc64/include/types.h
/trunk/kernel/generic/include/interrupt.h
/trunk/kernel/generic/include/proc/task.h
/trunk/kernel/generic/include/proc/thread.h
/trunk/kernel/generic/src/adt/btree.c
/trunk/kernel/generic/src/console/cmd.c
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/proc/scheduler.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/kernel/test/fpu/fpu1.c
/trunk/kernel/test/fpu/mips2.c
/trunk/kernel/test/fpu/sse1.c
/trunk/kernel/test/mm/falloc2.c
/trunk/kernel/test/mm/slab1.c
/trunk/kernel/test/mm/slab2.c
/trunk/kernel/test/synch/rwlock3.c
/trunk/kernel/test/synch/rwlock4.c
/trunk/kernel/test/synch/semaphore2.c
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/include/thread.h
/trunk/uspace/tester/thread/thread1.c
2210 6430 d 2 h decky /trunk/ use more useful values  
/trunk/kernel/test/thread/thread1.c
/trunk/uspace/tester/thread/thread1.c
2188 6431 d 6 h decky /trunk/ new user space testing framework (unfinished)  
/trunk/uspace/tester/ipc
/trunk/uspace/tester/ipc/connect.c
/trunk/uspace/tester/ipc/connect.def
/trunk/uspace/tester/ipc/register.c
/trunk/uspace/tester/ipc/register.def
/trunk/uspace/tester/print
/trunk/uspace/tester/print/print1.c
/trunk/uspace/tester/print/print1.def
/trunk/uspace/tester/tester.h
/trunk/uspace/tester/thread
/trunk/uspace/tester/thread/thread1.c
/trunk/uspace/tester/thread/thread1.def
/trunk/kernel/test/print/print1.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/generic/time.c
/trunk/uspace/libc/include/thread.h
/trunk/uspace/libc/include/unistd.h
/trunk/uspace/tester/Makefile
/trunk/uspace/tester/tester.c