summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Accept the fact that floppies either aren't applicable or relevant on mostobrien2004-08-161-8/+7
| | | | platforms. So make the floppy logic easier to read.
* Fix warning.pjd2004-08-161-1/+1
|
* Add support for 32-bit Linux binary emulation on amd64:tjr2004-08-161-5/+16
| | | | | | | - include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h> if building with the COMPAT_LINUX32 option. - make minimal changes to the i386 linprocfs_docpuinfo() function to support amd64. We return a fake CPU family of 6 for now.
* Fix alpha build and add __FBSDID.dfr2004-08-161-1/+4
| | | | PR: 70518
* Regen.tjr2004-08-163-3/+3
|
* Add preliminary support for running 32-bit Linux binaries on amd64, enabledtjr2004-08-1616-1/+4915
| | | | | | | | | | with the COMPAT_LINUX32 option. This is largely based on the i386 MD Linux emulations bits, but also builds on the 32-bit FreeBSD and generic IA-32 binary emulation work. Some of this is still a little rough around the edges, and will need to be revisited before 32-bit and 64-bit Linux emulation support can coexist in the same kernel.
* Update the date.pjd2004-08-161-1/+1
| | | | Reminded by: ru
* This patch merges the sort fields for both pages, so you can (foralfred2004-08-163-44/+60
| | | | | | | | example) view io stats while sorting by process size. Also adds voluntary and involuntary context-switch stats to the io page because there was lots of room. Submitted by: Dan Nelson dnelson at allantgroup.com
* Changes to MI Linux emulation code necessary to run 32-bit Linux binariestjr2004-08-1612-112/+244
| | | | | | | | | | | | | | | on AMD64, and the general case where the emulated platform has different size pointers than we use natively: - declare certain structure members as l_uintptr_t and use the new PTRIN and PTROUT macros to convert to and from native pointers. - declare some structures __packed on amd64 when the layout would differ from that used on i386. - include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h> if compiling with COMPAT_LINUX32. This will need to be revisited before 32-bit and 64-bit Linux emulation support can coexist in the same kernel. - other small scattered changes. This should be a no-op on i386 and Alpha.
* Add a new type, l_uintptr_t, which is an unsigned integer type with thetjr2004-08-162-0/+8
| | | | | same width as a pointer under Linux. Add two new macros, PTRIN and PTROUT, which convert between l_uintptr_t and native pointers.
* Use a local "compress" symbol corresponding to a variable in BSS,ru2004-08-161-2/+2
| | | | | | | rather than the one from libz, corresponding to a function, when linking statically. PR: bin/70392
* Inform hier(7) about /usr/include/geom/raid3/ directory.pjd2004-08-161-0/+2
|
* Connect RAID3 GEOM class to the build.pjd2004-08-167-1/+10
|
* Don't need to declare cbb module. don't know why I never sawimp2004-08-162-2/+0
| | | | duplicate messages..
* Mention a potential net.inet.ip.random_id drawback.maxim2004-08-161-0/+2
| | | | Submitted by: ru
* Advertise that color is supported so that syscons doesn't come upgrehan2004-08-161-2/+2
| | | | in monochrome mode when run as init.
* Introduce GEOM RAID3 class, i.e. kernel module, which implements RAID3pjd2004-08-166-0/+3913
| | | | | | | transformation and graid3(8) userland utility, which can be used for configuration. No manual page yet, sorry. Hardware provided by: Daniel Seuffert
* - Introduce and use a new tunable "debug.mpsafevm". At present, settingalc2004-08-164-11/+36
| | | | | | | | | | | | | | "debug.mpsafevm" results in (almost) Giant-free execution of zero-fill page faults. (Giant is held only briefly, just long enough to determine if there is a vnode backing the faulting address.) Also, condition the acquisition and release of Giant around calls to pmap_remove() on "debug.mpsafevm". The effect on performance is significant. On my dual Opteron, I see a 3.6% reduction in "buildworld" time. - Use atomic operations to update several counters in vm_fault().
* Bring PPC up to date with latest TLS changes.grehan2004-08-164-6/+6
|
* Plug a memory leak in error case.davidxu2004-08-161-1/+3
|
* Document the fact that matching against a process command-name willgad2004-08-161-0/+16
| | | | | | only work on the first MAXCOMLEN (19) characters of that name. Noticed by: Peter Holm
* Always acquire the UNIX domain socket subsystem lock (UNP lock)rwatson2004-08-161-46/+107
| | | | | | | | | | before dereferencing sotounpcb() and checking its value, as so_pcb is protected by protocol locking, not subsystem locking. This prevents races during close() by one thread and use of ths socket in another. unp_bind() now assert the UNP lock, and uipc_bind() now acquires the lock around calls to unp_bind().
* 1. Use libpthread's exported symbols to calcuate offset in data structuredavidxu2004-08-163-130/+130
| | | | 2. Enable TLS debugger support.
* 1. Add macro DTV_OFFSET to calculate dtv offset in tcb.davidxu2004-08-1618-3/+40
| | | | 2. Export symbols needed by debugger.
* Add a file to collection all symbols will be needed by debugger.davidxu2004-08-162-0/+120
|
* As with the non-rescue version don't build fore_dnld when NOATM is defined.marius2004-08-161-2/+2
|
* Fix installing from SCSI tape drives by catching up device names withbmah2004-08-162-2/+2
| | | | | | | reality. PR: 70279 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
* Remove the BUGS entry for vslock(9) not actually holding user memory in place.green2004-08-161-6/+0
|
* Rather than bringing back all of the changes to make VM map deletiongreen2004-08-161-1/+5
| | | | | | | | wait for system wires to disappear, do so (much more trivially) by instead only checking for system wires of user maps and not kernel maps. Alternative by: tor Reviewed by: alc
* Add the missing knote_fdclose().green2004-08-161-2/+4
|
* Allocate the marker, when scanning a kqueue, from the "heap" instead of thegreen2004-08-161-6/+12
| | | | | | | stack. When swapped out, a process's kernel stack would be unavailable, and we could get a page fault when scanning the same kqueue. PR: kern/61849
* Didn't intend to commit debugging code enabledimp2004-08-161-1/+0
|
* Annotate the current UNIX domain socket locking strategies, order,rwatson2004-08-161-0/+21
| | | | | strengths, and weaknesses in a comment. Assert a copyright over the changes made as part of the locking work.
* Various updates for installation documentation. Most notably:bmah2004-08-162-92/+117
| | | | | | | | | o Update to match 5-CURRENT reality. o Bump up minimum system requirements. o Make examples work. PR: docs/70485 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
* Major enhancements to pipe memory usage:silby2004-08-161-55/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - pipespace is now able to resize non-empty pipes; this allows for many more resizing opportunities - Backing is no longer pre-allocated for the reverse direction of pipes. This direction is rarely (if ever) used, so this cuts the amount of map space allocated to a pipe in half. - Pipe growth is now much more dynamic; a pipe will now grow when the total amount of data it contains and the size of the write are larger than the size of pipe. Previously, only individual writes greater than the size of the pipe would cause growth. - In low memory situations, pipes will now shrink during both read and write operations, where possible. Once the memory shortage ends, the growth code will cause these pipes to grow back to an appropriate size. - If the full PIPE_SIZE allocation fails when a new pipe is created, the allocation will be retried with SMALL_PIPE_SIZE. This helps to deal with the situation of a fragmented map after a low memory period has ended. - Minor documentation + code changes to support the above. In total, these changes increase the total number of pipes that can be allocated simultaneously, drastically reducing the chances that pipe allocation will fail. Performance appears unchanged due to dynamic resizing.
* MFNetBSDmbr2004-08-161-1/+5
| | | | | | | Decrease log severity to debug if a protocol is not supported by the kernel (rpcbind checks /etc/netconfig if a protocol is available). This avoids "rpcbind: cannot create socket for tcp6" messages at startup on IPv4-only kernels.
* Comment out the ability to enable/disable ACPI at runtime. This appearsnjl2004-08-151-0/+4
| | | | | to not work reliably and crash some systems. It is not supported at all on others. Pending discussion, the underlying ioctls will be removed.
* Tweak the compatibility macros a little so that the device printing isimp2004-08-1515-28/+29
| | | | moved into them.
* Resolve conflicts from dhclient 3.0.1 final import.mbr2004-08-152-6/+4
| | | | No functional changes in this import.
* This commit was generated by cvs2svn to compensate for changes in r133783,mbr2004-08-154-11/+30
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import ISC DHCP 3.0.1 client.mbr2004-08-157-15/+33
| |
* | Other part of the cbb isa/pci split. This likely is causing problemsimp2004-08-152-10/+76
| | | | | | | | wrt cbb module.
* | Add a kludge for building SBus-only kernels, i.e. kernels without supportmarius2004-08-151-3/+5
| | | | | | | | | | | | | | | | | | for EBus, ISA and PCI, by compiling ofw_isa.c and ofw_pci_if.m unconditio- nally. The correct way is to rewrite OF_decode_addr() in ofw_machdep.c in a bus-neutral way. That's certainly possible but we unfortunately didn't make it for FreeBSD 5.3. Approved by: tmm
* | - Handle the '\&' mdoc(7) escape sequence.simon2004-08-151-1/+9
| | | | | | | | | | | | - Handle the .Sx macro and give a warning if it is used in the HARDWARE section, since that will probably produce odd text in the Hardware Notes.
* | Fix a couple of edge cases in which sb.st_size may be incorrect ordes2004-08-151-5/+16
| | | | | | | | | | | | | | | | meaningless. In particular, don't assume that it is left untouched if stat(2) fails; that assumption happens to fail at high optimization levels on some platforms. MFC after: 1 week
* | - Auto generate device listings for the following drivers: mpt, trm,simon2004-08-153-35/+21
| | | | | | | | | | | | rl, vr, dc, de, and gem. - hme(4) is not sparc64 only anymore, so update dev.archlist.txt acordingly.
* | - Add a HARDWARE section which lists supported devices.simon2004-08-153-93/+115
| | | | | | | | - Fix a few mdoc(7) markup / style nits when I'm here anyway.
* | Release the vnode cache mutex when calling vgone(), since vgone() maydes2004-08-151-26/+39
| | | | | | | | | | sleep. This makes pfs_exit() even less efficient than before, but on the bright side, the vnode cache mutex no longer needs to be recursive.
* | Add rtld-elf to the include path for the rtld to pthread TLS interface.dfr2004-08-151-0/+1
| |
* | Correct some uses of the wrong members of the *min()/*max()-familiy, e.g.marius2004-08-153-5/+5
| | | | | | | | | | | | min() on unsigned long. None of these are believed to have been fatal though. Reviewed by: tmm
OpenPOWER on IntegriCloud