freebsd-dev/lib/libc
Marcel Moolenaar 8955f59879 Override the default stubs for getcontext(2) and swapcontext(2) so
that we can flush the register stack prior to entering the kernel.
This avoids having dirty registers and saves us from having to
manually write them to the backing store from within the kernel.
In that respect, flushing the RSE is both functionally required as
well as performance optimal.

On average we had 18 dirty registers when getcontext(2) was called
from libthr. Since libthr does not switch back to a context created
by getcontext(2), not having dealt with the dirty registers was
harmless.
2003-08-02 00:49:36 +00:00
..
alpha Only allow trapframe formats instead of sigframe formats like the 2003-07-30 06:36:20 +00:00
amd64 Set mc_len to sizeof(mcontext_t), otherwise it is an invalid context. 2003-07-26 12:58:28 +00:00
compat-43 Explain the relationship to POSIX. 2003-06-20 22:41:00 +00:00
db Fix a sizeof error in __bt_put: when writing they key and data sizes 2003-05-30 11:05:08 +00:00
gdtoa Userland spinlocks bad. Sleep locks good. 2003-06-21 08:20:14 +00:00
gen The upper end of the range of arc4random(3) is 2**32-1, not 2**31-1. 2003-07-31 06:18:24 +00:00
gmon Use C99 compatible ASM statements. 2003-06-02 02:32:22 +00:00
i386 Update manual for i386_set_ldt to reflect newly added features. 2003-07-31 02:13:48 +00:00
ia64 Override the default stubs for getcontext(2) and swapcontext(2) so 2003-08-02 00:49:36 +00:00
include Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
locale Add support for gb18030 encoding 2003-07-29 07:52:44 +00:00
net An u_int8_t can never be bigger than 255, so remove a useless check. 2003-07-25 12:23:25 +00:00
nls Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
posix1e Print group name in getfacl output when calculating an effective 2003-07-24 23:33:25 +00:00
powerpc Add a comment describing why it's important for the values in this 2003-05-08 13:50:44 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
rpc Kill prototype for __msgwrite too. It is not needed anymore. 2003-06-15 10:55:39 +00:00
sparc64 Add a comment describing why it's important for the values in this 2003-05-08 13:50:44 +00:00
stdio Add more useful cross-references to the SEE ALSO section. 2003-07-05 07:55:34 +00:00
stdlib Cross-reference arc4random(3). 2003-07-31 06:18:34 +00:00
stdtime Fixes to locale code to properly use indirect pointers in order to prevent 2003-06-13 00:14:07 +00:00
string * Merge index(3) and rindex(3) to index(3) since the two functions are 2003-07-28 22:50:42 +00:00
sys Document an additional error return value. The connect(2) call can also 2003-07-23 22:00:08 +00:00
uuid mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
xdr Fix amd(8) clients, if a FreeBSD mountd(8) server is used. 2003-05-28 09:13:09 +00:00
yp Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
Makefile Axe AINC. 2003-07-01 15:07:01 +00:00