| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
| |
and change the umtx code to expect this.
Reviewed by: jeff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
_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().
|
| |
|
| |
|
|
|
|
|
|
| |
alignment into account.
- Return EJUSTRETURN from set_context on success to avoid clobbering the
first 2 out registers with td_retval on sparc64.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
this manually. This will facilitate the unrolling of giant.
- Don't allow giant to recurse anymore. This should never happen.
|
|
|
|
| |
has been restored.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Reported by: mdodd
Pointy hat to: jhb
|
|
|
|
|
|
|
|
| |
[2] - Remove a contraction
PR: docs/50401
Submitted by: [1] Slaven Rezic <slaven@rezic.de>
MFC after: 1 week
|
|
|
|
| |
Noticed by: obrien
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
removing the related 220.backup-distfile script and associatd periodic.conf
entry.
Discussed with: obrien
|
|
|
|
|
|
| |
toward preventing this driver from crashing an alpha at boot.
Tested by: Oliver Lehmann <lehmann@ans-netz.de>
|
|
|
|
|
|
|
| |
combinations of mdconfig(8) command-line arguments.
Make mdconfig(8) accept "-a -f file -o options"
equally with "-a -f file" (assuming "-t vnode".)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
in a saved disklabel file.
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
PR: 50507
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
isn't known to the 4.x system compiler.
|
| |
|
| |
|
|
|
|
|
| |
Noticed by: phk
Pointy hat to: jeffr
|
|
|
|
|
|
| |
through td->td_proc to avoid the unused variable.
Spotted by: Maxim Konovalov <maxim@macomnet.ru>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
Please compile LINT before commiting.
|
|
|
|
| |
now.
|
| |
|
| |
|
|
|
|
|
| |
not the pcb has floating point registers saved in it.
- Implement get_mcontext and set_mcontext.
|
| |
|
|
|
|
| |
- Clear FPRS_FEF in set_fpregs so the new registers will be reloaded.
|
| |
|
|
|
|
|
|
| |
a simple array of 64 ints.
- Use a critical section when saving floating point state in cpu_fork
instead of sched_lock.
|