summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kill() does queue signal now.davidxu2010-09-111-4/+0
|
* make acpi_hp device a child of acpi_wmiavg2010-09-112-25/+12
| | | | | | | | | to properly reflect dependency between the devices/drivers PR: kern/147858 Suggested by: jhb Tested by: Maciej Suszko <maciej@suszko.eu> MFC after: 1 week
* Sparc64 uses dummy cpu_idle() method. It's CPUs never sleeping. Tellmav2010-09-111-1/+1
| | | | scheduler that it doesn't need to use IPI to "wake up" CPU.
* Merge some SCHED_ULE features to SCHED_4BSD:mav2010-09-111-4/+28
| | | | | | | | | | - Teach SCHED_4BSD to inform cpu_idle() about high sleep/wakeup rate to choose optimized handler. In case of x86 it is MONITOR/MWAIT. Also it will be needed to bypass forthcoming idle tick skipping logic to not consume resources on events rescheduling when it won't give any benefits. - Teach SCHED_4BSD to wake up idle CPUs without using IPI. In case of x86, when MONITOR/MWAIT is active, it require just single memory write. This doubles performance on some heavily switching test loads.
* Update PowerPC event timer code to use new event timers infrastructure.mav2010-09-1112-118/+286
| | | | | | Reviewed by: nwitehorn Tested by: andreast H/W donated by: Gheorghe Ardelean
* This patch applies one of the two fixes suggested byrmacklem2010-09-101-1/+6
| | | | | | | | | | | | zack.kirsch at isilon.com for a race between nfsrv_freeopen() and nfsrv_getlockfile() in the experimental NFS server that he found during testing. Although nfsrv_freeopen() holds a sleep lock on the lock file structure when called with cansleep != 0, nfsrv_getlockfile() could still search the list, once it acquired the NFSLOCKSTATE() mutex. I believe that acquiring the mutex in nfsrv_freeopen() fixes the race. MFC after: 2 weeks
* Note O_SYNC and O_NOFOLLOW flags in dbopen(3) since r190497.gjb2010-09-101-2/+2
| | | | | | | | PR: 150030 Submitted by: Janne Snabb snabb at epipe com Patch by: Janne Snabb Approved by: keramida (mentor) MFC after: 1 week
* Add RETURN VALUES section to devclass_get_maxunit(9).gjb2010-09-101-0/+13
| | | | | | | | PR: 149979 Submitted by: gcooper Patch by: gcooper Approved by: keramida (mentor) MFC after: 1 week
* Fix the NFSVNO_CMPFH() macro in the experimental NFS server sormacklem2010-09-101-2/+1
| | | | | | | | | | | that it works correctly for ZFS file handles. It is possible to have two ZFS file handles that differ only in the bytes in the fid_reserved field of the generic "struct fid" and comparing the bytes in fid_data didn't catch this case. This patch changes the macro to compare all bytes of "struct fid". Tested by: gull at gull.us MFC after: 2 weeks
* Add EINVAL to list of possible return values for cpuset_getaffinity(2).gjb2010-09-101-0/+6
| | | | | | | | PR: 149978 Submitted by: gcooper Patch by: gcooper Approved by: keramida (mentor) MFC after: 1 week
* Don't exit kern_jail_set without freeing options when enforce_statfsjamie2010-09-101-5/+8
| | | | | | has an illegal value. MFC after: 3 days
* Mark the sbuf_overflowed(9) manpage as obsolete since it has beenmdf2010-09-101-0/+2
| | | | | | renamed. Noticed by: jhb
* "freebsd-update fetch -r NEWRELEASE" is meaningless and probably a typocperciva2010-09-101-2/+14
| | | | | | | | for "freebsd-update upgrade -r NEWRELEASE". Error out and suggest what the user probably meant. Submitted by: James Seward MFC after: 1 month
* Add warning about freebsd-update upgrade needing lots of disk space.cperciva2010-09-101-0/+5
| | | | | Submitted by: jpaetzel MFC after: 1 month
* Remind the user that he needs to run 'freebsd-update install' to installcperciva2010-09-101-0/+4
| | | | | | | new bits after downloading them using 'freebsd-update upgrade'. Submitted by: bapt MFC after: 1 month
* Add real dependancies on the uuencoded firmwares.obrien2010-09-101-19/+19
| | | | | | Now when one does 'make kernel ; make kernel' the second invocation only does: `kernel.ko' is up to date. rather than reproduce all the .fw files and relink the kernel.
* Fix bugs introduced in the previous rev:rpaulo2010-09-101-5/+9
| | | | | | | * add a phatom target for the DTRACEOBJS * when invoking DTrace, don't add DTRACEOBJS to the command line. Sponsored by: The FreeBSD Foundation
* Fix typo in previous commit.rpaulo2010-09-101-1/+1
|
* Replace sbuf_overflowed() with sbuf_error(), which returns any errormdf2010-09-109-48/+51
| | | | | | code associated with overflow or with the drain function. While this function is not expected to be used often, it produces more information in the form of an errno that sbuf_overflowed() did.
* Add bsd.dtrace.mk. This allows userland programs and libraries torpaulo2010-09-102-1/+57
| | | | | | | | | define USDT probes on a provider.d file and then use this new make infrastructure to build the corresponding header file and object file. This will only take effect when the user defines WITH_DTRACE when building. Sponsored by: The FreeBSD Foundation
* Check the existence of a 'beforelinking' target and make the resultingrpaulo2010-09-102-1/+13
| | | | | | | program or library depend on that before doing the final linking. This will be needed by DTrace. Sponsored by: The FreeBSD Foundation
* Add the DTRACE variable that points to the executable.rpaulo2010-09-101-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* MFp4 (//depot/projects/mps/...)ken2010-09-1024-0/+12780
| | | | | | | | | | | | | | | | | | | | | | | | Bring in a driver for the LSI Logic MPT2 6Gb SAS controllers. This driver supports basic I/O, and works with SAS and SATA drives and expanders. Basic error recovery works (i.e. timeouts and aborts) as well. Integrated RAID isn't supported yet, and there are some known bugs. So this isn't ready for production use, but is certainly ready for testing and additional development. For the moment, new commits to this driver should go into the FreeBSD Perforce repository first (//depot/projects/mps/...) and then get merged into -current once they've been vetted. This has only been added to the amd64 GENERIC, since that is the only architecture I have tested this driver with. Submitted by: scottl Discussed with: imp, gibbs, will Sponsored by: Yahoo, Spectra Logic Corporation
* test(1): Fix markup, ( and ) must be separate arguments so leave spaces.jilles2010-09-101-1/+1
| | | | MFC after: 1 week
* test(1): Clarify grammar ambiguity and -a/-o vs shell &&/||.jilles2010-09-101-5/+12
|
* sh(1): Remove xrefs for expr(1) and getopt(1).jilles2010-09-101-3/+1
| | | | | | | | | | | expr(1) should usually not be used as various forms of parameter expansion and arithmetic expansion replicate most of its functionality in an easier way. getopt(1) should not be used at all in new code. Instead, getopts(1) or entirely manual parsing should be used. MFC after: 1 week
* Do not IPI CPU that is already spinning for load. It doubles effect ofmav2010-09-101-4/+11
| | | | spining (comparing to MWAIT) on some heavly switching test loads.
* Don't try to map the USDT probes. This is necessary because there is norpaulo2010-09-101-1/+3
| | | | | | __SUNW_dof symbol present in FreeBSD binaries. Sponsored by: The FreeBSD Foundation
* bus_add_child: change type of order parameter to u_intavg2010-09-1033-58/+58
| | | | | | | | | | This reflects actual type used to store and compare child device orders. Change is mostly done via a Coccinelle (soon to be devel/coccinelle) semantic patch. Verified by LINT+modules kernel builds. Followup to: r212213 MFC after: 10 days
* Add Planex UE-200TX-G to list of supported devices.sanpei2010-09-101-0/+2
| | | | | | | (http://lists.freebsd.org/pipermail/freebsd-current/2008-December/001756.html) Submitted by: nork MFC after: 3 days
* Create the var/run/wpa_supplicant directory where the wpa_supplicantbschmidt2010-09-101-0/+2
| | | | | | RC script wants to save a pidfile for each interface. MFC after: 2 weeks
* Fix firmware module dependencies.bschmidt2010-09-102-2/+2
| | | | | | | | | malo and mwl use the firmware framework to access firmware images. Depending on the firmware modules itself is not required and in this case even wrong because no modules with those names exist. Pointed out by: brucec MFC after: 1 week
* Compilation fix - when INVARIANTS are turned off.jchandra2010-09-103-2/+10
|
* Protect BSDI $Id from accidental manipulation.obrien2010-09-101-1/+1
|
* Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG.pjd2010-09-101-0/+1
| | | | | Reported by: keramida MFC after: 2 weeks
* Because POSIX does not allow EINTR to be returned from sigwait(),davidxu2010-09-105-7/+59
| | | | | | | | add a wrapper for it in libc and rework the code in libthr, the system call still can return EINTR, we keep this feature. Discussed on: thread Reviewed by: jilles
* When using pf routing options, properly handle IP fragmentationbz2010-09-101-1/+2
| | | | | | | | | | | | for interfaces with TSO enabled, otherwise one would see an extra ICMP unreach, frag needed pre matching packet on lo0. This syncs pf code to ip_output.c r162084. PR: kern/144311 Submitted by: yongari via mlaier Reviewed by: eri Tested by: kib MFC after: 8 days
* expr(1): Add sh(1) versions of examples, remove an incorrect example.jilles2010-09-091-10/+21
| | | | | | | | | | The three examples are better done using sh(1) itself these days. The example expr -- "$a" : ".*" is incorrect in the general case, as "$a" may be an operator. MFC after: 2 weeks
* Xref aesni(4).brueffer2010-09-091-1/+2
|
* Some more grammar, wording and mdoc fixes.brueffer2010-09-091-4/+8
|
* Remove empty lines committed by accident.pjd2010-09-091-2/+0
| | | | MFC after: 2 weeks
* On FreeBSD we can log from pool that have multiple top-level vdevs or logpjd2010-09-091-0/+6
| | | | | | vdevs, so don't deny adding new vdevs if bootfs property is set. MFC after: 2 weeks
* Ignore log vdevs.pjd2010-09-091-0/+7
| | | | MFC after: 2 weeks
* Allow to boot from a pool within which replacing is in progress.pjd2010-09-091-3/+33
| | | | | | | | | | | | Before the change it wasn't possible and the following error was printed: ZFS: can only boot from disk, mirror or raidz vdevs Now if the original vdev (the one we are replacing) is still present we will read from it, but if it is not present we won't read from the new vdev, as it might not have enough valid data yet. MFC after: 2 weeks
* Remove duplicated code.pjd2010-09-091-20/+9
| | | | MFC after: 2 weeks
* Bump __FreeBSD_version for sbuf ABI change.mdf2010-09-091-1/+1
|
* * Remove code which has no effect.tuexen2010-09-091-108/+61
| | | | | | * Clean up the handling in sctp_lower_sosend(). MFC after: 3 weeks.
* Arrgh, tested wrong source tree _again_. Fix previous commit. Also,trasz2010-09-091-1/+1
| | | | | | this and previous one are MFC candidate. MFC after: 1 month
* Catch up to rename of the constant for the Master Data Parity Error bit injhb2010-09-092-3/+3
| | | | | | | the PCI status register. Pointed out by: mdf Pointy hat to: jhb
* Add minor optimization. It's less strict than its kernel counterparttrasz2010-09-091-0/+9
| | | | due to upcoming ACL changes required by the new ZFS.
OpenPOWER on IntegriCloud