summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add unwind annotations to the asm part of crt1 on i386. Terminate thekib2010-06-181-1/+8
| | | | | | | process with SIGTRAP if _start1() unexpectedly returns. Reviewed by: kan MFC after: 2 weeks
* Often reported issue with newer ld is:kib2010-06-181-1/+2
| | | | | | | | | | | | | | | | | error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created. The issue is that crtend is compiled with unwind table, and also it places the special CIE into the .eh_frame indicating the end of section, that is located before generated unwind table. New ld has assertion that verifies that closing CIE is indeed the last CIE, causing the crypting message to be issued, and refusing to generate dwarf unwind. Add -fno-asynchronous-unwind-tables to disable unwind table generation for crtbegin/crtend. While there, disable omitting the frame pointer [1]. Requested by: kan [1] Reviewed by: kan MFC after: 2 weeks
* Fix a rece condition in the shutdown handling.tuexen2010-06-183-0/+40
| | | | | | The race condition resulted in a panic. MFC after: 3 days
* Add the AAAA address for i.root-servers.netdougb2010-06-181-2/+3
|
* Much closer approximation of the kernel's calculation of this value.sbruno2010-06-181-1/+6
| | | | | Reviewed by: alc Obtained from: Yahoo Inc.
* Import latest ARC change from OpenSolaris:mm2010-06-171-6/+6
| | | | | | | | | | | | | - large ghost eviction causes high write latency - arc_adjust might adjust MRU unnecessarily - arc_adapt can lead to wild arc_p adjustment OpenSolaris onnv-revision: 12636:13b5d698941e Submitted by: avg Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6950219, 6953403, 6951024) MFC after: 1 month
* Remove an unused comment.delphij2010-06-171-1/+1
|
* Expand man page to document the fact that mptutil/mpt doesn't support RAID ↵sbruno2010-06-171-0/+12
| | | | | | | | | | | volumes in excess of 2TB. Document workaround via geom or zfs Modified submitter's original patch to reference why this is broken and what to do to work around the issue. Submitted by: hubert@tournier.org PR: bin/147572 Reviewed by: jhb MFC after: 2 weeks
* Turn off UMA allocations on all archs by default. It isn't stable even onpjd2010-06-171-5/+1
| | | | | | | amd64. Reported by: many MFC after: 3 days
* Backout r207970 for now, it can lead to deadlocks.pjd2010-06-171-13/+0
| | | | | Reported by: kan MFC after: 3 days
* Two stats were duplicated, thanks to Andrew Boyerjfv2010-06-171-6/+0
| | | | for pointing this out.
* Make DTrace syscall provider work again by including opt_kdtrace.h here.rpaulo2010-06-171-0/+1
|
* - Fix compilation of the subr_unit.c user space test program.jh2010-06-171-3/+4
| | | | - Use %zu for size_t in a few format strings.
* - Update GCC reference from 3.3 to 4.2 [1]gabor2010-06-171-3/+4
| | | | | | - Add reference to c99(7) Submitted by: stefanf
* - Fix typo, it should have been c78.7gabor2010-06-171-1/+1
| | | | Submitted by: pluknet <pluknet@gmail.com>
* Add the ZFS periodic daily scripts to the ZFS part.netchild2010-06-171-0/+2
|
* In the ia32_{get,set}_fpcontext(), use fpu{get,set}userregs insteadkib2010-06-171-2/+3
| | | | | | | of fpu{get,set}regs. Noted by: bde MFC after: 1 month
* - add the zfs scrub scriptnetchild2010-06-171-1/+5
| | | | | | | - move the zfs status script into the MK_ZFS conditional to respect WITHOUT_ZFS Noticed by: Andrzej Tobola <ato@iem.pw.edu.pl>
* - Add c99(7) manual pagegabor2010-06-172-0/+188
| | | | - Add MLINKS to c.7, c79.7, c89.7, c90.7
* Merge COUNT_XINVLTLB_HITS and COUNT_IPIS kernel options from i386 to amd64.mav2010-06-176-20/+221
| | | | | | | | | This information can be very valuable for CPU sleep-time (and respectively idle power consumption) optimization. Add counters for timer-related IPIs. Reviewed by: jhb@ (previous version)
* lock_profile_release_lock: do not compare unsigned with zeroavg2010-06-171-3/+5
| | | | | | | Found by: Coverity Prevent CID: 3660 Reviewed by: jhb MFC after: 2 weeks
* Remove the unit argument from the recently added make_dev_p().ed2010-06-172-4/+4
| | | | | | | | New code that creates character devices shouldn't use device unit numbers, but only si_drv[12] to hold pointer to per-device data. Make this function more future proof by removing the unit number argument. Discussed with: kib
* Merge jmallett@'s n64 work into HEAD - changeset 4jchandra2010-06-1711-273/+459
| | | | | | | | | Re-write tlb operations in C with a simpler API. Update callers to use the new API. Changes from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs(mentor), jmallett
* Move statistics into the sysctl tree making it easier to findgnn2010-06-161-157/+301
| | | | | | and use them. Add previously hidden statistics, some of which include interrupt and host/card communication counters.
* Move statistics into the sysctl tree making it easier to findgnn2010-06-162-172/+423
| | | | | | and use them. Add previously hidden statistics, some of which include interrupt and host/card communication counters.
* Use awk alone for extracting FDT_DTS_FILE instead of grep/cut, which israj2010-06-161-2/+2
| | | | | | simpler and more robust. Submitted by: Andrzej Tobola
* Merge jmallett@'s n64 work into HEAD - changeset 3jchandra2010-06-161-3/+5
| | | | | | | | Update rtld MIPS code to use assembly macros that work on o32/n64. Changes from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs(mentor), jmallett
* Changes from John Baldwin adding to last commit,jfv2010-06-164-49/+45
| | | | | change rxeof api for poll friendliness, and eliminate unnecessary link tasklet use. Thanks John!
* Correct the function name in a KASSERT.jh2010-06-161-1/+1
|
* Call free and freeaddrinfo before exiting.brucec2010-06-161-14/+35
| | | | | | | | PR: bin/144730 PR: bin/144974 Submitted by: Earl R. Lapus <earl.lapus at gmail.com> Approved by: rrs (mentor) MFC after: 1 month
* * Allow partial MB/GB values to be entered in the slice and label editors.brucec2010-06-163-20/+39
| | | | | | | | | | | | * Don't strdup the name when calling deviceRegister because the string is copied within new_device. * Use a subtype of 165, not 3, when creating a slice in noninteractive mode. PR: bin/135333 PR: bin/66350 Approved by: rrs (mentor) MFC after: 1 month
* Freq sysctls are quite heavy due to set of malloc()/free() calls. Avoidmav2010-06-161-9/+21
| | | | | | | reading current frequency on every period. Instead do it only after changing and periodically from time to time if somebody else change it. Also dynamically decrease sampling frequency up to 4 times on inactivity,
* Merge jmallett@'s n64 work into HEAD - changeset 2jchandra2010-06-167-40/+117
| | | | | | | | | Update libc Makefiles. Add makecontext implementation. Changes from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs(mentor), jmallett
* Move ARM nexus rman initialization to attach routine.raj2010-06-161-7/+7
| | | | | | This fixes a panic, which started to trigger after r209129 cleanup. Submitted by: Andrew Turner
* Merge jmallett@'s n64 work into HEAD - changeset 1.jchandra2010-06-1620-521/+510
| | | | | | | | | Update libc assembly code to use macros that work on both o32 and n64. Merge string functions from NetBSD. The changes are from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs (mentor), jmallett
* Remove redundant assignment.pjd2010-06-161-2/+0
| | | | MFC after: 3 days
* device.hints: do not install when WITHOUT_BOOT is setavg2010-06-160-0/+0
| | | | | | | Forced commit to fix commit message in r209228. Discussed with: imp MFC after: 2 weeks
* device.hints: do install when WITHOUT_BOOT is setavg2010-06-161-0/+2
| | | | | Discussed with: imp MFC after: 2 weeks
* Eliminate unnecessary page queues locking.alc2010-06-161-5/+1
|
* Allow boot.config to have different values than just -h.imp2010-06-151-1/+5
| | | | | Submitted by: bsdrp by way of freenas and olivier cochard-labbe MFC after: 3 days
* libedit: Reduce surprising behaviour with filename completion some more:jilles2010-06-151-3/+7
| | | | | | | | | * Quote '*', '?' and '['. While it may be more useful to expand them to matching pathnames, this at least matches with the completion we do. * '@' is a regular character for filenames. Some other shells do @<hostname> completion but we do not. * Prefix names starting with '-' and '+' with './' so they are not seen as options.
* Turn off cache if there's more than one kernel mapping, and one is writable.cognet2010-06-151-1/+1
| | | | Submitted by: Mark Tinguely
* Modify the console mouse pointer drawing routine to use single-byte writesnwhitehorn2010-06-151-17/+4
| | | | | | | | | instead of 4-byte ones. Because the mouse pointer can start part way through a character cell, 4-byte memory operations are not necessarily aligned, triggering a fatal alignment exception when the console pointer was moved on PowerPC G5 systems. MFC after: 3 days
* sh: Add filename completion.jilles2010-06-151-0/+4
| | | | | | | | | | | | This uses the new libedit completion function with quoting support. Unlike NetBSD, there is no 'set +o tabcomplete' option to disable completion. I do not see any reason for such a special treatment, as completion is rather useful and it is possible to do bind ^I ed-insert to disable completion and insert a tab character instead. Submitted by: Guy Yur
* libedit: Allow simple quoting in filename completion.jilles2010-06-153-11/+138
| | | | | | | | | | | | | The completer recognizes characters escaped with backslashes as being literal parts of a word, and adds backslashes to avoid almost all misinterpretation. In particular, filenames containing spaces can be completed correctly. For bug compatibility with the NetBSD version, the improved completion function has a new name, _el_fn_sh_complete, and _el_fn_complete is unchanged. Submitted by: Guy Yur
* Change to have legacy interrupts use the samejfv2010-06-152-12/+12
| | | | | | | | handler had a flaw, thanks to John Baldwin for finding it. Change which queue legacy tasks are enqueued on. MFC: soonest
* libedit: Fix a bug that could make completion listings incomplete.jilles2010-06-151-3/+2
| | | | | | | | The element matches[0] is the common prefix and is not counted in len, so subtracting 1 is not needed. A counter for the number of matches per line was incremented twice. Submitted by: Guy Yur
* Implement flexible BPF timestamping framework.jkim2010-06-156-104/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow setting format, resolution and accuracy of BPF time stamps per listener. Previously, we were only able to use microtime(9). Now we can set various resolutions and accuracies with ioctl(2) BIOCSTSTAMP command. Similarly, we can get the current resolution and accuracy with BIOCGTSTAMP command. Document all supported options in bpf(4) and their uses. - Introduce new time stamp 'struct bpf_ts' and header 'struct bpf_xhdr'. The new time stamp has both 64-bit second and fractional parts. bpf_xhdr has this time stamp instead of 'struct timeval' for bh_tstamp. The new structures let us use bh_tstamp of same size on both 32-bit and 64-bit platforms without adding additional shims for 32-bit binaries. On 64-bit platforms, size of BPF header does not change compared to bpf_hdr as its members are already all 64-bit long. On 32-bit platforms, the size may increase by 8 bytes. For backward compatibility, struct bpf_hdr with struct timeval is still the default header unless new time stamp format is explicitly requested. However, the behaviour may change in the future and all relevant code is wrapped around "#ifdef BURN_BRIDGES" for now. - Add experimental support for tagging mbufs with time stamps from a lower layer, e.g., device driver. Currently, mbuf_tags(9) is used to tag mbufs. The time stamps must be uptime in 'struct bintime' format as binuptime(9) and getbinuptime(9) do. Reviewed by: net@
* Add a new column to the output of vmstat -z to indicate the numbersbruno2010-06-158-14/+36
| | | | | | | | | | | | | of times the system was forced to sleep when requesting a new allocation. Expand the debugger hook, db_show_uma, to display these results as well. This has proven to be very useful in out of memory situations when it is not known why systems have become sluggish or fail in odd ways. Reviewed by: rwatson alc Approved by: scottl (mentor) peter Obtained from: Yahoo Inc.
* When Emulate3Button is active, do not set select() timeout in states whenmav2010-06-151-1/+2
| | | | | | it is not needed. No need to kick CPU every 20ms without a purpose. Reviewed by: philip@
OpenPOWER on IntegriCloud