freebsd-dev/sys/ddb
Julian Elischer 48bfcddd94 Round out the facilty for a 'bound' thread to loan out its KSE
in specific situations. The owner thread must be blocked, and the
borrower can not proceed back to user space with the borrowed KSE.
The borrower will return the KSE on the next context switch where
teh owner wants it back. This removes a lot of possible
race conditions and deadlocks. It is consceivable that the
borrower should inherit the priority of the owner too.
that's another discussion and would be simple to do.

Also, as part of this, the "preallocatd spare thread" is attached to the
thread doing a syscall rather than the KSE. This removes the need to lock
the scheduler when we want to access it, as it's now "at hand".

DDB now shows a lot mor info for threaded proceses though it may need
some optimisation to squeeze it all back into 80 chars again.
(possible JKH project)

Upcalls are now "bound" threads, but "KSE Lending" now means that
other completing syscalls can be completed using that KSE before the upcall
finally makes it back to the UTS. (getting threads OUT OF THE KERNEL is
one of the highest priorities in the KSE system.) The upcall when it happens
will present all the completed syscalls to the KSE for selection.
2002-10-09 02:33:36 +00:00
..
db_access.c
db_access.h Remove __P. 2002-03-20 05:14:42 +00:00
db_break.c Remove __P. 2002-03-20 05:14:42 +00:00
db_break.h Remove __P. 2002-03-20 05:14:42 +00:00
db_command.c Indentation indicates missing braces. 2002-10-01 21:59:46 +00:00
db_command.h Remove __P. 2002-03-20 05:14:42 +00:00
db_elf.c Garbage-collected __ELF__ ifdefs. 2002-09-15 22:28:39 +00:00
db_examine.c Don't assume that pointers are 4 bytes or sizeof(int) in size. This fixes 2002-06-25 15:59:24 +00:00
db_expr.c Don't assume that pointers are 4 bytes or sizeof(int) in size. This fixes 2002-06-25 15:59:24 +00:00
db_input.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
db_kld.c Reconnect db_elf.c to the build (now under "options DDB_NOKLDSYM"). It 2002-05-07 10:59:52 +00:00
db_lex.c Remove __P. 2002-03-20 05:14:42 +00:00
db_lex.h Remove __P. 2002-03-20 05:14:42 +00:00
db_output.c Remove __P. 2002-03-20 05:14:42 +00:00
db_output.h Remove __P. 2002-03-20 05:14:42 +00:00
db_print.c
db_ps.c Round out the facilty for a 'bound' thread to loan out its KSE 2002-10-09 02:33:36 +00:00
db_run.c Split the declaration and the initialization of two variables. 2002-06-23 20:03:03 +00:00
db_sym.c Remove __P. 2002-03-20 05:14:42 +00:00
db_sym.h When talking about c_db_sym_t, mention that it is not just like db_sym_t: 2002-08-14 17:56:47 +00:00
db_sysctl.c Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
db_trap.c A set of changes to reduce the number of include files the kernel 2001-07-08 04:56:07 +00:00
db_variables.c Remove __P. 2002-03-20 05:14:42 +00:00
db_variables.h Remove __P. 2002-03-20 05:14:42 +00:00
db_watch.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
db_watch.h
db_write_cmd.c
ddb.h Constify to kill some warnings. 2002-09-21 17:29:36 +00:00