summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve memguard a bit:pjd2005-12-304-13/+112
| | | | | | | | | | | | | | | | | - Provide tunable vm.memguard.desc, so one can specify memory type without changing the code and recompiling the kernel. - Allow to use memguard for kernel modules by providing sysctl vm.memguard.desc, which can be changed to short description of memory type before module is loaded. - Move as much memguard code as possible to memguard.c. - Add sysctl node vm.memguard. and move memguard-specific sysctl there. - Add malloc_desc2type() function for finding memory type based on its short description (ks_shortdesc field). - Memory type can be changed (via vm.memguard.desc sysctl) only if it doesn't exist (will be loaded later) or when no memory is allocated yet. If there is allocated memory for the given memory type, return EBUSY. - Implement two ways of memory types comparsion and make safer/slower the default.
* This commit was generated by cvs2svn to compensate for changes in r153877,guido2005-12-30108-824/+1586
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import IP Filter 4.1.10guido2005-12-30315-1505/+2032
| |
| * Missing file from vendor branch import.darrenr2005-04-261-3/+1
| |
| * these files should never have been imported...they are junkdarrenr2005-04-252-219/+0
| |
* | Resolve conflictsguido2005-12-3021-509/+916
| |
* | - Retire BARBIT in favor of new PCI_RID2BAR.glebius2005-12-301-5/+5
| | | | | | | | - Fix build.
* | This commit was generated by cvs2svn to compensate for changes in r153872,guido2005-12-3013-64/+41
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import IP Filter version 4.1.10guido2005-12-3035-651/+1053
| | |
* | | 1. Add missing semicolon between "warn" and "return" to make surerse2005-12-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | the line continuation backslash doesn't cause "warn" to print "return". 2. Group "warn" and "return" together as the "return 1" should be performed only if the "kldload nfsclient" also failed (and not already if the "vfs.nfs" sysctl(8) check failed). MFC after: 3 days
* | | Remove superfluous line continuation backslash.rse2005-12-301-1/+1
| | | | | | | | | | | | MFC after: 3 days
* | | Disable frantic DMA update within few SNDCTL_DSP_* ioctl.ariff2005-12-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should reduce huge playback / recording latency for applications that try to act smarter and manage their own buffering (XMMS, Skype, etc.). Note to Skype + via8xxx users: Remove previous hackish "hint.pcm.<unit>.via_dxs_disabled" from kernel hint and see whether this changes cure all those annoying sound issues.
* | | Underruns counting logic should be based on bufhard free spaceariff2005-12-301-22/+6
| | | | | | | | | | | | | | | and must be done after sndbuf_feed(), or any attempt to fill up bufhard. This should fix false underruns counter.
* | | Document the LOGIN_SETMAC setusercontext(3) flag. While we are here, dropcsjp2005-12-301-0/+5
| | | | | | | | | | | | in an external reference to mac_set_proc(3).
* | | Add a bunch of ipod entries, one as suggested by Bryan Liesner. Weimp2005-12-302-0/+14
| | | | | | | | | | | | | | | | | | should likely fix this better... Submitted by: Bryan Liesner (ipod mini)
* | | Few codec such as Conexant CX20468-21 does have this controlariff2005-12-301-0/+7
| | | | | | | | | | | | | | | | | | register, although the only usable part is the mute bit. Noticed by: Hans Petter Selasky <hselasky@c2i.net>
* | | correct checking for turbo channels: rev 1.24 fixed static turbo channelssam2005-12-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | but broke handling of the turboG channel; since we aren't ready to revamp the channel list just check for turboA channels for now so channel 6 is considered in auto mode Noticed by: gibbs
* | | Retire BARBIT in favor of new PCI_RID2BAR.imp2005-12-292-5/+4
| | |
* | | Add a macro to map from BAR to rid # (inverse of PCIR_BARS).imp2005-12-291-0/+1
| | |
* | | Simplify the opening of the resources for cardbus cards. Before we'dimp2005-12-291-102/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | try very hard to be perfect. However, these attempts broke down when there were large numbers of resources. We'd not be able to map them all. Instead, accept that we might pass more range to thse subbus than might be optimal be able to compute. However, there's little harm in this and it allows us to pass greater resources through. # it has been suggested that we allocate a fixed amount of resources # on attach and give it out upon request. This might not be a bad idea...
* | | Print a warning when we miss vinactive() call, because of race in vget().pjd2005-12-291-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The race is very real, but conditions needed for triggering it are rather hard to meet now. When gjournal will be committed (where it is quite easy to trigger) we need to fix it. For now, verify if it is really hard to trigger. Discussed with: kan
* | | This is the style-fix for my previous commit. Sorry for the delay, Icracauer2005-12-291-7/+1
| | | | | | | | | | | | forgot about it.
* | | patch(1) and I aren't friends today. Axe a duplicate copy ofjhb2005-12-291-82/+0
| | | | | | | | | | | | | | | | | | the msleep_spin() function definition. Spotted by: pjd
* | | Add a new function msleep_spin() which is a slightly stripped down versionjhb2005-12-292-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of msleep(). msleep_spin() doesn't support changing the priority of the thread while it is asleep nor does it support interruptible sleeps (PCATCH) or the PDROP flag. It does support timeouts however. It differs from msleep() in that the passed in mutex is a spin mutex. This means one can use msleep_spin() and wakeup() with a spin mutex similar to msleep() and wakeup() with a regular mutex. Note that the spin mutex in question needs to come before sched_lock and the sleepq locks in lock order.
* | | Teach WITNESS_SAVE() and WITNESS_RESTORE() to work with spin locks insteadjhb2005-12-291-8/+18
| | | | | | | | | | | | of only sleep locks.
* | | Fix a deadlock I introduced with the recently added printf to warn aboutjhb2005-12-291-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spin locks that are not in the static order list. It is not safe to call printf while holding the witness spin mutex since the console drivers that back printf may need to use their own spin locks which would try to talk to witness when they were locked. Given this, it is possible for one CPU to lock a console driver lock (such as sio) which then tries to lock the witness lock while another CPU is doing the printf while holding the witness lock. Fix this by moving the printf outside of the witness lock. All other printf's in witness are already correct. MFC after: 3 days
* | | Reveal sacred spells necessary for putting kbdmux(4) to real use.sobomax2005-12-291-0/+15
| | | | | | | | | | | | Hopefully gods of RTFS and RTFCL will not go after me.
* | | An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout toceri2005-12-292-4/+4
| | | | | | | | | | | | | | | | | | | | | succeed, whilst an i386 with 256MB of RAM requires more. Up the amount of disk hinted at as a minimum requisite for auto-layout. MFC after: 1 week
* | | correct (reversed) ms<->tu macrossam2005-12-291-2/+2
| | | | | | | | | | | | Reviewed by: apatti, kcyu
* | | Sync the type (and size, compare mousestatus_t in /usr/include/sys/mouse.h)netchild2005-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | of a variable according to the usage (after increasing the number of max buttons this may matter). Noticed by: flz
* | | Add support for the HP 8200C/8250C/8290C scanners.netchild2005-12-292-0/+2
| | | | | | | | | | | | | | | PR: 90467 Submitted by: Adam McDougall <mcdouga9@egr.msu.edu>
* | | Add support for the Canon CanoSvan LIDE 25.netchild2005-12-292-0/+2
| | | | | | | | | | | | | | | PR: 89509 Submitted by: David Gilbert <dgilbert@daveg.ca>
* | | Fix some kind of "off by one"-error: the min or max sample rate thenetchild2005-12-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | device is able to reproduce should be usable too instead of failing in such a case. PR: 89269 Submitted by: Don L. Belcher <don@siad.net>
* | | Increment kobj_lookup_misses on a miss rather than decrementing it.jhb2005-12-291-1/+1
| | | | | | | | | | | | | | | Otherwise, the miss count is actually -kobj_lookup_misses. Mostly a pedantic change as KOBJ_STATS isn't on by default.
* | | Document Epson Perfection 2480 support.brueffer2005-12-291-1/+3
| | |
* | | Merge NetBSD rev. 1.61:netchild2005-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | - Support more than 7 buttons for USB mice. Patch from NetBSD kern/30248. PR: 83353 Submitted by: Seán Farley <sean-freebsd@farley.org>
* | | Add support for Epson 2480 scanner.netchild2005-12-292-0/+2
| | | | | | | | | | | | | | | PR: 86094 Submitted by: Erik Norgaard <norgaard@locolomo.org>
* | | Emit USB_EVENT_DRIVER_DETACH on detach.netchild2005-12-291-0/+3
| | | | | | | | | | | | | | | | | | PR: 83247 Submitted by: Sangwoo Shim <ssw@neo.redjade.org> MFC after: 2 weeks
* | | Add a new extensible GSS-API layer which can support GSS-API plugins,dfr2005-12-29104-59/+11524
| | | | | | | | | | | | | | | | | | | | | | | | | | | similar the the Solaris implementation. Repackage the krb5 GSS mechanism as a plugin library for the new implementation. This also includes a comprehensive set of manpages for the GSS-API functions with text mostly taken from the RFC. Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
* | | Fix semantics in the documentation of the "jail_socket_unixiproute_only"rse2005-12-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | variable ("YES" vs. "NO") and be more precise and intuitive on what is actually allowed/restricted by this variable ("UNIX/IP/route sockets" vs. "TCP/IP protocols"). MFC after: 3 days
* | | Remove pcb_switchout, it has not been used for a long time.davidxu2005-12-293-8/+0
| | |
* | | Add code to report zombie state.davidxu2005-12-291-0/+2
| | | | | | | | | | | | | | | PR: threads/91044 MFC after: 3 days
* | | Help Warner with merge from p4.glebius2005-12-291-1/+2
| | |
* | | When pfil(9) is enabled the bridge only considers ETHERTYPE_ARP, ↵thompsa2005-12-292-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ETHERTYPE_IP and ETHERTYPE_IPV6 frames. Change this to be a sysctl knob so that is able to still bridge non-IP packets if desired. Also return early if all pfil_* sysctls are turned off, the user obviously does not want to filter on the bridge.
* | | Minor updates relative to the 9.2.3 importdougb2005-12-292-2/+6
| | |
* | | Build gprof for powerpc now.grehan2005-12-291-2/+0
| | |
* | | Updated versions of header files generated per the instructionsdougb2005-12-296-14/+61
| | | | | | | | | | | | in src/contrib/bind9/FREEBSD-Upgrade for the 9.2.3 import
* | | Remove files no longer in the BIND 9 distributiondougb2005-12-2931-23572/+0
| | |
* | | clone i386.h for powerpcgrehan2005-12-291-0/+44
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r153816,dougb2005-12-29284-38640/+66160
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud