freebsd-skq/sys/amd64
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
..
acpica Trash the PnPBIOStable pointer later on when we know that the acpi probe 2002-09-30 18:45:20 +00:00
amd64 Round out the facilty for a 'bound' thread to loan out its KSE 2002-10-09 02:33:36 +00:00
compile
conf NB: This commit does *NOT* make GEOM the default in FreeBSD 2002-10-05 16:35:33 +00:00
ia32 Let kse_wakeup() take a KSE mailbox pointer argument. 2002-10-02 16:48:16 +00:00
include Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:02:06 +00:00
isa Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
pci o go ahead and route the interupt, even if it is supposedly unique. 2002-10-07 05:15:05 +00:00
Makefile