Commit Graph

114554 Commits

Author SHA1 Message Date
itojun 7ded9690f4 after pfil_run_hooks, need to fix hlen as well 2003-06-30 01:22:51 +00:00
itojun 868bbd9978 fix indent 2003-06-30 01:21:11 +00:00
marcus 6aeeb40d4a Updated to work with current rtld code. 2003-06-30 00:50:46 +00:00
marcus 5404577abf SH also has a bogus DT_TEXTREL, it seems. 2003-06-30 00:49:25 +00:00
itojun 725c585956 remove IPv4 hook if IPv6 hook fails (seems to be cut-and-paste error). 2003-06-30 00:15:12 +00:00
bjh21 548e2c20bb Clean up the mechanism used for opening output files. Rather than freopening
stdout onto each file in turn, then writing through fileno(stdout), use
open() and close() like any sensible program.  This saves a lot of system
calls, removes a dependency on the particular behaviour of BSD freopen(),
and allows us to detect and report errors from close().
2003-06-29 22:57:23 +00:00
fvdl 4fdb86c883 Back out previous. 2003-06-29 22:35:35 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
bouyer 7a5f4f28d0 Don't use LBA48 if we don't have to (that is, if the request is inside the
first 128GB). Tested by Andreas Johansson.
2003-06-29 19:28:16 +00:00
ragge 679db94879 Add code to remember where in the send queue of mbufs the last packet was
sent from. This change avoid a linear search through all mbufs when using
large TCP windows, and therefore permit high-speed connections on long
distances.

Tested on a 1 Gigabit connection between Luleå and San Francisco, a distance
of about 15000km.  With TCP windows of just over 20 Mbytes it could keep up
with 950Mbit/s.

After discussions with Matt Thomas and Jason Thorpe.
2003-06-29 18:58:26 +00:00
thorpej d189d63466 Fix problems with the ktrace/lwp changes. 2003-06-29 18:53:52 +00:00
thorpej a06b275edc Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.
2003-06-29 18:43:21 +00:00
aymeric baf9a7e65c Do not use RELOC() after the MMU is enabled.
Move the two assignments that were made after the MMU is on, before.

From Gunther Nikl on port-amiga@. Thanks!
2003-06-29 18:41:47 +00:00
martin f73e5a517d #ifdef _KERNEL_OPT police 2003-06-29 18:11:14 +00:00
martin 40ee31ef5e Since a caddr_t is (mis-)used as the lwp-id, cast it to intptr_t and use
apropriate format string.
2003-06-29 18:05:06 +00:00
tshiozak cba952da4e u_int*_t -> uint*_t.
I would like to use stdint.h, but it is too modern for the host tools.
u_int*_t are more popular under UNIX-like systems, although they are
not backed up with any standards.
(src/tools/compat/stdint.h is maybe necessary.)
2003-06-29 17:30:07 +00:00
chris e0c81274e0 Another proc->lwp change. 2003-06-29 17:18:48 +00:00
bouyer b55e87ab48 Remove unused WAITTIME definition. Pointed out by Andreas Johansson. 2003-06-29 17:03:47 +00:00
oki 37f2deafd4 Document as PPPoE server mode. 2003-06-29 16:59:51 +00:00
thorpej 9f722af1c9 Adapt to ktrace/lwp changes. 2003-06-29 16:10:48 +00:00
thorpej 38271de3f4 Regen: adapt to linux mmap2 changes. 2003-06-29 16:08:36 +00:00
thorpej 8ab744356a Adapt to linux mmap2 changes. 2003-06-29 16:07:58 +00:00
thorpej f4fff81d3a Adapt to ktrace/lwp changes. 2003-06-29 15:49:49 +00:00
thorpej e3165e7ebd Adapt to ktrace/lwp changes. 2003-06-29 15:27:59 +00:00
simonb b8aadd3696 Only one function is this file wasn't ANSIfied, convert it. 2003-06-29 15:17:40 +00:00
simonb 2bda3187f5 Fix 'struct lwp *' lossage. 2003-06-29 15:14:11 +00:00
thorpej 7da140a1a2 Fix problems with Darren's ktrace/lwp changes. 2003-06-29 15:11:48 +00:00
simonb 168c4e411f Fix 'struct lwp *' lossage. 2003-06-29 15:07:08 +00:00
jdolecek dc63267c8b properly FILE_USE/FILE_UNUSE descriptor in linux_sys_fcntl()
adresses PR kern/21628 by Wolfgang Solfrank
2003-06-29 14:51:28 +00:00
chris 6721e83cfc Fixes to get cats build going following proc to lwp changes. 2003-06-29 14:51:04 +00:00
jdolecek c46b3f8bf7 regen: allocate identifier for BusTek BT-640A adapter 2003-06-29 14:49:15 +00:00
jdolecek 95ab1275a4 allocate identifier for BusTek BT-640A adapter 2003-06-29 14:48:21 +00:00
jdolecek 83872500d3 cosmetic - make sc_supmedia of struct lance_softc const 2003-06-29 14:42:58 +00:00
jdolecek c78fda0bcb fix typo in comment 2003-06-29 14:41:11 +00:00
simonb 7aa3dc6d45 Restore parentheses around return value that were removed with the
previous commit.
2003-06-29 14:09:21 +00:00
martin 69cd0c4a54 struct proc * -> struct lwp * 2003-06-29 13:33:51 +00:00
simonb 9e8290fbee Use the com softc enabled/disable hooks instead of directly frobbing
Au1x00 registers in com_attach_subr().  Suggested by Jason Thorpe and
tested on both console and extra serial ports.
2003-06-29 13:18:24 +00:00
itojun 0778967b85 lwp change lossage 2003-06-29 12:36:35 +00:00
simonb 261417ff31 Fix 'struct lwp *' lossage. 2003-06-29 12:34:55 +00:00
simonb 33187ba9d0 Show current PC in an panic message. 2003-06-29 12:21:32 +00:00
simonb 6939feda9f KNF nit (parentheses around return value). 2003-06-29 12:20:19 +00:00
martin b13abb2046 Fix a few small glitches (struct proc -> struct lwp) 2003-06-29 12:17:21 +00:00
itojun 5dcb6d7469 fix lwp lossage 2003-06-29 12:16:19 +00:00
martin 6b2ac9f5b4 Fix small merge botch in previous. 2003-06-29 12:04:32 +00:00
martin 8908626c9a struct proc -> struct lwp 2003-06-29 12:01:34 +00:00
simonb 130b423e90 Fix a nit in a comment. 2003-06-29 12:00:47 +00:00
simonb a810cb3990 Don't use "extern" with functions. 2003-06-29 11:32:11 +00:00
ichiro b96eb9591c struct proc * -> struct lwp * 2003-06-29 11:20:44 +00:00
simonb d202fabb14 Use "NULL" instead of "(struct foo *)0". 2003-06-29 11:14:17 +00:00
simonb 7e59884122 Fix 'struct lwp *' lossage. 2003-06-29 11:12:33 +00:00