summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | - Add a missing const.marius2010-04-261-1/+2
| | | | | | | | - Map the NS16550 found in Fujitsu Siemens PRIMEPOWER250 to PNP0501 as well.
* | Skip the pseudo-devices found in Fujitsu Siemens PRIMEPOWER250.marius2010-04-261-0/+2
| |
* | Better handling of ipv6_default_interface usingume2010-04-263-25/+15
| | | | | | | | | | | | | | net.inet6.ip6.use_defaultzone=1. Now, it works IPv6 link-local unicast addresses as well as IPv6 link-local multicast addresses. MFC after: 1 week
* | - Rework the underlying ALQ storage to be a circular buffer, which amongst otherlstewart2010-04-263-189/+768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things allows variable length messages to be easily supported. - Extend KPI with alq_writen() and alq_getn() to support variable length messages, which is enabled at ALQ creation time depending on the arguments passed to alq_open(). Also add variants of alq_open() and alq_post() that accept a flags argument. The KPI is still fully backwards compatible and shouldn't require any change in ALQ consumers unless they wish to utilise the new features. - Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers to have more control over IO scheduling and resource acquisition respectively. - Strengthen invariants checking. - Document ALQ changes in ALQ(9) man page. Sponsored by: FreeBSD Foundation Reviewed by: gnn, jeff, rpaulo, rwatson MFC after: 1 month
* | MFp4:mav2010-04-262-14/+19
| | | | | | | | Move PI_TAG_ABLE check from ada driver to ATA XPT.
* | Mark ATA channel as idle on timeout in non-ATA_CAM mode.mav2010-04-261-1/+1
| | | | | | | | | | | | This should fix possible duplicate request completion. Submitted by: mjacob
* | missed pv access before pmap lockkmacy2010-04-251-1/+1
| |
* | Incremental reduction of delta with head_page_lock_2 branchkmacy2010-04-251-25/+38
| | | | | | | | | | | | - replace modification of pmap resident_count with pmap_resident_count_{inc,dec} - the pv list is protected by the pmap lock, but in several cases we are relying on the vm page queue mutex, move pv_va read under the pmap lock
* | Set USB_DEBUG like the other platforms, I had turned it off to test the buildthompsa2010-04-251-1/+1
| | | | | | | | | | | | before committing r207077. Spotted by: marius
* | sh: Use stalloc for arith variable names.jilles2010-04-253-24/+10
| | | | | | | | | | This is simpler than the custom memory tracker I added earlier, and is also needed by the dash arith code I plan to import.
* | Clearing a page table entry's accessed bit (PG_A) and setting thealc2010-04-252-45/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | page's PG_REFERENCED flag in pmap_protect() can't really be justified. In contrast to pmap_remove() or pmap_remove_all(), the mapping is not being destroyed, so the notion that the page was accessed is not lost. Moreover, clearing the page table entry's accessed bit and setting the page's PG_REFERENCED flag can throw off the page daemon's activity count calculation. Finally, in my tests, I found that 15% of the atomic memory operations being performed by pmap_protect() were only to clear PG_A, and not change protection. This could, by itself, be fixed, but I don't see the point given the above argument. Remove a comment from pmap_protect_pde() that is no longer meaningful after the above change.
* | Sending a FWDTSN chunk should not affect the retran count.tuexen2010-04-251-1/+1
| | | | | | | | MFC after: 3 days.
* | Make hash, type and ulimit available via execve().jilles2010-04-252-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are specified by POSIX but are not special builtins, and therefore need to be available via execve() and utilities like time, nohup, xargs. (Note that hash was moved from the XSI option to the base in the 2008 standard.) Like most of the POSIX "regular builtin commands", these need to be executed in a shell environment for full functionality, although they may still be of some use outside one. Unlike the POSIX special and regular builtin commands, POSIX does not require these to be found before a PATH search, although that could be an oversight. Like some of the utilities already provided by usr.bin/alias, these may lead to confusing results when invoked from csh(1).
* | Provide compat32 shims for bpf(4), except zero-copy facilities.kib2010-04-252-3/+166
| | | | | | | | | | | | | | | | | | | | bd_compat32 field of struct bpf_d is kept unconditionally to not impose the requirement of including "opt_compat.h" on all numerous users of bpfdesc.h. Submitted by: jhb (version for 6.x) Reviewed and tested by: emaste MFC after: 2 weeks
* | Provide 32bit compat shims for sysctl net.route NET_RT_IFLIST.kib2010-04-251-1/+101
| | | | | | | | | | | | | | | | | | This allows getifaddrs(3) to work for compat32 binaries. Submitted by: jhb (6.x version) Reviewed by: emaste Tested by: emaste and <pluknet gmail com> MFC after: 2 weeks
* | Undo my lastest fix since that wasn't one at all.tuexen2010-04-251-19/+19
| | | | | | | | MFC after: 3 days.
* | unlinkat(2): unlinkat(AT_REMOVEDIR) fails with ENOTEMPTY like rmdir()jilles2010-04-251-2/+2
| | | | | | | | | | | | | | | | | | for non-empty directories. POSIX permits both ENOTEMPTY and EEXIST, but we use the clearer ENOTEMPTY, following BSD tradition. MFC after: 1 week
* | symlink(7): Add lpathconf(2) and *at system calls.jilles2010-04-251-2/+27
| | | | | | | | MFC after: 1 week
* | symlink(7): The ownership of symlinks is used by the system,jilles2010-04-251-3/+3
| | | | | | | | | | | | | | | | | | in at least three ways, so do not say it is ignored: * who may delete/rename a symlink in a sticky directory * who may do lchflags(2)/lchown(2)/lchmod(2) * whose inode quota is charged MFC after: 1 week
* | kvm(3): Mention that some of the functions use sysctl(3) instead of kmem.jilles2010-04-251-2/+6
| | | | | | | | | | | | | | | | Additionally, because of sysctl(3) use (which is generally good), behaviour for crash dumps differs slightly from behaviour for live kernels and this will probably never be fixed entirely, so weaken that claim. MFC after: 1 week
* | sysctl(3): Update description of various kern.* variables.jilles2010-04-251-12/+10
| | | | | | | | | | | | | | | | Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3) (which is a more convenient way to access some of the variables). PR: 116480 MFC after: 1 week
* | Re-calculate a geometry when reprobing as well.marcel2010-04-251-0/+9
| | | | | | | | | | PR: kern/145452 Reported by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* | Fix undo for schemes that have internal partitions. Internal partitionsmarcel2010-04-251-1/+14
| | | | | | | | | | | | | | | | | | | | | | do not constitute user-visible or active partitions and as such should not prevent undoing pending operations. While here, initialize the last usable sector for the placeholder geom based on the null scheme, created to allow undoing the destruction of a scheme. This gives consistent output with "gpart show". Based on a patch from: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* | ifp->if_ipackets++ when RX packet interrupts are occurred.weongyo2010-04-241-0/+2
| | | | | | | | MFC after: 3 days
* | An NFSv4 server will reply NFSERR_GRACE for non-recovery RPCsrmacklem2010-04-249-37/+46
| | | | | | | | | | | | | | | | | | | | | | | | during the grace period after startup. This grace period must be at least the lease duration, which is typically 1-2 minutes. It seems prudent for the experimental NFS client to wait a few seconds before retrying such an RPC, so that the server isn't flooded with non-recovery RPCs during recovery. This patch adds an argument to nfs_catnap() to implement a 5 second delay for this case. MFC after: 1 week
* | builtin(1): Add missing escaping for !, . and : in the table.jilles2010-04-241-3/+3
| | | | | | | | | | | | | | This caused these commands to look differently (not bold) from the other commands in the table (bold). MFC after: 1 week
* | builtin(1): Mention [ sh builtin.jilles2010-04-241-1/+3
| | | | | | | | MFC after: 1 week
* | - fix style issues on i386 as wellkmacy2010-04-241-16/+16
| | | | | | | | requested by: alc@
* | apply style(9) changes applied to head_page_lock_2kmacy2010-04-241-17/+17
| | | | | | | | requested by: kib@
* | remove vm obect tracker that slipped in from prior work.rnoland2010-04-241-1/+0
| | | | | | | | MFC after: 2 weeks
* | Resurrect pmap_is_referenced() and use it in mincore(). Essentially,alc2010-04-2415-18/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pmap_ts_referenced() is not always appropriate for checking whether or not pages have been referenced because it clears any reference bits that it encounters. For example, in mincore(), clearing the reference bits has two negative consequences. First, it throws off the activity count calculations performed by the page daemon. Specifically, a page on which mincore() has called pmap_ts_referenced() looks less active to the page daemon than it should. Consequently, the page could be deactivated prematurely by the page daemon. Arguably, this problem could be fixed by having mincore() duplicate the activity count calculation on the page. However, there is a second problem for which that is not a solution. In order to clear a reference on a 4KB page, it may be necessary to demote a 2/4MB page mapping. Thus, a mincore() by one process can have the side effect of demoting a superpage mapping within another process!
* | Fix some sorting and whitespace nits.marius2010-04-242-6/+6
| |
* | stat: Allow -f %Sf to display the file flags symbolically.jilles2010-04-242-3/+33
| | | | | | | | | | | | | | | | | | I have changed the patch slightly to show '-' if there are no flags just like ls -ldo does. PR: 124349 Submitted by: Ighighi MFC after: 1 week
* | Move the constants specifying the size of struct kinfo_proc intokib2010-04-2410-25/+27
| | | | | | | | | | | | | | | | | | | | machine-specific header files. Add KINFO_PROC32_SIZE for struct kinfo_proc32 for architectures providing COMPAT_FREEBSD32. Add CTASSERT for the size of struct kinfo_proc32. Submitted by: pluknet Reviewed by: imp, jhb, nwhitehorn MFC after: 2 weeks
* | Add a TestFloat based test suite for floating-point implementationsmarius2010-04-2441-0/+18426
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently supporting sparc64. After a `make depend all` there are three programs; testsoftfloat for testing against the SoftFloat in src/lib/libc/softfloat for reference purposes, testemufloat for testing the emulator source in src/lib/libc/sparc64/fpu and testfloat for testing with the installed libc. Support for other architectures can be added as needed. PR: 144900 Submitted by: Peter Jeremy
| * | Move TestFloat 2a to the dist subdirectory.marius2010-04-2045-0/+18113
| /
* | - Temporarily lower WARNS until I fix alignment warnings on sparc64.jeff2010-04-241-0/+2
| | | | | | | | Reported by: Florian Smeets
* | suj.c seems to contain two versions of the code.pjd2010-04-241-2065/+0
| | | | | | | | Remove the one that doesn't compile.
* | Protect fsck.h from being included twice.pjd2010-04-241-0/+5
| |
* | Fix build for UFS without SOFTUPDATES.pjd2010-04-241-1/+2
| |
* | - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-2440-2129/+13155
| | | | | | | | | | | | | | | | brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown. Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
* | Most MIPS systems have a comparatively-sparse physical memory layout. Switchjmallett2010-04-242-5/+6
| | | | | | | | to using the sparse physseg layout in the VM system.
* | Adjust a test case and make it more jump optimization neutral for JIT case.jkim2010-04-231-1/+1
| |
* | Build some nops into CLEAR_STATUS here to make sure that the followingjmallett2010-04-231-2/+4
| | | | | | | | instructions can't be interrupted.
* | o) Remove default MAXMEM on SWARM; pmap can readily use lmem for >512Mjmallett2010-04-232-6/+11
| | | | | | | | | | | | | | | | physical addresses. o) Set a local maxmem in sb_machdep.c to avoid trying to use pages over 2^64 under 32-bit ABIs. Our pmap needs corrected to use vm_paddr_t consistently, then we can make vm_paddr_t 64-bit under 32-bit ABIs and add code in pmap to limit phys_avail by the maximum PFN that a 32-bit PTE can hold.
* | Large memory mappings are always CPU local and always done with interruptsjmallett2010-04-231-2/+2
| | | | | | | | | | | | | | disabled. Be doubly-sure that we don't try to do a TLB shootdown on SMP systems for those mappings. Submitted by: C. Jayachandran
* | sh: Add some more tests for ${v#...} and ${v%...}.jilles2010-04-231-0/+46
| | | | | | | | These pass on stable/8 as well.
* | Address some WITNESS panics that occur when using the via driver.rnoland2010-04-234-8/+10
| | | | | | | | | | | | | | | | Some of these cases should be safe in a non-atomic fashion, however since all of the driver ioctls are locked, a lot of work is required to fix it correctly. Just don't sleep now. MFC after: 2 weeks
* | Remove one zero from the double-0.bz2010-04-231-2/+2
| | | | | | | | | | | | This code doesn't have a license to kill. MFC after: 3 days
* | - Take libinstall.a out of pkg_install and make it a proper shared library.flz2010-04-2343-210/+250
| | | | | | | | | | | | | | | | | | | | | | - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
OpenPOWER on IntegriCloud