summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow a const char * to be passed as the process name to kproc_kthread_add()jhb2010-05-212-2/+2
| | | | | | without generating a warning. MFC after: 1 month
* Allow sub-second interval timings for iostat and vmstat.sbruno2010-05-214-12/+29
| | | | | | | | | | | e.g. vmstat -w.5 iostat -w.5 Reviewed by: jhb Approved by: scottl (mentor) Obtained from: Yahoo Inc. MFC after: 2 weeks
* - Set 'dmadat' earlier so that we properly setup the heap if we fail tojhb2010-05-211-4/+6
| | | | | | | | | locate a high memory area for the heap using the SMAP. - Read the number of hard drive devices from the BIOS instead of hardcoding a limit of 128. Some BIOSes duplicate disk devices once you get beyond the maximum drive number. MFC after: 1 month
* Add interrupt descriptions for mxge's msi-x vectorsgallatin2010-05-211-0/+2
|
* Improve suspend/resume support. Make sure controller is idle on suspendmav2010-05-212-24/+64
| | | | and reset it on resume.
* Remove PIOLLHUP from the flags used to test for to set exceptfsdkib2010-05-211-1/+1
| | | | | | | | | | fd_set bits in select(2). It seems that historical behaviour is to not reporting exception on EOF, and several applications are broken. Reported by: Yoshihiko Sarumaru <ysarumaru gmail com> Discussed with: bde PR: ports/140934 MFC after: 2 weeks
* Update L2ARC code and fix several bugs.mm2010-05-214-126/+311
| | | | | | | | | | | | | | | | | | | | - improve ARC memory consumption (Bug ID 6488341) - ARC/L2ARC metadata accounting (Bug ID 6748019) - L2ARC turbo warmup (Bud ID 6748023) - kstats for ARC content (Bug ID 6748023) - kstats for evicted bytes from ARC by L2ARC state (Bud ID 6871680) - fix panic on i386 systems (Bug ID 6821260) OpenSolaris onnv revisions: 8582:df9361868dbe, 8628:97dcded6e556, 9215:7c4584f76b47, 9274:a10f8bd993c1, 10357:29060492b29d OpenSolaris Bug IDs: 6748019, 6748023, 6748030, 6488341, 6798268, 6821260, 6790261, 6871680 Approved by: pjd, delphij (mentor) Obtained from: OpenSlaris (multiple bug IDs) MFC after: 3 days
* Reorder some already introduced locking variables.mm2010-05-213-9/+11
| | | | | | | | OpenSolaris onnv revision: 8214:d7abf7c1f1c1 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6747934) MFC after: 3 days
* Fix stack overflow in zfs send.mm2010-05-212-11/+12
| | | | | | | | OpenSolaris onnv-revision: 8012:8ea30813950f Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6765626) MFC after: 3 days
* Fix: vdev_reopen() can lead to failed allocationsmm2010-05-213-1/+15
| | | | | | | | OpenSolaris onnv-revision: 7980:589f37f25048 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6764914) MFC after: 3 days
* Changes to boot on a subset of threads on an XLR/XLS core.jchandra2010-05-214-196/+189
| | | | | | | | | | | - Adds re-partitioning TLB per core for enabled threads. - Adds hardware thread id to cpuid mapping - updates rge driver packet distribution and message ring handling threads to be started based on hardware thread id. - remove unused early debugging code to set control registers. - coding style fixes Approved by: rrs (mentor)
* Fix a long-standing bug in the PowerPC OFW call function on SMP machinesnwhitehorn2010-05-201-5/+64
| | | | | | | | | | | | | | | where running ofwdump could cause hangs by forcing all secondary CPUs into a busy wait with interrupts off during the call. Following section 8.4 of the Open Firmware PowerPC processor binding, the firmware is free to overwrite the system interrupt handlers during OF calls, restoring the OS handlers on exit. On single CPU systems, this process is invisible to the operating system. On multiple CPU systems, taking any exception on a secondary CPU while an OF call is in progress ends with that exception vectored into OF, resulting in a slow movement of the entire system into firmware context and a machine hang. MFC after: 3 days
* Revert r208353. It did not work as I expected because WITHOUT_MAN is setjkim2010-05-201-5/+1
| | | | | | for bootstrap-tools target and WITHOUT_MAN_UTILS was implied by default. Pointy hat: jkim
* Restore part of 200671 which was lost in previous driver changes:jhb2010-05-201-0/+2
| | | | - Add interrupt descriptions when using mulitple MSI-X interrupts.
* Document NANO_ARCH which is no longer hard coded as of r205980.wxs2010-05-201-1/+4
| | | | Approved by: imp@
* Remove invalid assertion.np2010-05-201-1/+0
| | | | | | | Holding the adapter lock while changing the LRO settings is sufficient. PR: kern/146759 MFC after: 3 days
* Add jchandra, with rrs as mentorjchandra2010-05-201-0/+2
| | | | Approved by: rrs (mentor)
* We do not have to build makewhatis as a bootstrap tool when it is disabledjkim2010-05-201-1/+5
| | | | by WITHOUT_MAN_UTILS.
* Add support for the Perle Speed4 LE.jhb2010-05-201-0/+12
| | | | | Submitted by: Douglas K. Rand rand of meridian-enviro com MFC after: 3 days
* Change ad_firmware_geom_adjust() to operate on a struct disk * only andmarius2010-05-207-30/+34
| | | | | | | | | hook it up to ada(4) also. While at it, rename *ad_firmware_geom_adjust() to *ata_disk_firmware_geom_adjust() etc now that these are no longer limited to ad(4). Reviewed by: mav MFC after: 3 days
* Remove unnecessary headers which were inherited from cam_xpt.c withoutmarius2010-05-202-8/+0
| | | | | | | reason. Reviewed by: mav MFC after: 3 days
* Add new memory days for Russian Federation.osa2010-05-201-2/+17
| | | | | | | | | Fix date and description. Obtained from: http://pda.lenta.ru/news/2010/05/19/baptism/ http://www.garant.ru/doc/busref/spr_prazdn/ Thanks to: maxim
* With r208341 in place WARNS can be increased.marius2010-05-201-1/+1
|
* Update to a config.h created by a file 5.03 configure script. This causesmarius2010-05-201-38/+57
| | | | | | | | | | file.1 to contain the correct version number and SIZEOF_LONG_LONG to be defined as appropriate, which is crucial for 64-bit big-endian ELF files to be handled correctly on big-endian systems. PR: 146387 Reviewed by: delphij MFC after: 3 days
* When waiting for the busy page, do not unlock the object unless unlockkib2010-05-201-3/+6
| | | | | | | cannot be avoided. Reviewed by: alc MFC after: 1 week
* Upgrade to 9.6.2-P2, which addresses the following;dougb2010-05-204-5/+10
| | | | | Named could return SERVFAIL for negative responses from unsigned zones.
* o DragonFly 2.6.0 added.maxim2010-05-201-1/+2
| | | | Submitted by: pluknet
* Revert r208324. We still need it for installworld as $PATH is overriden.jkim2010-05-201-0/+1
|
* Rename an argument from "exp" to "expect" since the former makes FlexeLintphk2010-05-202-15/+15
| | | | | | uneasy, in case anybody think it might be exp(3) in libm. This also makes it consistent with other archs.
* Fix some way-past-brucification complaints from FlexeLint.phk2010-05-201-18/+23
|
* Add support to background fsck to delete zero-length directories.mckusick2010-05-202-1/+33
|
* o OpenBSD 4.7 added.maxim2010-05-201-0/+2
|
* Remove makewhatis(1) from bootstrap tools. We no longer support sourcejkim2010-05-201-1/+0
| | | | upgrades from versions prior to 6.0 on head.
* Regen for r208321.jkim2010-05-201-1/+19
|
* Add an option file for WITHOUT_MAN_UTILS to regenerate src.conf(5).jkim2010-05-201-0/+9
|
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-197-7/+18
| | | | | | | | | utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212
* Correctly identify some twinax cables, which reportgallatin2010-05-191-1/+2
| | | | a media type of 1.
* Add constants for the optional EOI suppression support in local APICs andjhb2010-05-192-0/+6
| | | | EOI registers in I/O APICs.
* Update mxge firmware to latest available from Myricom.gallatin2010-05-194-33887/+34014
|
* This change does the following for the scripts that run up throughdougb2010-05-1911-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FILESYSTEMS (the default early_late_divider): 1. Move sysctl to run first 2. Move as many BEFOREs to REQUIREs as possible. 3. Minor effect, move hostid_save from right before mdconfig to right after. A lot of the early scripts make use of sysctl one way or another so running this first makes a lot of sense given that system-critical values are often placed in sysctl.conf. My original purpose for working on this was that while doing some debugging on other stuff I noticed that the order of execution was different in the first pass through the early scripts and the second. In practice that doesn't matter because the scripts are not executed the second time. However this _can_ result in problems if the difference in the rcorder moves a script from the late section to the early section in the second pass (which would mean the script would not get executed). So, I wanted to make the order of execution of the scripts in the early section more deterministic. In the course of debugging the ordering problems I noticed that moving the BEFOREs to REQUIREs prevented the changes in order from the first pass to the second pass without having to make any substantial changes. (Of course it's no secret that I think BEFORE should be avoided as much as possible, but this is a good example of why.) Reviewed by: silence on freebsd-rc@ MFC after: 8.1-RELEASE
* Fix a race between ngs_rcvmsg() and soclose() which closes the controlattilio2010-05-191-6/+26
| | | | | | | | | | | | | socket while it is still in use. priv->ctlsock is checked at the top of the function but without any lock held, which means the control socket state may certainly change. Add a similar protection to ngs_shutdown() even if a race is unlikely to be experienced there. Sponsored by: Sandvine Incorporated Obtained from: Nima Misaghian @ Sandvine Incorporated <nmisaghian at sandvine dot com> MFC after: 10 days
* ffs_mount: accept and drop userland-only options that can be passed fromavg2010-05-191-3/+12
| | | | | | | | | | | | | | | | | | | loader(8) In r193192 loader(8) has grown an ability to pass root mount options from fstab via vfs.root.mountfrom.options. Unfortunately, some options that can be present in fstab are for userland only and lead to root mounting failure when seen by kernel. Rather than teaching loader about FFS-specific options that should be filtered out, ffs_mount recognizes those options as valid, but ignores and deletes[1] them. [1] is suggested by jh. PR: kern/141050 Reported by: many Reviewed by: jh, bde MFC after: 4 days
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-1957-64/+64
| | | | Reviewed by: ru
* Garbage collect unused variable, missed in r200840uqs2010-05-191-5/+0
| | | | Found by: clang static analyzer
* - Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *)uqs2010-05-193-23/+11
| | | | | | | | | | | might be true on some systems [1] - Rewrite gotos to use return directly - Some spelling fixes - Reduce unneeded/non-standard Makefile settings Requested by: bde, imp [1] Explanation provided by: bde [1] Reviewed by: imp
* - Don't immediately re-run softdepflush if we didn't make any progressjeff2010-05-192-51/+72
| | | | | | | | | | | | on the last iteration. This can lead to a deadlock when we have worklist items that cannot be immediately satisfied. Reported by: uqs, Dimitry Andric <dimitry@andric.com> - Remove some unnecessary debugging code and place some other under SUJ_DEBUG. - Examine the journal state in softdep_slowdown(). - Re-format some comments so I may more easily add flag descriptions.
* Correct a typo.nwhitehorn2010-05-191-1/+1
| | | | Pointy hat to: me
* Fix our version of IPv6 address representation.alfred2010-05-191-2/+19
| | | | | | | | | | | | | | | | | | | | | | We do not respect rules 3 and 4 in the required list: 1. omit leading zeros 2. "::" used to their maximum extent whenever possible 3. "::" used where shortens address the most 4. "::" used in the former part in case of a tie breaker 5. do not shorten one 16 bit 0 field 6. use lower case http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-04.html Submitted by: Kalluru Abhiram @ Juniper Networks Obtained from: Juniper Networks Reviewed by: hrs, dougb
* Switch to C99 exact-width types.marcel2010-05-195-78/+77
|
* A few changes:jfv2010-05-192-178/+238
| | | | | | | | | | | | | | When not defining header split do not allocate mbufs, this can be a BIG savings in the mbuf memory pool. Also keep seperate dma maps for the header and payload pieces when doing header split. The basis of this code was a patch done a while ago by yongari, thank you :) A number of white space changes. MFC: in a few days
OpenPOWER on IntegriCloud