summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Locking improvements.netchild2005-10-053-22/+47
| | | | | | | | | | | | | | | | | | | | - Don't keep the SPDIF state in the driver private struct since it can be overriden by hand with pciconf(8), query it when needed instead. Regarding the locking I let Ariff explain it himself: ---snip--- About the locking, that is what I'm intended to do since the beginning. The reason I'm not putting that along since my first patchset was because several people especially from amd46 camp reported that it cause lots of LORs, which is weird considering that I've never encounter such in a pretty much strict locking environment (i386). However, since our previous discussion with Pyun YongHyeon about strict locking, I've decided to bring it back for all the affected drivers, not just for es137x. It turns out that the root of the problem was within dsp.c during device open, which has been fixed since dsp.c revision 1.84. ---snip--- Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* Add a comment regarding problems with NForce 2 mainboards and add disablednetchild2005-10-051-0/+5
| | | | | | | | | | | code which may help. People with a ich compatible soundcard which want to help out should change the "#if 1" to a "#if 0" and try if the soundcard still works. Reports about working or not-working soundcards with this change to multimedia@ please. PR: 73987
* Update this manpage:jhb2005-10-052-49/+9
| | | | | | | | | | | - Remove references to cpu_critical_*() as they no longer exist. - Explain that any preemptions that occur during a critical section are deferred until the current thread exits the section. - Remove a bogus example usage of a critical section. - Note that one can interlock critical sections with spin mutexes in certain situations. MFC after: 3 days
* Fix long standing race condition associated with how lockf uses open(2)csjp2005-10-051-30/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | for mutual exclusion: A brief description of the problem: 1) Proc A picks up non-blocking lock on file X 2) Proc B attempts to pickup lock, fails then waits 3) Proc C attempts to pickup lock, fails then waits 4) Proc A releases lock 5) Proc B acquires lock, release it to pickup a non-blocking version 6) Proc C acquires lock, release it to pickup a non-blocking version 7) Both process B and C race each other to pickup lock again This occurs mainly because the processes do not keep the lock after they have been waiting on it. They drop it, attempt to re-acquire it. (They use the wait to notify when the lock has become available then race to pick it up). This results in additional CPU utilization during the race, and can also result in processes picking locks up out of order. This change attempts to correct this problem by eliminating the test/acquire race and having the operating system handle it. Reported by: kris Tested by: kris MFC after: 1 week
* Don't use the builtin vaalist for icc.netchild2005-10-051-6/+3
| | | | | Submitted by: Igor Sysoev <is@rambler-co.ru> MFC after: 3 days
* This commit was generated by cvs2svn to compensate for changes in r150974,harti2005-10-055-10/+32
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor fix for the build problem of snmp_pf. Move the fallback definitionsharti2005-10-055-10/+32
| | | | | | | | | | for U?INT32_{MAX,MIN} from asn1.h into the .c files that actually require them (the .h file doesn't refer to these macros).
* | Add simple TCP connect and TCP receive benchmark components, intended torwatson2005-10-054-0/+262
| | | | | | | | | | measure the rate of TCP connection round trips supported by a host at the socket layer.
* | - Don't pollute opt_global.h with DEVICE_POLLING and introduceglebius2005-10-0522-3/+75
| | | | | | | | | | | | | | | | | | opt_device_polling.h - Include opt_device_polling.h into appropriate files. - Embrace with HAVE_KERNEL_OPTION_HEADERS the include in the files that can be compiled as loadable modules. Reviewed by: bde
* | - Don't include opt_global.h, it is always included implicitly.glebius2005-10-052-2/+3
| | | | | | | | - Include opt_device_polling.h
* | Define HAVE_KERNEL_OPTION_HEADERS when building kernel and when buildingglebius2005-10-052-2/+2
| | | | | | | | | | | | | | | | | | | | modules along with kernel. After this change it is possible to embrace opt_*.h includes with ifdef HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles in modules directory each time we introduce a new opt_xxx.h. Requested by: bde
* | stop RFC 4193 address on the outside interface.ume2005-10-051-0/+4
| | | | | | | | MFC after: 1 day
* | Note added support for Tamarack TC5229J, Axiom and Dlink parts. Bump date.imp2005-10-051-2/+11
| |
* | Add if_ed_rtl80x9.cimp2005-10-051-1/+1
| |
* | Remove debug that crept in..imp2005-10-051-4/+0
| |
* | MFp4:imp2005-10-0510-67/+591
| | | | | | | | | | | | | | | | | | | | o Add support for Tamarack TC5299J + MII found on SMC 8041TX V.2 and corega PCCCCTXD o Add support for ISA/PCI RTL80[12]9 chips o Improve support for the ax88790 based o minor code movement Submitted by: (#2) David Madole
* | Add regression tests for trimdomain(3).brooks2005-10-055-0/+212
| |
* | When removing the local domain, only do so when the result will be abrooks2005-10-051-3/+1
| | | | | | | | | | | | | | | | | | host name. This is matches the documented behaviro. The previous behavior would remove the domain name even if the result retained a dot. This fixes rsh connections from a.example.com to example.com. Reviewed by: ceri (at least the concept)
* | Don't set segment registers via ptrace yet. Its not ready.peter2005-10-041-0/+4
| |
* | When data passed into devctl_notify is NULL, don't print (null). Insteadimp2005-10-041-2/+6
| | | | | | | | | | | | | | don't print anything at all. # this fixes a problem that I noticed with devd.pipe not terminating lines # with \n correctly sometimes.
* | media-type predicate is used in contexts where device-name is undefined.imp2005-10-041-1/+9
| | | | | | | | | | | | | | In those contexted, use subsystem instead. # This causes dhclient to run again when I plug in my ethernet cable to # my fxp card in my laptop.
* | Remove an unused variable.stefanf2005-10-041-2/+1
| | | | | | | | Reviewed by: ken
* | Merge makelist rev 1.10 and map.c rev 1.22 from NetBSD. They just patch thestefanf2005-10-042-14/+14
| | | | | | | | | | bug fixed in the last commit to map.c in a different way. Follow NetBSD to facilitate future merges.
* | Merge NetBSD's rev. 1.49:stefanf2005-10-041-6/+6
| | | | | | | | | | | | Fix double if (from Alexey E. Suslikov via jmc@openbsd). While here, re-word both H_[GS]ETUNIQUE descriptions so they make more sense. Bump date.
* | Merge NetBSD's rev. 1.41:stefanf2005-10-041-3/+3
| | | | | | | | | | PR/31012: Barry Naujok: libedit el_get with EL_EDITOR op does not work Fixed as suggested.
* | Remove a never reached RET.cognet2005-10-041-1/+0
| |
* | strd needs the destination to be double-word aligned, but the pointer passedcognet2005-10-041-6/+0
| | | | | | | | | | to savectx isn't always, so always use stmia, savectx isn't called enough to need that kind of optimization.
* | When bridging is enabled and an ARP request is recieved on a member interface,thompsa2005-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the arp code will search all local interfaces for a match. This triggers a kernel log if the bridge has been assigned an address. arp: ac:de:48:18:83:3d is using my IP address 192.168.0.142! bridge0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.142 netmask 0xffffff00 ether ac:de:48:18:83:3d Silence this warning for 6.0 to stop unnecessary bug reports, the code will need to be reworked. Approved by: mlaier (mentor) MFC after: 3 days
* | Correct brainfart in SO_BINTIME test.andre2005-10-041-1/+1
| | | | | | | | | | Pointed out by: nate Pointy hat to: andre
* | Make SO_BINTIME timestamps available on raw_ip sockets.andre2005-10-041-1/+1
| | | | | | | | Sponsored by: TCP/IP Optimization Fundraise 2005
* | Re-order MAC and DAC checks in shmget() in order to give precedence torwatson2005-10-041-2/+4
| | | | | | | | | | | | | | | | the MAC result, as well as avoid losing the DAC check result when MAC is enabled. MFC after: 3 days Reported by: Patrick LeBlanc <Patrick dot LeBlanc at sparta dot com>
* | dump_avail has nothing to do with ARM_USE_SMALL_ALLOC, so move itscognet2005-10-041-1/+1
| | | | | | | | declaration out of the #ifdef.
* | Use FILEDESC_UNLOCK(fdp) after FILE_UNLOCK(p), not before to avoid LOR.rik2005-10-041-1/+3
| | | | | | | | | | | | | | | | Slightly discussed on current@. LOR #055 MFC after: 14 days
* | Protect PID initializations for statistics by the bpf descriptorcsjp2005-10-041-2/+6
| | | | | | | | | | | | | | locks. Also while we are here, protect the bpf descriptor during knlist_remove{add} operations. Discussed with: rwatson
* | Catch up with the import of bsnmp-1.11. Add a couple of newharti2005-10-043-1/+6
| | | | | | | | configuration flags to CFLAGS.
* | Catch up with the import of bsnmp-1.11. Add a couple of newharti2005-10-041-0/+2
| | | | | | | | configuration flags to CFLAGS and set the WARNS level to 6.
* | Update the vnode's access time after an mmap operation on it.dds2005-10-041-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Before this change a copy operation with cp(1) would not update the file access times. According to the POSIX mmap(2) documentation: the st_atime field of the mapped file may be marked for update at any time between the mmap() call and the corresponding munmap() call. The initial read or write reference to a mapped region shall cause the file's st_atime field to be marked for update if it has not already been marked for update.
* | Add snmp_ntp/Makefile.in to the exclude list.harti2005-10-041-0/+1
| |
* | These files are not needed and were imported by accident in theharti2005-10-0419-36039/+0
| | | | | | | | previous import.
* | Use the correct object's backing_object_offset while calculating offsets.csjp2005-10-041-1/+4
| | | | | | | | | | | | | | | | While we are here, add a note that we need to lock the object before walking the backing object list. Pointed out by: alc Discussed with: rwatson
* | This commit was generated by cvs2svn to compensate for changes in r150920,harti2005-10-0446-539/+37252
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of bsnmpd 1.11harti2005-10-0446-539/+37252
| |
* | Remove duplicate entry for DDB.cognet2005-10-042-2/+0
| |
* | Really detect if DDB is enabled.cognet2005-10-041-1/+4
| | | | | | | | Remove kernel.tramp if it exists on make clean.
* | Make arm/disassem.c depends on DDBcognet2005-10-041-3/+3
| | | | | | | | make arm/in_cksum.c and arm/in_cksum_asm.S depend on INET.
* | Fix build when DDB isn't defined.cognet2005-10-041-0/+2
| |
* | Standard Giant push down operations for the Mandatory Access Control (MAC)csjp2005-10-043-102/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | framework. This makes Giant protection around MAC operations which inter- act with VFS conditional, based on the MPSAFE status of the file system. Affected the following syscalls: o __mac_get_fd o __mac_get_file o __mac_get_link o __mac_set_fd o __mac_set_file o __mac_set_link -Drop Giant all together in __mac_set_proc because the mac_cred_mmapped_drop_perms_recurse routine no longer requires it. -Move conditional Giant aquisitions to after label allocation routines. -Move the conditional release of Giant to before label de-allocation routines. Discussed with: rwatson
* | Conditionally pickup Giant in mac_cred_mmapped_drop_perms_recurse socsjp2005-10-041-2/+6
| | | | | | | | | | | | | | we can drop it all together in __mac_set_proc. Reviewed by: alc Discussed with: rwatson
* | Use a callback to set up a vlan interface so that "vlan"yar2005-10-041-37/+31
| | | | | | | | | | | | | | | | | | and "vlandev" commands can be specified in any order. This makes the code more compact and clear as well. Improve error check on vlan argument. MFC after: 2 weeks
* | Sort function names.davidxu2005-10-041-2/+2
| |
OpenPOWER on IntegriCloud