summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Note that as a result of the SYSV IPC changes, COMPAT_FREEBSD[456] nowjhb2009-06-262-0/+9
| | | | | | | | | | require COMPAT_FREEBSD7. Also, explicitly note in NOTES that any version of COMPAT_FREEBSD<n> effectively requires for newer binaries (i.e. COMPAT_FREEBSD<n+1>, etc.). While this has been true in practice previously, it used to compile ok before the commit earlier this week. Discussed with: peter Approved by: re (kensmith)
* Correct the #endif comment.alc2009-06-268-8/+8
| | | | | Noticed by: jmallett Approved by: re (kib)
* Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/rwatson2009-06-2674-169/+165
| | | | | | | | | | | | | IF_ADDR_UNLOCK() across network device drivers when accessing the per-interface multicast address list, if_multiaddrs. This will allow us to change the locking strategy without affecting our driver programming interface or binary interface. For two wireless drivers, remove unnecessary locking, since they don't actually access the multicast address list. Approved by: re (kib) MFC after: 6 weeks
* Add support for MacBook4,1.rpaulo2009-06-262-46/+143
| | | | | | Submitted by: Christoph Langguth <christoph at rosenkeller.org> MFC after: 2 weeks Approved by: re (kib)
* On special systems where the MBR and the GPT are in sync (up to the 4thrpaulo2009-06-261-1/+1
| | | | | | | | | | | | | slicei, Apple EFI hardware), the bootloader will fail to recognize the GPT if it finds anything else but the EFI partition. Change the check to continue detecting the GPT by looking at the EFI partition on the MBR but stopping successfuly after finding it. PR: kern/134590 Submitted by: Christoph Langguth <christoph at rosenkeller.org> Reviewed by: jhb MFC after: 2 weeks Approved by: re (kib)
* Correct some minor nits with the 2BSD and 3BSD series of releasesimp2009-06-261-5/+6
| | | | | | | | | | | based on the information at The Unix Historical Society web page (http://www.tuhs.org/Unix_History). Where multiple sources differ, retain all data. Prefer 2.79BSD to 2.7.9BSD, since the former is from /LABEL form the actual release. Use the /LABEL date as in the TUHS tables (the curious can read http://minnie.tuhs.org/Unix_History/2bsd for all the conflicting date confusion if they want). Approved by: re@
* o Kill grammar nits.maxim2009-06-261-2/+2
| | | | | | PR: docs/136061 Submitted by: Ben Kaduk MFC after: 1 week
* This change is the next step in implementing the cache control functionalityalc2009-06-2615-8/+338
| | | | | | | | | | | required by video card drivers. Specifically, this change introduces vm_cache_mode_t with an appropriate VM_CACHE_DEFAULT definition on all architectures. In addition, this changes adds a vm_cache_mode_t parameter to kmem_alloc_contig() and vm_phys_alloc_contig(). These will be the interfaces for allocating mapped kernel memory and physical memory, respectively, with non-default cache modes. In collaboration with: jhb
* provides a extra write buffer when the NDIS driver want to send aweongyo2009-06-261-2/+3
| | | | | | request whose body has some datas through the default pipe. Tested by: Nikos Vassiliadis <nvass9573 at gmx.com>
* rtsol should not be run on the wireless NIC interfaces directly,dougb2009-06-261-0/+3
| | | | it will run on wlan0 instead.
* Revert the entry about pf and ipfw starting before netifdougb2009-06-261-6/+0
|
* Reverse the effect of r193198 for pf and ipfw which will once againdougb2009-06-266-6/+6
| | | | | | | | | | | | | | | allow them to start after netif. There were too many problems reported with this change in the short period of time that it lived in HEAD, and we are too late in the release cycle to properly shake it out. IMO the issue of having the firewalls up before the network is still a valid concern, particularly for pf whose default state is wide open. However properly solving this issue is going to take some investment on the part of the people who actually use those tools. This is not a strict reversion of all the changes for r193198 since it also included some simplification of the BEFORE/REQUIRE logic which is still valid for ipfilter and ip6fw.
* Update Netgraph nodes to use if_addr_rlock()/if_addr_runlock() insteadrwatson2009-06-262-5/+5
| | | | | | of IF_ADDR_LOCK()/IF_ADDR_UNLOCK() when iterating ifp->if_addrhead. MFC after: 6 weeks
* Update various IPFW-related modules to use if_addr_rlock()/rwatson2009-06-263-10/+10
| | | | | | if_addr_runlock() rather than IF_ADDR_LOCK()/IF_ADDR_UNLOCK(). MFC after: 6 weeks
* Update if_stf and if_tun to use if_addr_rlock()/if_addr_runlock() ratherrwatson2009-06-262-5/+5
| | | | | | than IF_ADDR_LOCK()/IF_ADDR_UNLOCK() when iterating ifp->if_addrhead. MFC after: 6 weeks
* Define four wrapper functions for interface address locking,rwatson2009-06-262-0/+44
| | | | | | | | | | | if_addr_rlock() and if_addr_runlock() for regular address lists, and if_maddr_rlock() and if_maddr_runlock() for multicast address lists. We will use these in various kernel modules to avoid encoding specific type and locking strategy information into modules that currently use IF_ADDR_LOCK() and IF_ADDR_UNLOCK() directly. MFC after: 6 weeks
* Convert netisr to use dynamic per-CPU storage (DPCPU) instead of sizingrwatson2009-06-261-21/+40
| | | | | | | | | arrays to [MAXCPU], offering moderate memory savings. In some places, this requires using CPU_ABSENT() to handle less common platforms with sparse CPU IDs. In several places, assert that the selected CPUID for work placement or statistics is not CPU_ABSENT() to be on the safe side. Discussed with: bz, jeff
* Implement %z for strptime.delphij2009-06-251-0/+28
| | | | | | PR: kern/63064 Submitted by: Stefan `Sec` Zehl <sec 42 org> (with some small changes) MFC after: 1 month
* Correct a typo (which you can use to in order -> which you can use in orderdelphij2009-06-251-1/+1
| | | | | | | | to). PR: bin/136040 Submitted by: "Vikentii L. Karabin" <kvl tomsksoft com> MFC after: 1 weeks
* Fix dynamic (re)allocation logic in jailparam_set and jailparam_get.jamie2009-06-251-34/+72
| | | | | | Touch up jailparam_import a bit while I'm at it. Approved by: bz (mentor)
* mvec routines should have no knowledge of the SG engine.np2009-06-253-17/+17
| | | | | Reviewed by: kmacy Approved by: gnn (mentor)
* Fix a LOR between pmc_sx and proctree/allproc when creating a new threadattilio2009-06-252-7/+19
| | | | | | | | for the pmclog. Reported by: Ryan Stone <rstone at sandvine dot com> Tested by: Ryan Stone <rstone at sandvine dot com> Sponsored by: Sandvine Incorporated
* Fix acl_set_fd(3) and acl_get_fd(3) for cases where the kernel doesn't knowtrasz2009-06-252-2/+3
| | | | anything about _PC_ACL_NFS4.
* Fix a bug reported by pho@ where one can induce a panic by decreasingsnb2009-06-251-1/+4
| | | | | | | | | | | | | | | vfs.ufs.dirhash_maxmem below the current amount of memory used by dirhash. When ufsdirhash_build() is called with the memory in use greater than dirhash_maxmem, it attempts to free up memory by calling ufsdirhash_recycle(). If successful in freeing enough memory, ufsdirhash_recycle() leaves the dirhash list locked. But at this point in ufsdirhash_build(), the list is not explicitly unlocked after the call(s) to ufsdirhash_recycle(). When we next attempt to lock the dirhash list, we will get a "panic: _mtx_lock_sleep: recursed on non-recursive mutex dirhash list". Tested by: pho Approved by: dwmalone (mentor) MFC after: 3 weeks
* Fix kernels compiled without SMP support. Make intr_next_cpu() availablejhb2009-06-254-4/+20
| | | | | | | for UP kernels but as a stub that always returns the single CPU's local APIC ID. Reported by: kib
* Add the KNOWN-DEFECTS file back in for the 9.6.1 release.dougb2009-06-251-1/+1
|
* This is the solution that ISC committed after 9.6.1-release fordougb2009-06-251-0/+9
| | | | | the gcc warning issue. It should be included in the next upstream release.
* Remove COMPAT_43 from sun4v's GENERIC.ed2009-06-251-1/+0
| | | | | | | I think it's very unlikely that we have binaries for sun4v that use features provided by COMPAT_43. Remove it from GENERIC. Approved by: kib
* We shouldn't need to drop and reaquire the lock here.rnoland2009-06-251-7/+5
| | | | MFC after: 3 days
* Update to the final release version of BIND 9.6.1. It has the followingdougb2009-06-2536-581/+796
|\ | | | | | | | | | | | | | | | | | | | | | | changes from the 9.6.1rc1 version. The first 2 only affect DNSSEC. named could incorrectly delete NSEC3 records for empty nodes when processing a update request. Accept DS responses from delegation only zones. "delegation-only" was not being accepted in delegation-only type zones.
| * Vendor import of BIND 9.6.1dougb2009-06-2536-581/+796
| |
| * Update note about IDN and XML support, and combine it with thedougb2009-06-011-7/+5
| | | | | | | | | | | | note about IPv6 support Fix alphebetization of the new dnssec-keyfromlabel directory
| * Add a comment about the new dist-9.4 directory and using it for 7-stabledougb2009-06-011-0/+1
| |
| * Update relative to the BIND 9.6.1rc1 importdougb2009-05-311-9/+8
| |
| * The isc-config.sh file is actually used in the configure stagedougb2009-05-311-1/+3
| | | | | | | | described in FreeBSD-Upgrade.
| * Vendor import of BIND 9.6.1rc1dougb2009-05-311-0/+149
| |
* | In lf_iteratelocks_vnode, increment state->ls_threads around iteratingkib2009-06-251-1/+10
| | | | | | | | | | | | | | | | of the vnode advisory lock list. This prevents deallocation of state while inside the loop. Reported and tested by: pho MFC after: 2 weeks
* | Change the type of uio_resid member of struct uio from int to ssize_t.kib2009-06-2512-20/+20
| | | | | | | | | | | | | | | | Note that this does not actually enable full-range i/o requests for 64 architectures, and is done now to update KBI only. Tested by: pho Reviewed by: jhb, bde (as part of the review of the bigger patch)
* | Remove the d_spare2_t typedef. The d_spare2 field was replaced byjhb2009-06-251-2/+0
| | | | | | | | | | | | d_mmap_single(). I considered adding a new round of padding for 8.0. However, since cdevsw already maintains a version field, new versions can be handled without requiring the need for explicit padding fields.
* | Decided to limit the interrupt bind to multiqueuejfv2009-06-251-2/+4
| | | | | | | | config as done in igb.
* | Return errors from intr_event_bind() to the caller of intr_set_affinity().jhb2009-06-251-2/+1
| | | | | | | | | | | | | | | | Specifically, if a non-root user attempts to bind an interrupt the request will now report failure with EPERM rather than silently failing with a successful return code. MFC after: 1 week
* | Some more cleanups for vblank code on Intel.rnoland2009-06-252-27/+18
| | | | | | | | | | | | | | | | | | The Intel 2d driver calls modeset before reinstalling the handler on a vt switch. This means that vblank status ends up getting cleared after it has been setup. Restore saved values for the pipestat registers rather than just wiping them out. MFC after: 3 days
* | - Restore the behavior of pre-allocating IDT vectors for MSI interrupts.jhb2009-06-258-110/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly important for the multiple MSI message case where the IDT vectors for the entire group need to be allocated together. This also restores the assumptions made by the PCI bus code that it could invoke PCIB_MAP_MSI() once MSI vectors were allocated. - To avoid whiplash with CPU assignments, change the way that CPUs are assigned to interrupt sources on activation. Instead of assigning the CPU via pic_assign_cpu() before calling enable_intr(), allow the different interrupt source drivers to ask the MD interrupt code which CPU to use when they allocate an IDT vector. I/O APIC interrupt pins do this in their pic_enable_intr() routines giving the same behavior as before. MSI sources do it when the IDT vectors are allocated during msi_alloc() and msix_alloc(). - Change the intr_table_lock from an sx lock to a mutex. Tested by: rnoland
* | Make ata-{dma,sata}.c dependent on atacore build option.raj2009-06-251-2/+2
| | | | | | | | Discussed with: mav
* | temporarily disable optional uarts; apparently we hang when probing themsam2009-06-251-9/+9
| | | | | | | | (and they are not present)
* | Remove COMPAT_FREEBSD5 from sun4v. There are no FreeBSD/sun4v 5.x binariesjhb2009-06-251-1/+0
| | | | | | | | to be compatible with.
* | Add some tests for r194975 and r194977.jilles2009-06-251-0/+35
| | | | | | | | Approved by: ed (mentor) (implicit)
* | Rename man4/if_bridge.4 to man4/bridge.4 in order to be consistent with otherthompsa2009-06-252-2/+2
| | | | | | | | | | peueso interfaces. The .Nm name hasnt been changed and all xrefs are still valid.
* | Change intr_bind to bus_bind_intr, also limit this tojfv2009-06-251-6/+4
| | | | | | | | | | multiqueue setup which is not the shipping default for igb (its set to 1).
* | Change intr_bind to bus_bind_intr, thanks to John Baldwinjfv2009-06-251-6/+4
| | | | | | | | for pointing out this simplification.
OpenPOWER on IntegriCloud