summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make disktab(5) MI (repo-copied from etc.i386/disktab).ru2003-04-025-903/+1
|
* - Use the correct constant define.mdodd2003-04-021-2/+3
| | | | - Add a missing break.
* Convert the fxp(4) driver to the busdma API.mux2003-04-023-230/+453
| | | | | | | | | | | | | | | This patch is rather big because I had to significantly redesign the driver to make the busdma conversion possible. Most notably, hardware and software structures were carefully splitted to get rid of all the structs overlapping evilness. Special thanks to phk and Richard Puga <puga@mauibuilt.com> for providing me with fxp(4) hardware to do this work. Thanks to marcel for testing this on ia64, and to Fred Clift <fclift@verio.net> for testing this on alpha. Tested on: i386, ia64, alpha
* Need to hold the same SMP lock for (knote) list traversal as forhsu2003-04-021-1/+1
| | | | | list manipulation. This lock also protects read-modify-write operations on the pipe_state field.
* IP_EVIL -> IP_EFmaxim2003-04-021-2/+2
|
* Only orphan things if the open/close actually succeeded.phk2003-04-021-11/+10
|
* Properly handle races between open/close and orphan.phk2003-04-021-10/+34
| | | | | | | KASSERT the race between close and strategy, it is an error in the upper echelons if this happens, Add XXX: comment explaining why the ioctl/orphan race is not closed.
* Instead of not grapping a request binfinish(ENOMEM) it if malloc fails.sos2003-04-021-1/+2
|
* fixed invalid pointer referencesuz2003-04-021-0/+1
| | | | Obtained from: KAME
* MFi386: revisions 1.556 and 1.557.nyan2003-04-022-24/+18
| | | | Backout revision 1.312.
* Merged from sys/dev/syscons/syscons.c revision 1.400.nyan2003-04-021-1/+1
|
* Sync constant define with NetBSD.mdodd2003-04-023-6/+7
| | | | Requested by: Tom Spindler <dogcow@babymeat.com>
* o Fix error messages formatting, style.maxim2003-04-021-29/+22
| | | | | Prodded by: bde Reviewed by: bde
* - Make the interactivity calculator decay faster.jeff2003-04-021-2/+2
| | | | - Make the pcpu estimator update faster.
* - I meant divide by two and not shift by two in SCHED_PRI_NHALF.jeff2003-04-021-1/+1
|
* 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
|
OpenPOWER on IntegriCloud