summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revamp locking a bit. This fixes three problems:rpaulo2010-09-122-18/+26
| | | | | | | | | * processes now can't go away while we are inserting probes (fixes a panic) * if a trap happens, we won't be holding the process lock (fixes a hang) * fix a LOR between the process lock and the fasttrap bucket list lock Thanks to kib for pointing some problems. Sponsored by: The FreeBSD Foundation
* Bump date from r212440.gjb2010-09-121-1/+1
| | | | | Approved by: keramida (mentor) MFC after: 1 week
* Bump dates in dbopen(3) and cpuset_getaffinity(2) from r212441 andgjb2010-09-122-2/+2
| | | | | | | r212438, repectively. Approved by: keramida (mentor) MFC after: 1 week
* Instead of storing last event timestamp, store the next event timestamp.mav2010-09-121-19/+28
| | | | It corrects handling of the first event offset in emulated periodic mode.
* ATAPI DMA does not seem to work completely reliably on Shasta controllers,nwhitehorn2010-09-111-1/+3
| | | | especially in conjunction with ATA_CAM, so disable it for now.
* Mentions cases when bwi(4) driver should be used that it only wroteweongyo2010-09-111-1/+8
| | | | | | | about chipset type instead of card names because it's not easy to sort names what cards use these chipsets. Pointed by: imp
* Do not print "frequency 0 Hz", when frequency is unknown.mav2010-09-111-3/+9
|
* Add missing pointer increment to sbuf_cat.kan2010-09-111-1/+1
|
* Change OF_interpret() to also take an array of cell_t (missed in r209801).marius2010-09-115-14/+11
| | | | Reviewed by: nwhitehorn
* sh: Fix exit status if return is used within a loop condition.jilles2010-09-113-0/+11
|
* sh: Apply variable assignments left-to-right in bltinlookup().jilles2010-09-112-1/+8
| | | | | Example: HOME=foo HOME=bar cd
* Protect mnt_syncer with the sync_mtx. This prevents a (rare) vnode leakkib2010-09-113-15/+34
| | | | | | | | | | | when mount and update are executed in parallel. Encapsulate syncer vnode deallocation into the helper function vfs_deallocate_syncvnode(), to not externalize sync_mtx from vfs_subr.c. Found and reviewed by: jh (previous version of the patch) Tested by: pho MFC after: 3 weeks
* Avoid a LOR (sleepable after non-sleepable) inrpaulo2010-09-111-0/+2
| | | | | | fasttrap_tracepoint_enable(). Sponsored by: The FreeBSD Foundation
* Revert changes of 'assure' to 'ensure' made in r211936.brucec2010-09-118-11/+11
| | | | Approved by: rrs (mentor)
* Disable debug by default.rpaulo2010-09-111-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add a comment describing where to include bsd.dtrace.mk.rpaulo2010-09-111-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Fix the build after r212453. IPI_STATCLOCK declaration is still neededmav2010-09-111-0/+1
| | | | | | for build, though not really used. Submitted by: andreast
* Make a link for pthread_timedjoin_np.davidxu2010-09-111-0/+1
|
* 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
OpenPOWER on IntegriCloud