summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Check bounds for index before dereferencing memory past end of array.phk2003-01-281-1/+1
| | | | Found by: FlexeLint
* Use VOP_SPECSTRATEGY() instead of VOP_STRATEGY().phk2003-01-282-2/+2
|
* Avoid lock order reversal by expanding the scope of thehsu2003-01-282-15/+6
| | | | AF_INET radix tree lock to cover the ARP data structures.
* Remove BDE_DEBUGGER.jake2003-01-2812-450/+10
| | | | Discussed with: bde
* NO_GEOM cleanup: remove subr_disklabel.c from powerpc and x86_64.phk2003-01-282-2/+0
|
* NO_GEOM cleanup: remove subr_disk{label,mbr,slice}.c from pc98 kernels.phk2003-01-281-3/+0
|
* - Allow multiple packets read/write for IR/IT to reduce system call.simokawa2003-01-282-35/+43
| | | | - Remove unused variables.
* NO_GEOM cleanup: subr_disklabel.c no longer needed.phk2003-01-281-1/+0
|
* NO_GEOM cleanup: Remove subr_disklabel.c from alpha kernels.phk2003-01-281-1/+0
|
* NO_GEOM cleanup: Don't include subr_disklabel.c in sparc64 buildphk2003-01-281-1/+0
|
* Band-XXX-aid an easy to provoke panic.phk2003-01-281-0/+7
| | | | MFC: 2 weeks
* NO_GEOM cleanup: Don't pull subr_disk{slice,label,mbr}.c into i386phk2003-01-281-3/+0
| | | | kernels anymore, they are not needed.
* Add PCI revision number for 630A and 900B. Enable parity error detectionmbr2003-01-282-19/+86
| | | | | | | | | | on 900B and 635(A). Re-add the enhanced PHY access register method again for older chipsets, they do not seem to work with all old chips. Reviewed by: phk MFC after: 7 days
* Put the right fix in. Instead of deleting the declaration of __FBSDID, webenno2003-01-281-0/+7
| | | | undef it before this definition.
* Mark some args unused so this compiles in userland.phk2003-01-281-1/+1
|
* Use a void * to carry the private data for return-call'ed ioctl requests.phk2003-01-281-1/+1
| | | | | Amongst other things this avoids a complex workaround in the userland regression bits.
* - Allow idle's pctcpu time to be calculated.jeff2003-01-281-6/+6
|
* - Fix the ksq_load calculation. It now reflects the number of entries on thejeff2003-01-281-27/+134
| | | | | | | | run queue for each cpu. - Introduce kse stealing into the sched_choose() code. This helps balance cpus better in cases where process turnover is high. This implementation is fairly trivial and will likely be only a temporary measure until something more sophisticated has been written.
* Do not allow a cached vnode to be shared among multiple mounts of the sametjr2003-01-281-1/+2
| | | | | | | | | kind of pseudofs-based filesystem. Fixes (at least) one problem where when procfs is mounted mupltiple times, trying to unmount one will often cause the wrong one to get unmounted, and other problem where mounting one procfs on top of another caused the kernel to lock up. Reviewed by: des
* Bang! Bang! Bang! etc etcphk2003-01-281-2/+0
| | | | | | Remove NODEVFS and NO_GEOM from options. Approved by: trb@
* Bang! Bang! Bang! etc etc.phk2003-01-281-1/+0
| | | | Remove NODEVFS option.
* A few fixes to rev 1.221silby2003-01-281-9/+17
| | | | | | | | | - Honor the previous behavior of maxfragpackets = 0 or -1 - Take a better stab at fragment statistics - Move / correct a comment Suggested by: maxim@ MFC after: 7 days
* Merge pmap_testbit() and pmap_is_modified(). The latter is the only calleralc2003-01-282-58/+18
| | | | of the former.
* No longer force COMPAT_FREEBSD4 to be on.peter2003-01-271-3/+0
|
* Add the sabtty children devices as unordered. Use the unit numbr ofjake2003-01-271-5/+4
| | | | | | | | | the sabtty device to create its description so that they will be unique for machines with multiple sab chips. This fixes a panic on machines with an rsc card. Tested by: obrien (e250)
* Don't dereference null vnode pointer if controling terminal was revoked.phk2003-01-271-3/+5
| | | | Submitted by: "Peter Edwards" <pmedwards@eircom.net>
* Add PCI id for fxp(Intel Pro/100 M Mobile Connection).sanpei2003-01-271-0/+1
| | | | | | PR: i386/41915 Submitted by: Ross A. Lippert <ripper@eskimo.com> MFC after: 1 week
* Back the previous commit out. It didn't actually fix the problem I wasbenno2003-01-271-3/+5
| | | | | | seeing and the memory barrier isn't needed with the bridges we're using. Fix the function style however.
* Put the Perfection 1660 scanner entry in the right place. (Entriesjoe2003-01-271-1/+1
| | | | are sorted by product id).
* Update the code that deals with disk enclosures:sos2003-01-274-69/+135
| | | | | | | | Properly handle the newer Promise SuperSwap 1000 enclosures. Print out what kind of enclosure was found in the probe. Misc cleanups in the enclosure handling code. Sponsored by: Advanis Inc.
* Implement MDIOCLIST which returns the unit numbers of configured md(4)phk2003-01-271-0/+11
| | | | | | | | devices. We use the md_pad[] array and if there are more units than its size the last returned unit number will be -1, but the number of units returned is correct.
* Add an ioctl to return the unit numbers of the configured md devices.phk2003-01-271-1/+3
|
* MFp4:imp2003-01-274-63/+63
| | | | u_int*_t -> uint*_t to conform more closely with C99.
* Enable device zs and device sab by default.jake2003-01-271-2/+2
|
* Change ofwcons to use the output-device property from the firmware for thejake2003-01-271-2/+3
| | | | | | | | | | name of the device that it creates. Update /etc/ttys accordingly. An alias is created for the old name so that old /etc/ttys will continue to work, but due to aliases being implemented as symlinks in devfs you cannot login as root when using the alias device. Discussed with: grehan
* Back out some changes that snuck in with the last commit.benno2003-01-274-538/+62
| | | | Pointy hat to: benno
* Flesh out bus_dmamap_sync.benno2003-01-275-63/+544
|
* Use td->td_sticks, not td->td_kse->ke_sticks.benno2003-01-272-2/+2
| | | | Forgotten by: davidxu
* Remove a duplicate definition of the __FBSDID macro.benno2003-01-271-6/+0
|
* Simplify vm_object_page_remove(): The object's memq is now ordered. Thealc2003-01-271-62/+31
| | | | | two cases that existed before for performance optimization purposes can be reduced to one.
* Unbreak SMP cases for these architectures.julian2003-01-272-2/+2
| | | | | | statclock_process() changed arguments. note: it may be worth checking if curkse is needed on these architectures.. (and if so, why?)
* Fix standard kse breakage of non-x86 platforms.jake2003-01-261-2/+1
| | | | Pointy hat to: davidxu
* Use kg_numupcalls to see if we are closing a thread group,davidxu2003-01-262-4/+4
| | | | not kg_kses which is not changed when a group is still working.
* fix warningsalfred2003-01-261-2/+2
|
* Fix a typo and reword a bit the description of the new SCHED_xxx stuff.keramida2003-01-261-4/+4
| | | | Reviewed by: jeff
* Implement DIOCBSDBB ioctl which overwrites first BBSIZE bytes of BSDphk2003-01-261-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | labeled disk. This is complicated by the fact that BBSIZE is greater than the PAGE_SIZE limit ioctl inflicts on arguments which are automatically copied in. As long as we don't need access to userland memory (copyin/out) we can deal with the ioctl using g_callme() which executes it from the GEOM event thread. Once we need copyin/out, we need to return the bio with EDIRIOCTL in order to make geom_dev call us back in the original process context where copyin will work. Unfortunately, that results in us getting called with Giant, so we have to DROP_GIANT/PICKUP_GIANT around the code where we diddle GEOMs internals. Sometimes you just can't win... ... But it does make geom_bsd.c an almost complete example of the GEOM beastiarium.
* Add ioctl which overwrites the first BBSIZE bytes of a BSD labeled disk.phk2003-01-261-0/+1
|
* Fix KSE related patch.julian2003-01-266-12/+6
| | | | | Make it compile for the SMP case.. statclock_process() has changed prototypes.
* regenalfred2003-01-261-2/+2
|
* Add const qualifier to data argument for msgsnd.alfred2003-01-263-5/+4
| | | | | PR: standards/45274 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
OpenPOWER on IntegriCloud