summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Add myself in committers-ports.dotnemysis2013-08-151-0/+7
| | | | Approved by: miwi/wxs/wg (mentors)
* On the recovery path for vm_page_alloc(), if a page had been requestedattilio2013-08-151-0/+9
| | | | | | | | wired, unwind back the wiring bits otherwise we can end up freeing a page that is considered wired. Sponsored by: EMC / Isilon storage division Reported by: alc
* Belatedly bump __FreeBSD_version for libc being an ld script.jlh2013-08-151-1/+1
| | | | | | | This should have been done in r251668, on June 12, 2013. This will have no practical consequences, besides having -lssp_nonshared appearing twice on the command-line for systems built in this time frame.
* Make sendfile() a method in the struct fileops. Currently onlyglebius2013-08-1515-55/+112
| | | | | | | | vnode backed file descriptors have this method implemented. Reviewed by: kib Sponsored by: Nginx, Inc. Sponsored by: Netflix
* Fix a typo.markj2013-08-151-1/+1
| | | | MFC after: 3 days
* Specify SDT probe argument types in the probe definition itself rather thanmarkj2013-08-158-219/+130
| | | | | | | | | using SDT_PROBE_ARGTYPE(). This will make it easy to extend the SDT(9) API to allow probes with dynamically-translated types. There is no functional change. MFC after: 2 weeks
* Some objects - such as *_genassym.o are not hooked intosjg2013-08-141-1/+1
| | | | | | | SRCS OBJS or anything else, yet have a dependency on symlinks such as machine/ Reviewed by: obrien
* sh: Recognize "--" as end of options in local builtin.jilles2013-08-142-0/+13
|
* Don't send uninitialized memory (two instances of 4 bytes) intuexen2013-08-141-0/+8
| | | | | | | every cookie on the wire. This bug was reported in https://bugzilla.mozilla.org/show_bug.cgi?id=905080 MFC after: 3 days
* Fix several performance related issues in the new NFS server'srmacklem2013-08-144-85/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | DRC for NFS over TCP. - Increase the size of the hash tables. - Create a separate mutex for each hash list of the TCP hash table. - Single thread the code that deletes stale cache entries. - Add a tunable called vfs.nfsd.tcphighwater, which can be increased to allow the cache to grow larger, avoiding the overhead of frequent scans to delete stale cache entries. (The default value will result in frequent scans to delete stale cache entries, analagous to what the pre-patched code does.) - Add a tunable called vfs.nfsd.cachetcp that can be used to disable DRC caching for NFS over TCP, since the old NFS server didn't DRC cache TCP. It also adjusts the size of nfsrc_floodlevel dynamically, so that it is always greater than vfs.nfsd.tcphighwater. For UDP the algorithm remains the same as the pre-patched code, but the tunable vfs.nfsd.udphighwater can be used to allow the cache to grow larger and reduce the overhead caused by frequent scans for stale entries. UDP also uses a larger hash table size than the pre-patched code. Reported by: wollman Tested by: wollman (earlier version of patch) Submitted by: ivoras (earlier patch) Reviewed by: jhb (earlier version of patch) MFC after: 1 month
* sh: Allow a lone redirection before '|', ';;' or ';&'.jilles2013-08-144-0/+9
| | | | | | | Example: </dev/null | : PR: 181240 MFC after: 1 week
* If sys/param.h MAXPHYS has been tuned to exceed MFI_MAXPHYS, the mfi(4)sbruno2013-08-141-1/+2
| | | | | | | | | | | real JBOD mode (SYS PD) would fail fairly reliably during I/O. Steal the mfi_disk.c check for this condition (indirectly) when establishing d_maxsize. Reviewed by: ambrisko@ MFC after: 4 weeks Sponsored by: Yahoo! Inc.
* Added 4K quirks for:-smh2013-08-142-0/+48
| | | | | | * OCZ Agility 2 SSDs * Marvell SSDs * Intel X25-M Series SSDs
* Remove the {SRC,DOC,PORT}REVISION variables from release(7), andgjb2013-08-141-19/+4
| | | | | | | | update the default {SRC,DOC,PORT}BRANCH defaults. Submitted by: nwhitehorn X-MFC-With: r254224, r254294 X-MFC-To: stable/9, releng/9.2
* Make carets line up in dtc diagnostics if the line starts with a tab.theraven2013-08-141-1/+2
|
* ext2fs: update format specifiers for ext4 type.pfg2013-08-141-4/+4
| | | | | | | | | Previous bandaid was not appropriate and didn't really work for all platforms. While here, cleanup the surrounding code to match ffs_checkoverlap() Reported by: dim, jmallet and bde MFC after: 3 weeks
* Belatedly add my birthday and fix a typo.uqs2013-08-141-1/+2
|
* Fix make dependuqs2013-08-141-1/+1
|
* Replace the homegrown implementation of nitems() with calls to nitems()rpaulo2013-08-146-56/+37
| | | | | | | | | (param.h). Operating systems that don't have nitems() can easily define it on their own net80211 OS-specific header file. Discussed with: adrian
* Use kld_{load,unload} instead of mod_{load,unload} for the linker file loadmarkj2013-08-147-38/+38
| | | | | | | and unload event handlers added in r254266. Reported by: jhb X-MFC with: r254266
* - Disable quantum caches on the kmem_arena. This can make fragmentationjeff2013-08-131-1/+1
| | | | | | | worse on small KVA systems. I had intended to only enable it for debugging. Sponsored by: EMC / Isilon Storage Division
* - Add a statically allocated memguard arena since it is needed very earlyjeff2013-08-133-8/+17
| | | | | | | | on. - Pass the appropriate flags to vmem_xalloc() when allocating space for the arena from kmem_arena. Sponsored by: EMC / Isilon Storage Division
* Merge acpica_machdep.h for amd64 and i386 and move to x86. In fact, thesejkim2013-08-133-174/+86
| | | | two files were functionally identical.
* Improve pageout flow control to wakeup more frequently and do less work whilejeff2013-08-134-215/+68
| | | | | | | | | | | | | | | | | | | | | | | maintaining better LRU of active pages. - Change v_free_target to include the quantity previously represented by v_cache_min so we don't need to add them together everywhere we use them. - Add a pageout_wakeup_thresh that sets the free page count trigger for waking the page daemon. Set this 10% above v_free_min so we wakeup before any phase transitions in vm users. - Adjust down v_free_target now that we're willing to accept more pagedaemon wakeups. This means we process fewer pages in one iteration as well, leading to shorter lock hold times and less overall disruption. - Eliminate vm_pageout_page_stats(). This was a minor variation on the PQ_ACTIVE segment of the normal pageout daemon. Instead we now process 1 / vm_pageout_update_period pages every second. This causes us to visit the whole active list every 60 seconds. Previously we would only maintain the active LRU when we were short on pages which would mean it could be woefully out of date. Reviewed by: alc (slight variant of this) Discussed with: alc, kib, jhb Sponsored by: EMC / Isilon Storage Division
* If a controller fails to initialize, do not notify consumers (nvd) of itsjimharris2013-08-131-0/+9
| | | | | | | | namespaces. Sponsoredy by: Intel Reviewed by: carl MFC after: 3 days
* Send a shutdown notification in the driver unload path, to ensurejimharris2013-08-134-28/+51
| | | | | | | | | notification gets sent in cases where system shuts down with driver unloaded. Sponsored by: Intel Reviewed by: carl MFC after: 3 days
* libc: Use O_CLOEXEC when writing gmon files (cc -pg).jilles2013-08-131-2/+2
|
* Tidy up global locks for ACPICA. There is no functional change.jkim2013-08-134-21/+19
|
* Rename imx_machdep.c to imx51_machdep.c, because it contains hardwareian2013-08-132-1/+1
| | | | addresses which are specific to the imx51 chips.
* Remove get_rev_branch(), functionality exists in the release/Makefile.gjb2013-08-131-13/+0
| | | | Submitted by: hrs
* vfork(2) was listed as deprecated in 1994 (r1573) and was the falsepeter2013-08-131-19/+19
| | | | | | | | | | | reports of its impending demise were removed in 2009 (r199257). However, in 1996 (r16117) system(3) was switched from vfork(2) to fork(2) based partly on this. Switch back to vfork(2). This has a dramatic effect in cases of extreme mmap use - such as excessive abuse (500+) of shared libraries. popen(3) has used vfork(2) for a while. vfork(2) isn't going anywhere.
* kdump: Decode AT_FDCWD in first argument of bindat() and connectat().jilles2013-08-131-0/+2
|
* Teach libstdc++ about logl(3).pfg2013-08-131-2/+2
| | | | | | | The logl(3) family of functions were implemented in r251292. Define them in libstdc++'s configuration so they can be used. Reviewed by: dim
* - Remove the defaults for TARGET/TARGET_ARCH.gjb2013-08-131-8/+5
| | | | | | | | | - Note that WORLD_FLAGS and KERNEL_FLAGS set the number of make(1) jobs only on SMP-capable systems. MFC after: 3 days X-MFC-With: r254224 X-MFC-To: stable/9, releng/9.2
* - Only set ARCH_FLAGS (TARGET/TARGET_ARCH) if specified, otherwisegjb2013-08-132-26/+19
| | | | | | | | | | | | allow the toolchain to detect the correct values. - Remove {SRC,DOC,PORT}REVISION variables, and use 'branch@rNNNNNN' as the {SRC,DOC,PORT}BRANCH variables. - Only set default KERNEL_FLAGS and WORLD_FLAGS make(1) jobs if the number of CPUs is greater than 1. Submitted by: hrs
* Virtualize carp(4) variables to have per vnet control.trociny2013-08-131-53/+61
| | | | Reviewed by: ae, glebius
* kdump: Improve decoding of various *at calls:jilles2013-08-132-0/+47
| | | | | * Write AT_FDCWD where appropriate. * Decode the remaining arguments of openat() etc like open() etc.
* db: Use O_CLOEXEC instead of separate fcntl() call.jilles2013-08-132-8/+3
|
* init: Set kernel login class and CPU mask on new processes.jilles2013-08-131-1/+2
| | | | | | | In particular, this makes the kernel login class on processes started from /etc/rc "daemon" instead of "default". Reviewed by: trasz
* Some small cleanups to the fixes in r180340:jhb2013-08-131-3/+3
| | | | | | | | | | | - Set NOTE_TRACKERR before running filt_proc(). If the knote did not have NOTE_FORK set in fflags when registered, then the TRACKERR event could miss being posted. - Don't pass the pid in to filt_proc() for NOTE_FORK events. The special handling for pids is done knote_fork() directly and no longer in filt_proc(). MFC after: 2 weeks
* ext2fs: update format specifiers for ext4 type.pfg2013-08-131-1/+1
| | | | | Reported by: Sam Fourman Jr. MFC after: 3 weeks
* Expose _citrus_bcs_trunc_rws_len for libintl's use.peter2013-08-131-0/+1
| | | | Submitted by: Jan Beich <jbeich@tormail.org>
* Define ext2fs local types and use them.pfg2013-08-138-44/+48
| | | | | | | | | | | | | | | | | | | | | | Add definitions for e2fs_daddr_t, e4fs_daddr_t in addition to the already existing e2fs_lbn_t and adjust them for ext4. Other than making the code more readable these changes should fix problems related to big filesystems. Setting the proper types can be tricky so the process was helped by looking at UFS. In our implementation, logical block numbers can be negative and the code depends on it. In ext2, block numbers are unsigned so it is convenient to keep e2fs_daddr_t unsigned and use the complete 32 bits. In the case of e4fs_daddr_t, while the value should be unsigned, for ext4 we only need to support 48 bits so preserving an extra bit from the sign is not an issue. While here also drop the ext2_setblock() prototype that was never used. Discussed with: mckusick, bde MFC after: 3 weeks
* - Minor style(9) fix.glebius2013-08-131-2/+4
| | | | - Bring a comment up to date.
* Add imx6 compatibility and make the driver work for any clock frequency.ian2013-08-132-79/+132
| | | | | | | There are still a couple references to imx51 ccm driver functions that will need to be changed after an imx6 ccm driver is written. Reviewed by: ray
* ieee80211_rate2plcp() and ieee80211_rate2phytype() are both pre-11nadrian2013-08-131-2/+5
| | | | | | | | | | | | | | | | | | routines and thus assert if one passes in a rate code with the high bit set. Since the high bit can indicate either IEEE80211_RATE_BASIC or IEEE80211_RATE_MCS, it's up to the caller to determine whether the rate is 11n or not, and either mask out the BASIC bit, or call a different function. (Yes, this does mean that net80211 should grow 11n-aware rate2phytype() and rate2plcp() functions..) This may need to happen for the other drivers - it's currently only done (now) for iwn(4) and bwi(4). PR: kern/181100
* Apply upstream revision 1.151 (fix relative symlinks)des2013-08-131-1/+2
| | | | MFC after: 3 days
* Turn off warns for this do-nothing file. clang noticed.peter2013-08-131-0/+2
|
* Return error when opening read-only volumes (like RAID4/5/...) for writing.mav2013-08-133-1/+8
| | | | | | | Previously opens succeeded, but actual write operations returned errors. Requested by: peter MFC after: 2 weeks
* Add a note that if you were WITH_ICONV before, you should turn onpeter2013-08-131-0/+2
| | | | WITH_LIBICONV_COMPAT.
OpenPOWER on IntegriCloud