summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement _get_curthread and _set_curthread. This is especially easy.jake2003-04-022-0/+58
|
* Implement cpu_thread_setup. Fix cpu_set_upcall.jake2003-04-021-3/+9
|
* - Make casuptr return the old value of the location we're trying to update,jake2003-04-024-25/+25
| | | | | | and change the umtx code to expect this. Reviewed by: jeff
* - Add in support for KSEs with 0 slice values on the run queue. If we tryjeff2003-04-021-34/+90
| | | | | | | | | | | | | | | | to select a KSE with a slice of 0 we will update its slice and insert it onto the next queue. - Pass the KSE instead of the ksegrp into sched_slice(). This more accurately reflects the behavior of the code. Slices are granted to kses. - Add a function kseq_nice_min() which finds the smallest nice value assigned to the kseg of any KSE on the queue. - Rewrite the logic in sched_slice(). Add a large comment describing the new slice selection scheme. To summarize, slices are assigned based on the nice value. Priorities are still calculated based on the nice and interactivity of a process. Slice sizes of 0 may be granted for KSEs whos nice is 20 or futher away from the lowest nice on the run queue. Other nice values are scaled across the range [min, min+20]. This fixes ULEs bad behavior with positively niced processes.
* - Define curthread as _get_curthread() and remove all direct calls tojeff2003-04-0220-96/+21
| | | | | | | _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().
* Add MD makefile.jake2003-04-011-0/+3
|
* Implement makecontext.jake2003-04-013-3/+129
|
* - Fix UC_COPY_SIZE. Adding up the size of structure fields doesn't takejake2003-04-011-4/+3
| | | | | | alignment into account. - Return EJUSTRETURN from set_context on success to avoid clobbering the first 2 out registers with td_retval on sparc64.
* - Set the version number in the mcontext in get_mcontext and check it injake2003-04-011-6/+9
| | | | | | | 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.
* - Don't drop and reacquire giant in thread_suspend(). Change callers to dojeff2003-04-013-38/+8
| | | | | this manually. This will facilitate the unrolling of giant. - Don't allow giant to recurse anymore. This should never happen.
* - Reenable setschedparam and the prioceiling code now that the mutex codejeff2003-04-012-19/+10
| | | | has been restored.
* - Restore old mutex code from libc_r. It is more standards compliant.jeff2003-04-012-205/+1364
| | | | | | | 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.
* Observe conservation of packets when entering Fast Recovery whilehsu2003-04-013-6/+43
| | | | | | | | | 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>
* Remove 220.backup-distfile since it has been deleted.jhb2003-04-011-1/+0
| | | | | Reported by: mdodd Pointy hat to: jhb
* [1] - Document EHOSTUNREACH as a possible errorceri2003-04-011-1/+3
| | | | | | | | [2] - Remove a contraction PR: docs/50401 Submitted by: [1] Slaven Rezic <slaven@rezic.de> MFC after: 1 week
* Removed redundant lines.ru2003-04-011-3/+0
| | | | Noticed by: obrien
* #include <geom/geom_disk.h>phk2003-04-011-0/+1
|
* Include <geom/geom_disk.h> not <sys/disk.h>phk2003-04-011-1/+1
|
* Remove the #define for bioqdisksort(), it's no longer needed.phk2003-04-011-1/+0
|
* I think the divorce successed, so stop #including <geom/geom_disk.h>phk2003-04-011-2/+1
|
* Complete removal of 320.rdist by removing its entry from periodic.conf andjhb2003-04-012-45/+0
| | | | | | | removing the related 220.backup-distfile script and associatd periodic.conf entry. Discussed with: obrien
* Add a crutch so that direct-mapped DMA works on alpha. This is a stepgallatin2003-04-011-0/+4
| | | | | | toward preventing this driver from crashing an alpha at boot. Tested by: Oliver Lehmann <lehmann@ans-netz.de>
* Give clearer diagnostics on some cases of invalidyar2003-04-011-0/+6
| | | | | | | combinations of mdconfig(8) command-line arguments. Make mdconfig(8) accept "-a -f file -o options" equally with "-a -f file" (assuming "-t vnode".)
* Use bioq_flush() to drain a bio queue with a specific error code.phk2003-04-0141-109/+61
| | | | | | | | 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.
* Don't die of SIGSEGV on a missing fstype fieldyar2003-04-012-0/+8
| | | | | | in a saved disklabel file. MFC after: 1 week
* Don't include <sys/disk.h>.phk2003-04-011-2/+0
|
* Start to split the GEOM/diskdriver specific bits into geom/geom_disk.hphk2003-04-012-47/+94
|
* libtelnet depends on OpenSSL.ru2003-04-011-1/+1
| | | | PR: 50507
* Introduce bioq_flush() function.phk2003-04-012-0/+16
|
* Mark bits that do not require an object directory as such.ru2003-04-013-1/+4
|
* Include <sys/conf.h> rather than trusting <sys/disk.h> to do so.phk2003-04-011-0/+1
|
* Add #include <sys/conf.h> so we don't rely on <sys/disk.h> doing it.phk2003-04-011-0/+1
|
* Parallelize (on the top-level SUBDIR list) the "all" stage ofru2003-04-011-2/+2
| | | | | | 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.
* Pass NO_WARNS to the build-tool stage too; -Wsystem-headersru2003-04-011-1/+1
| | | | isn't known to the 4.x system compiler.
* This can't obviously be cleaner than system headers.ru2003-04-011-1/+1
|
* - smb_td_intr takes a thread as an argument not a proc.jeff2003-04-011-1/+1
|
* - smb_proc_intr is now spelled smb_td_intr.jeff2003-04-011-1/+1
| | | | | Noticed by: phk Pointy hat to: jeffr
* - p will be unused in cursig() if INVARIANTS is not defined. Access itjeff2003-04-011-3/+1
| | | | | | through td->td_proc to avoid the unused variable. Spotted by: Maxim Konovalov <maxim@macomnet.ru>
* Don't include <sys/buf.h> needlessly.phk2003-04-012-2/+4
|
* Fix KASSERT syntax error.phk2003-04-012-2/+2
|
* Implement support for RFC 3514 (The Security Flag in the IPv4 Header).mdodd2003-04-0111-4/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Fix KASSERT syntax errors.phk2003-04-012-4/+4
| | | | Please compile LINT before commiting.
* Remove the old config interface, the new OAM is sufficiently functionalphk2003-04-012-138/+0
| | | | now.
* Remove the old config interface now that the new OAM is functional.phk2003-04-011-153/+0
|
* - Adjust the makefiles so we have a per architecture makefile.jeff2003-04-013-1/+7
|
* - Add a flags field to struct pcb. Use this to keep track of wether orjake2003-04-015-4/+46
| | | | | not the pcb has floating point registers saved in it. - Implement get_mcontext and set_mcontext.
* - Spell SIGSETOR correctly.jeff2003-04-011-1/+1
|
* - Don't allow tf_wstate to be set in set_regs.jake2003-04-011-1/+6
| | | | - Clear FPRS_FEF in set_fpregs so the new registers will be reloaded.
* Implement cpu_set_upcall.jake2003-04-011-1/+13
|
* - Rename pcb_fpstate to pcb_ufp (user floating point), and change it tojake2003-04-017-70/+39
| | | | | | a simple array of 64 ints. - Use a critical section when saving floating point state in cpu_fork instead of sched_lock.
OpenPOWER on IntegriCloud