summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Redirect bridge(4) to if_bridge(4) and rename sysctl accordingly.mlaier2005-09-281-4/+4
| | | | Reminded by: ru
* We bootstrap make(1) if necessary during an upgrade, so checkingru2005-09-281-7/+0
| | | | if MACHINE_ARCH is defined is no longer needed.
* Redirect bridge(4) to if_bridge(4). These should have pointed to if_bridgemlaier2005-09-282-3/+3
| | | | | | from the begining. Reminded by: ru
* Oops, revert last commit (the manpage is still built in objdir).ru2005-09-281-1/+0
|
* Add NO_OBJ, remove redundant SCRIPTSNAME.ru2005-09-281-2/+1
|
* Add NO_OBJ.ru2005-09-281-0/+1
|
* Unbreak - remove leftover reference to pcb_rflags.peter2005-09-281-1/+0
|
* Sort LOCALES.ru2005-09-281-4/+4
|
* Sort MLINKS.ru2005-09-281-17/+17
|
* Sort MAN.ru2005-09-282-4/+4
|
* Sort SUBDIR.ru2005-09-281-3/+3
|
* Back out alpha/alpha/trap.c:1.124, osf1_ioctl.c:1.14, osf1_misc.c:1.57,rwatson2005-09-2822-139/+12
| | | | | | | | | | | | | | | | | | | | osf1_signal.c:1.41, amd64/amd64/trap.c:1.291, linux_socket.c:1.60, svr4_fcntl.c:1.36, svr4_ioctl.c:1.23, svr4_ipc.c:1.18, svr4_misc.c:1.81, svr4_signal.c:1.34, svr4_stat.c:1.21, svr4_stream.c:1.55, svr4_termios.c:1.13, svr4_ttold.c:1.15, svr4_util.h:1.10, ext2_alloc.c:1.43, i386/i386/trap.c:1.279, vm86.c:1.58, unaligned.c:1.12, imgact_elf.c:1.164, ffs_alloc.c:1.133: Now that Giant is acquired in uprintf() and tprintf(), the caller no longer leads to acquire Giant unless it also holds another mutex that would generate a lock order reversal when calling into these functions. Specifically not backed out is the acquisition of Giant in nfs_socket.c and rpcclnt.c, where local mutexes are held and would otherwise violate the lock order with Giant. This aligns this code more with the eventual locking of ttys. Suggested by: bde
* Simplified markup.ru2005-09-281-10/+3
|
* Comment out WARNS, the OpenSSL headers don't compile cleanly on some platforms.des2005-09-281-1/+1
|
* Remove more OLDCARD references.imp2005-09-281-15/+0
|
* Correct a typo.jkoshy2005-09-281-1/+1
| | | | MFC after: 3 days
* Push Giant down in jails. Pass the MPSAFE flag to NDINIT, and keep trackcsjp2005-09-281-16/+15
| | | | | | | | | of whether or not Giant was picked up by the filesystem. Add VFS_LOCK_GIANT macros around vrele as it's possible that this can call in the VOP_INACTIVE filesystem specific code. Also while we are here, remove the Giant assertion. from the sysctl handler, we do not actually require Giant here so we shouldn't assert it. Doing so will just complicate things when Giant is removed from the sysctl framework.
* If KDB_STOP_NMI is compiled into the kernel, defaultrwatson2005-09-271-1/+1
| | | | | | debug.kdb.stop_cpus_with_nmi to 1 rather than 0. MFC after: 3 days
* I believe the stack underflows during early development that caused me topeter2005-09-271-1/+0
| | | | | add spare padding at the beginning of the pcb are long gone. Remove the padding fields.
* Kill pcb_rflags. It served no purpose.peter2005-09-275-12/+1
| | | | Reported by: bde
* In lockstatus(), don't lock and unlock the interlock when testing therwatson2005-09-271-2/+8
| | | | | | | | | | sleep lock status while kdb_active, or we risk contending with the mutex on another CPU, resulting in a panic when using "show lockedvnods" while in DDB. MFC after: 3 days Reviewed by: jhb Reported by: kris
* - Add a work-around for nForce3-250. Aperture base address encoded in misc.jkim2005-09-274-16/+350
| | | | | | | | | | | | | | | | | control register and AGP bridge seems to be inconsistent with some BIOS. Instead of relying on BIOS settings, we just take the initial aperture size and encode them for both miscellaneous control register and AGP bridge. Some idea was borrowed from agp_nvidia.c. - Add preliminary ULi M1689 chipset support. The idea was taken from Linux because hardware and documentation are unavailable. Not tested. - Add more VIA chipset PCI IDs taken from Linux driver. Approved by: anholt (mentor) Tested by: Adam Gregoire <ebola at psychoholics dot org> Ganael Laplanche <ganael.laplanche at martymac dot com> K Wieland <kwieland at wustl dot edu>
* No longer maintain mbstat statistics for the mbuf allocator, UMArwatson2005-09-271-11/+0
| | | | | | statistics and libmemstat(3) are now used to track mbuf statistics. MFC after: 1 month
* s/routnes/routines/ in help message.brooks2005-09-271-1/+1
| | | | | | | | This file is already off the vendor branch and there hasn't been a bc release in more than 4 years so I can't see any harm in fixing this. Submitted by: Arne Woerner <arne_woerner at yahoo dot com> PR: gnu/86627
* Fix a minor nit that has been bugging me for a while. Fix the obviouspeter2005-09-272-12/+12
| | | | | cases of using a 64 bit operation to zero a register. 32 bit opcodes are smaller and supposedly faster, and clear the upper 32 bits for free.
* Add a bare minimum (but wrong) R_X86_64_JMP_SLOT relocation type forpeter2005-09-271-0/+1
| | | | | | kernel modules. We actually need to include any addends and the symbol offset value, but for gcc/binutils didn't set it anywhere I've found on 'cc -fpic -shared' kernel modules.
* Don't report Maxmem as 'real memory'. It is really the highest addresspeter2005-09-271-2/+2
| | | | | | available and can give the wrong impression when there are memory holes. Report the total amount of usable memory that we detected instead of the highest address.
* MFi386: If we take a trap with interrupts disabled while in a criticalpeter2005-09-271-2/+2
| | | | section, don't enable them if we're servicing an NMI.
* Remove bridge(4) from the tree. if_bridge(4) is a full functionalmlaier2005-09-2781-1922/+71
| | | | | | | | replacement and has additional features which make it superior. Discussed on: -arch Reviewed by: thompsa X-MFC-after: never (RELENG_6 as transition period)
* Don't let the upper bits of %dr6/%dr7 get set.peter2005-09-271-0/+4
| | | | Submitted by: Nate Eldredge <neldredge@math.ucsd.edu>
* Use the refcount API to manage the reference count for user credentialsjhb2005-09-276-26/+18
| | | | | | rather than using pool mutexes. Tested on: i386, alpha, sparc64
* Use the reference count API to manage the reference counts for processjhb2005-09-272-16/+4
| | | | | | | limit structures rather than using pool mutexes to protect the reference counts. Tested on: i386, alpha, sparc64
* Regeneratepeter2005-09-274-10/+26
|
* Implement 32 bit getcontext/setcontext/swapcontext on amd64. I've addedpeter2005-09-273-46/+193
| | | | | stubs for ia64 to keep it compiling. These are used by 32 bit apps such as gdb.
* Use the refcount API to implement reference counts on process argumentjhb2005-09-272-16/+4
| | | | | | | structures rather than using a global mutex to protect the reference counts. Tested on: i386, alpha, sparc64
* Add a simple reference count API that is simply a thin wrapper API aroundjhb2005-09-271-0/+59
| | | | | | | atomic operations on ints. Reviewed by: arch@ MFC after: 1 week
* - Document atomic_fetchadd(9) and add a MLINK.jhb2005-09-272-8/+39
| | | | | | | | | - Add arm and ppc to the list of archs not supporting operations on 64-bit integers. - Update the sample code for acquiring a mutex to be more recent and to take into account the recent atomic_foo_ptr() changes. MFC after: 1 week
* Add a new atomic_fetchadd() primitive that atomically adds a value to ajhb2005-09-277-0/+137
| | | | | | | | | variable and returns the previous value of the variable. Tested on: i386, alpha, sparc64, arm (cognet) Reviewed by: arch@ Submitted by: cognet (arm) MFC after: 1 week
* Restore if_cp.c 1.27rik2005-09-271-2/+3
| | | | | | | | | | | | | | | | ---------------------------- revision 1.27 date: 2005/09/19 03:10:16; author: imp; state: Exp; lines: +3 -2 Make sure that we call if_free(ifp) after bus_teardown_intr. Since we could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call. In fact, this change do nothing for this driver. It is protected from this by cp_destroy variable. This variable also protects driver from initiation of any activity from network stack with disabled intr handler with this change applied.
* Back out fifo_vnops.c:1.127, which introduced an sx lock around I/O onrwatson2005-09-271-16/+3
| | | | | | | | | a fifo. While this did indeed close the race, confirming suspicions about the nature of the problem, it causes difficulties with blocking I/O on fifos. Discussed with: ups Also spotted by: Peter Holm <peter at holm dot cc>
* Backout if_cp 1.26, if_ct 1.27, if_cx 1.47 by obrien:rik2005-09-273-1787/+1793
| | | | | | | | | | | | | | | | | | | | | | | | ---------------------------- revision 1.26 date: 2005/09/07 09:53:35; author: obrien; state: Exp; lines: +1452 -1453 Reorder code to not depend on an ISO-C illegal forward extern declaration. ---------------------------- Reason: do not move large functions location without serious reason. The same could be done by forward function declaration. Please do not enlarge diff without a reason any more. Backout if_cp 1.27 ---------------------------- revision 1.27 date: 2005/09/19 03:10:16; author: imp; state: Exp; lines: +3 -2 Make sure that we call if_free(ifp) after bus_teardown_intr. Since we could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call. Reason: bad previous commit. Would be restored by next commit.
* Update the "created from" section to reflect the most recent version ofcsjp2005-09-275-5/+5
| | | | | | syscalls.master Requested by: jhb
* Mark the extended attribute syscalls as being MP safe.csjp2005-09-271-13/+13
| | | | Requested by: jhb
* Calling rman_get_start() after bus_release_resource() is evil.ru2005-09-271-2/+2
| | | | It became fatal after a recent "struct resource" split change.
* Switch from OLDCARD to NEWCARD on pc98.nyan2005-09-279-29/+10
|
* - Print space character in show_stat(). Remove a lot of priuntf(" ").glebius2005-09-271-37/+29
| | | | | - Utilize show_stat() in sidewaysintpr() loop. This makes periodic statistics to honor -h flag.
* Fix build.glebius2005-09-271-1/+1
|
* Convert fxp(4) to use the new bus_alloc_resources() API, it simplifiesmux2005-09-272-60/+42
| | | | the resource allocation code significantly.
* Remove redundant `\&' escapes.ru2005-09-271-28/+28
|
* Fixup previous commit.ru2005-09-271-3/+2
|
OpenPOWER on IntegriCloud