jeff
bb610376a5
- Define curthread as _get_curthread() and remove all direct calls to
...
_get_curthread(). This is similar to the kernel's curthread. Doing
this saves stack overhead and is more convenient to the programmer.
- Pass the pointer to the newly created thread to _thread_init().
- Remove _get_curthread_slow().
2003-04-02 03:05:39 +00:00
jake
dc2ed57595
Add MD makefile.
2003-04-01 23:52:24 +00:00
jake
de291c89d2
Implement makecontext.
2003-04-01 23:28:50 +00:00
jake
ac9bc07ca9
- Fix UC_COPY_SIZE. Adding up the size of structure fields doesn't take
...
alignment into account.
- Return EJUSTRETURN from set_context on success to avoid clobbering the
first 2 out registers with td_retval on sparc64.
2003-04-01 23:25:18 +00:00
jake
d8464b70a3
- Set the version number in the mcontext in get_mcontext and check it in
...
set_mcontext.
- Don't make assumptions about the alignment of the mcontext inside of the
ucontext; we have to save the floating point registers to the pcb and then
copy to the mcontext.
2003-04-01 23:18:13 +00:00
jeff
4b5aacdfc8
- Don't drop and reacquire giant in thread_suspend(). Change callers to do
...
this manually. This will facilitate the unrolling of giant.
- Don't allow giant to recurse anymore. This should never happen.
2003-04-01 22:41:41 +00:00
jeff
886873a91d
- Reenable setschedparam and the prioceiling code now that the mutex code
...
has been restored.
2003-04-01 22:40:29 +00:00
jeff
ad6f11b935
- Restore old mutex code from libc_r. It is more standards compliant.
...
This was changed because originally we were blocking on the umtx and
allowing the kernel to do the queueing. It was decided that the
lib should queue and start the threads in the order it decides and the
umtx code would just be used like spinlocks.
2003-04-01 22:39:31 +00:00
hsu
f3bcf8791f
Observe conservation of packets when entering Fast Recovery while
...
doing Limited Transmit. Only artificially inflate the congestion
window by 1 segment instead of the usual 3 to take into account
the 2 already sent by Limited Transmit.
Approved in principle by: Mark Allman <mallman@grc.nasa.gov>,
Hari Balakrishnan <hari@nms.lcs.mit.edu>, Sally Floyd <floyd@icir.org>
2003-04-01 21:16:46 +00:00
jhb
699d82d7fc
Remove 220.backup-distfile since it has been deleted.
...
Reported by: mdodd
Pointy hat to: jhb
2003-04-01 20:32:01 +00:00
ceri
3c073571b3
[1] - Document EHOSTUNREACH as a possible error
...
[2] - Remove a contraction
PR: docs/50401
Submitted by: [1] Slaven Rezic <slaven@rezic.de>
MFC after: 1 week
2003-04-01 20:25:46 +00:00
ru
bf358194b4
Removed redundant lines.
...
Noticed by: obrien
2003-04-01 19:59:30 +00:00
phk
1becd36845
#include <geom/geom_disk.h>
2003-04-01 19:00:38 +00:00
phk
af778aa48a
Include <geom/geom_disk.h> not <sys/disk.h>
2003-04-01 18:57:14 +00:00
phk
db41fbbf4f
Remove the #define for bioqdisksort(), it's no longer needed.
2003-04-01 18:55:46 +00:00
phk
ba2cdc09d4
I think the divorce successed, so stop #including <geom/geom_disk.h>
2003-04-01 18:55:04 +00:00
jhb
4f51bb11c1
Complete removal of 320.rdist by removing its entry from periodic.conf and
...
removing the related 220.backup-distfile script and associatd periodic.conf
entry.
Discussed with: obrien
2003-04-01 17:45:27 +00:00
gallatin
fe878182e2
Add a crutch so that direct-mapped DMA works on alpha. This is a step
...
toward preventing this driver from crashing an alpha at boot.
Tested by: Oliver Lehmann <lehmann@ans-netz.de>
2003-04-01 16:31:12 +00:00
yar
5f9d93b08d
Give clearer diagnostics on some cases of invalid
...
combinations of mdconfig(8) command-line arguments.
Make mdconfig(8) accept "-a -f file -o options"
equally with "-a -f file" (assuming "-t vnode".)
2003-04-01 15:23:55 +00:00
phk
c235e25328
Use bioq_flush() to drain a bio queue with a specific error code.
...
Retain the mistake of not updating the devstat API for now.
Spell bioq_disksort() consistently with the remaining bioq_*().
#include <geom/geom_disk.h> where this is more appropriate.
2003-04-01 15:06:26 +00:00
yar
98acc8a3d7
Don't die of SIGSEGV on a missing fstype field
...
in a saved disklabel file.
MFC after: 1 week
2003-04-01 14:44:53 +00:00
phk
78452f5f28
Don't include <sys/disk.h>.
2003-04-01 13:33:28 +00:00
phk
8be523e927
Start to split the GEOM/diskdriver specific bits into geom/geom_disk.h
2003-04-01 13:19:14 +00:00
ru
17f3ff85b3
libtelnet depends on OpenSSL.
...
PR: 50507
2003-04-01 12:50:40 +00:00
phk
78929984b3
Introduce bioq_flush() function.
2003-04-01 12:49:40 +00:00
ru
6b0e3863ff
Mark bits that do not require an object directory as such.
2003-04-01 12:37:54 +00:00
phk
8d1644078d
Include <sys/conf.h> rather than trusting <sys/disk.h> to do so.
2003-04-01 12:35:17 +00:00
phk
87ed8009e2
Add #include <sys/conf.h> so we don't rely on <sys/disk.h> doing it.
2003-04-01 12:34:47 +00:00
ru
575e050d5b
Parallelize (on the top-level SUBDIR list) the "all" stage of
...
buildworld. This gives 5-11% percent gain in real buildworld
times on various UP and SMP systems here. I used 4 * hw.ncpu
as an argument to "make -j" in my tests.
2003-04-01 11:39:04 +00:00
ru
9fcf0741d3
Pass NO_WARNS to the build-tool stage too; -Wsystem-headers
...
isn't known to the 4.x system compiler.
2003-04-01 11:29:29 +00:00
ru
59ea65502d
This can't obviously be cleaner than system headers.
2003-04-01 11:11:38 +00:00
jeff
b6f2f0c90a
- smb_td_intr takes a thread as an argument not a proc.
2003-04-01 09:24:12 +00:00
jeff
a0a1f8446c
- smb_proc_intr is now spelled smb_td_intr.
...
Noticed by: phk
Pointy hat to: jeffr
2003-04-01 09:23:24 +00:00
jeff
3c4f704ebe
- p will be unused in cursig() if INVARIANTS is not defined. Access it
...
through td->td_proc to avoid the unused variable.
Spotted by: Maxim Konovalov <maxim@macomnet.ru>
2003-04-01 09:07:36 +00:00
phk
81a4ff8159
Don't include <sys/buf.h> needlessly.
2003-04-01 09:02:58 +00:00
phk
7c6db5e66d
Fix KASSERT syntax error.
2003-04-01 08:57:28 +00:00
mdodd
e72fdee732
Implement support for RFC 3514 (The Security Flag in the IPv4 Header).
...
(See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt)
This fulfills the host requirements for userland support by
way of the setsockopt() IP_EVIL_INTENT message.
There are three sysctl tunables provided to govern system behavior.
net.inet.ip.rfc3514:
Enables support for rfc3514. As this is an
Informational RFC and support is not yet widespread
this option is disabled by default.
net.inet.ip.hear_no_evil
If set the host will discard all received evil packets.
net.inet.ip.speak_no_evil
If set the host will discard all transmitted evil packets.
The IP statistics counter 'ips_evil' (available via 'netstat') provides
information on the number of 'evil' packets recieved.
For reference, the '-E' option to 'ping' has been provided to demonstrate
and test the implementation.
2003-04-01 08:21:44 +00:00
phk
0bafba46a2
Fix KASSERT syntax errors.
...
Please compile LINT before commiting.
2003-04-01 08:10:21 +00:00
phk
80780d2ba2
Remove the old config interface, the new OAM is sufficiently functional
...
now.
2003-04-01 07:33:56 +00:00
phk
85edc96041
Remove the old config interface now that the new OAM is functional.
2003-04-01 07:33:17 +00:00
jeff
e8890ccacd
- Adjust the makefiles so we have a per architecture makefile.
2003-04-01 07:07:38 +00:00
jake
c40f0ee134
- Add a flags field to struct pcb. Use this to keep track of wether or
...
not the pcb has floating point registers saved in it.
- Implement get_mcontext and set_mcontext.
2003-04-01 04:58:50 +00:00
jeff
6d2a0afa7c
- Spell SIGSETOR correctly.
2003-04-01 04:49:12 +00:00
jake
359cfe8501
- Don't allow tf_wstate to be set in set_regs.
...
- Clear FPRS_FEF in set_fpregs so the new registers will be reloaded.
2003-04-01 04:29:03 +00:00
jake
8e217044b1
Implement cpu_set_upcall.
2003-04-01 04:19:29 +00:00
jake
06240b6c81
- Rename pcb_fpstate to pcb_ufp (user floating point), and change it to
...
a simple array of 64 ints.
- Use a critical section when saving floating point state in cpu_fork
instead of sched_lock.
2003-04-01 04:02:45 +00:00
jeff
16b13762b2
- Commit the forgotten libthr/sys bits.
2003-04-01 03:51:08 +00:00
jeff
08f648d4cd
- Add libthr but don't hook it up to the regular build yet. This is an
...
adaptation of libc_r for the thr system call interface. This is beta
quality code.
2003-04-01 03:46:29 +00:00
jake
7bada9c1ac
Rename pcb_fp to pcb_sp, so as to not be confused with floating point
...
state.
2003-04-01 03:05:46 +00:00
tjr
5c91df4e54
Specify the M_WAITOK flag explicitly in the MALLOC call to silence a
...
runtime warning ("Bad malloc flags: 0").
2003-04-01 02:47:09 +00:00