summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with ACPI-CA 20070320 import.jkim2007-03-2247-804/+779
|
* Update to reflect import of ACPI-CA 20070320.jkim2007-03-221-7/+6
|
* Resolve conflicts from import of Intel ACPI-CA 20070320.jkim2007-03-223-103/+143
|
* Resolve conflicts of unchanged files that are off the vendor branch.jkim2007-03-2221-1056/+1410
|
* Use proc name (ki_comm) instead of thread name (ki_ocomm) as these may nowemaste2007-03-221-1/+1
| | | | be different.
* Remove files that removed on the vendor branch.jkim2007-03-222-1549/+0
|
* This commit was generated by cvs2svn to compensate for changes in r167807,jkim2007-03-223-1522/+0
| | | | which included commits to RCS files with non-trunk default branches.
* This commit was generated by cvs2svn to compensate for changes in r167805,jkim2007-03-224-5/+21
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Add fixes for FreeBSD build that were submitted upstream.jkim2007-03-225-6/+22
| |
* | This commit was generated by cvs2svn to compensate for changes in r167802,jkim2007-03-22177-12462/+22966
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of Intel ACPI-CA 20070320jkim2007-03-22201-13627/+24503
| |
* | - Simplify the #ifdef's for adaptive mutexes and rwlocks by conditionallyjhb2007-03-224-27/+44
| | | | | | | | | | defining a macro earlier in the file. - Add NO_ADAPTIVE_RWLOCKS option to disable adaptive spinning for rwlocks.
* | Add missing \n.pjd2007-03-221-2/+2
| |
* | Move the dom_dispose and pru_detach calls in sofree() earlier. Only afterglebius2007-03-221-4/+5
| | | | | | | | | | | | | | | | | | calling pru_detach we can be absolutely sure, that we don't have any references to the socket in the stack. This closes race between lockless sbdestroy() and data arriving on socket. Reviewed by: rwatson
* | When working on an RTM_CHANGE do the route editing in the followingglebius2007-03-221-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sequence. First, if rt_ifa is going to be changed, then call ifa_rtrequest(RTM_DELETE). Second, if gateway is going to be changed, then call rt_setgate(). Third, change rt_ifa. With this change we are able to change a link level route to a gateway one, that wasn't possible before: # ifconfig em0 192.168.22.1/24 # arp -s 192.168.22.99 00:11:22:33:44:55 # route change 192.168.22.99 192.168.22.199 # ping 192.168.22.99 db> Reported by: avatar
* | Remove global list of all llinfo_arp entries and use a callout perglebius2007-03-221-50/+23
| | | | | | | | | | | | | | | | instance expiry of the ARP entries. Since we no longer abuse the IPv4 radix head lock, we can now enter arp_rtrequest() with a lock held on an arbitrary rt_entry. Reviewed by: bms
* | Change the order of lock reacquisition in vm_object_split() in order toalc2007-03-221-2/+5
| | | | | | | | simplify the code slightly. Add a comment concerning lock ordering.
* | Rename the cv_*wait*() functions to _cv_*wait*() and change their secondjhb2007-03-213-66/+92
| | | | | | | | | | | | | | | | argument from a mutex to a lock_object. Add cv_*wait*() wrapper macros that accept either a mutex, rwlock, or sx lock as the second argument and convert it to a lock_object and then call _cv_*wait*(). Basically, the visible difference is that you can now use rwlocks and sx locks with condition variables using the same API as with mutexes.
* | Make use of 'lock_object' being the same field name in the witness_check*()jhb2007-03-211-8/+4
| | | | | | | | | | | | | | | | | | macros. - witness_check() replaces witness_check_mtx() and witness_check_exclusive_sx() and checks for an exclusive acquire of either a mutex, rwlock, or sx lock. - witness_check_shared() replaces witness_check_shared_sx() and checks for a shared acquire of either a rwlock or sx lock.
* | Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes,jhb2007-03-2118-237/+237
| | | | | | | | rwlocks, and sx locks to 'lock_object'.
* | Don't use cv_wait_unlock() to implement cv_wait(). Instead, implementjhb2007-03-211-1/+28
| | | | | | | | cv_wait() fully and add missing KTRACE context switch traces.
* | ANSIfy function declarations and remove register keywords for variables.andre2007-03-218-146/+73
| | | | | | | | Consistently apply style to all function declarations.
* | Match up SYSCTL declarations in style.andre2007-03-211-8/+8
| |
* | If vn_open() fails during kern_open(), don't fdrop() the new file objectjhb2007-03-211-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | until after the call to fdclose(). This closes an obscure race that could result in the later call to fdclose() actually closing a different file descriptor if another thread close()'s the file descriptor being opened before fdrop() is called, so the fdrop() in kern_open() frees the file object, then the second thread (or a third) creates a new file descriptor which reuses both the same index and the same file pointer thus tricking fdclose() in the first thread into thinking that the original file was still open. MFC after: 1 week
* | Handle the case when a thread is blocked on a lockmgr lock with LK_DRAINjhb2007-03-211-3/+16
| | | | | | | | | | | | in DDB's 'show sleepchain'. MFC after: 3 days
* | Subtract optlen in the maximum length check for TSO and finally avoidandre2007-03-211-1/+1
| | | | | | | | | | | | slightly oversized TSO mbuf chains. Submitted by: kmacy
* | Tidy up IPFIREWALL_FORWARD sections and comments.andre2007-03-212-8/+6
| |
* | Update and clarify comments in first section of tcp_input().andre2007-03-212-30/+26
| |
* | Tidy up the ACCEPTCONN section of tcp_input(), ajust comments and removeandre2007-03-212-114/+54
| | | | | | | | old dead T/TCP code.
* | Fix an off-by-one error in iwi_init_fw_dma(). It didn't reuse the existingjhb2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | DMA memory for a firmware load if it was the exact size needed, thus in the common case the driver was constantly free'ing and reallocating the DMA buffer and it would eventually begin to fail. With this fix, iwi0 reuses the same buffer the entire time and no longer fails to load the firmware after the machine has been up for a while. MFC after: 1 week
* | Tidy up tcp_log_in_vain and blackhole.andre2007-03-212-88/+62
| |
* | Make TCP_DROP_SYNFIN a standard part of TCP. Disabled by default itandre2007-03-215-18/+0
| | | | | | | | | | | | doesn't impede normal operation negatively and is only a few lines of code. It's close relatives blackhole and log_in_vain aren't options either.
* | Memory leak killing spree, mostly bus_dma(9) related.ariff2007-03-216-43/+65
| |
* | Remove tcp_minmssoverload DoS detection logic. The problem it tried toandre2007-03-217-160/+0
| | | | | | | | | | | | protect us from wasn't really there and it only bloats the code. Should the problem surface in the future we can simply resurrect it from cvs history.
* | another missing change for recent crypto modssam2007-03-211-0/+1
| |
* | move call to t3_prep_adapter earlier in attach before msi-x setup occurskmacy2007-03-211-5/+6
| | | | | | | | | | | | | | this works around the fact that pci_config_{save,restore} doesn't adequately restore state for msi-x MFC after: 3 days
* | Change acpi's handling of suballocating system resources to be a littlejhb2007-03-211-55/+39
| | | | | | | | | | | | | | | | | | simpler. It now can just use rman_is_region_manager() during acpi_release_resource() to see if the the resource is suballocated from a system resource. Also, the driver no longer needs MD knowledge about how to setup bus space tags and handles when doing a suballocation, but can simply rely on bus_activate_resource() in the parent setting all that up.
* | Change the amd64, i386, and ia64 nexus drivers to setup bus space tags andjhb2007-03-213-62/+53
| | | | | | | | | | | | | | | | | | | | | | handles when activating a resource via bus_activate_resource() rather than doing some of the work in bus_alloc_resource() and some of it in bus_activate_resource(). One note is that when using isa_alloc_resourcev() on PC-98, drivers now need to just use bus_release_resource() without explicitly calling bus_deactivate_resource() first. nyan@ has already fixed all of the PC-98 drivers.
* | catchup w/ crypto changessam2007-03-211-2/+3
| |
* | Add a test for IPv6 and IPsec which is similar to the one for IPv4.gnn2007-03-212-0/+108
| | | | | | | | | | Add comments to the test for IPv4 with IPsec. MFC after: 1 week
* | allocate 9 messages in all caseskmacy2007-03-211-1/+1
| |
* | Fix a commentkevlo2007-03-211-1/+1
| |
* | make MSI-X the default and allocate up to mp_ncpus queues per portkmacy2007-03-214-59/+86
| | | | | | | | MFC after: 3 days
* | Let people in on the magic of INET[6]_ADDRSTRLEN which comes quite handy inmlaier2007-03-211-1/+6
| | | | | | | | | | | | combination with inet_ntop(). Reviewed by: trhodes "works for me"
* | add missing file from last commit that overhauls crypto/driver api'ssam2007-03-211-0/+55
| |
* | Overhaul driver/subsystem api's:sam2007-03-2122-733/+1239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o make all crypto drivers have a device_t; pseudo drivers like the s/w crypto driver synthesize one o change the api between the crypto subsystem and drivers to use kobj; cryptodev_if.m defines this api o use the fact that all crypto drivers now have a device_t to add support for specifying which of several potential devices to use when doing crypto operations o add new ioctls that allow user apps to select a specific crypto device to use (previous ioctls maintained for compatibility) o overhaul crypto subsystem code to eliminate lots of cruft and hide implementation details from drivers o bring in numerous fixes from Michale Richardson/hifn; mostly for 795x parts o add an optional mechanism for mmap'ing the hifn 795x public key h/w to user space for use by openssl (not enabled by default) o update crypto test tools to use new ioctl's and add cmd line options to specify a device to use for tests These changes will also enable much future work on improving the core crypto subsystem; including proper load balancing and interposing code between the core and drivers to dispatch small operations to the s/w driver as appropriate. These changes were instigated by the work of Michael Richardson. Reviewed by: pjd Approved by: re
* | Don't call bus_deactivate_resource() explicitly before callingnyan2007-03-2114-80/+0
| | | | | | | | | | bus_release_resource(). This is needed for pc98 by upcoming nexus related change.
* | Remove __Pkevlo2007-03-213-18/+18
| |
* | Remove firmware version flagskmacy2007-03-211-1/+0
| | | | | | | | MFC after: 3 days
* | Add a new apic0 psuedo-device to claim memory resources for the memoryjhb2007-03-206-0/+162
| | | | | | | | | | | | | | address ranges used by local and I/O APICs in the system. Some systems also reserve these ranges as system resources via either PnPBIOS or ACPI, so this device currently attaches after acpi0 and legacy0 so that the system resources are given precedence.
OpenPOWER on IntegriCloud