ƒ´156382 182 464 301 119 536 217 166 166 166 200 109 153 179 176 146 153 433 166 158 220 527 256 262 231 197 305 162 561 271 799 602 974 103 173 138 586 285 251 262 215 255 214 372 190 125 289 218 310 132 170 569 254 139 197 191 1281 142 164 423 139 156 257 309 378 257 292 253 236 405 175 511 144 242 702 294 184 196 154 228 451 166 265 183 125 173 272 153 281 165 228 224 188 286 253 252 174 300 177 286 159 162 188 187 478 114 97 173 344 344 402 390 251 779 263 219 184 206 622 371 241 640 160 136 391 188 297 143 187 297 154 133 294 176 177 344 148 598 155 330 227 153 186 135 195 181 156 378 282 168 131 179 153 127 134 633 213 162 315 112 318 112 110 7306 166 166 175 429 143 166 221 162 149 164 136 177 175 189 128 343 453 524 527 176 K 10 svn:author V 4 emax K 8 svn:date V 27 2006-03-07T06:13:17.000000Z K 7 svn:log V 370 MFC: Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the keyboard device name (i.e. /dev/kbd0). This method will do nothing is kbdmux(4) is the current active keyboard, otherwise it will switch active keyboard as requested. Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons and new 'setkeyboard' method. Approved by: re (scottl) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-07T08:28:07.000000Z K 7 svn:log V 204 1. Always call user callback function in newly created thread, it seems POSIX implies that the user callback function must be executed in clean environment. 2. Use newly introduced pthread stubs in libc. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-07T08:42:02.000000Z K 7 svn:log V 23 Remove stale comments. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-07T09:53:11.000000Z K 7 svn:log V 443 Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile: a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh' (should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was converted to using . Consequently, `isdntel.sh' has been installed as `isdntel' since then. Nevertheless, nobody has been unhappy with the change. So it's time to make it official. Approved by: hm Pointy hat to: ru MFC after: 3 days END K 10 svn:author V 4 mnag K 8 svn:date V 27 2006-03-07T12:56:37.000000Z K 7 svn:log V 123 - New sentence should start from the new line - Forget to bump .Dd Reported by: maxim Approved by: maxim MFC after: 1 day END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-07T13:32:48.000000Z K 7 svn:log V 74 MFC: Add support for Cronyx Tau32-PCI adapters. Approved by: re(scottl) END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-07T13:35:39.000000Z K 7 svn:log V 74 MFC: Add support for Cronyx Tau32-PCI adapters. Approved by: re(scottl) END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-07T13:44:33.000000Z K 7 svn:log V 74 MFC: Add support for Cronyx Tau32-PCI adapters. Approved by: re(scottl) END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-07T13:53:57.000000Z K 7 svn:log V 107 MFC: Add support for Cronyx Tau32-PCI. Cross fingers and hook it to the system. Approved by: re(scottl) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-07T14:26:17.000000Z K 7 svn:log V 17 NOMAN --> NO_MAN END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-07T14:27:54.000000Z K 7 svn:log V 61 Only look for ICRC and CORR errors on ATA devices not ATAPI. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T15:49:11.000000Z K 7 svn:log V 87 MFC: Add a missing check for the return value from copyin(). Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T15:50:25.000000Z K 7 svn:log V 84 MFC: Fix various minor bugs and nits in callout handling. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T15:51:19.000000Z K 7 svn:log V 54 MFC: Remove some dead code. Approved by: re (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-07T16:05:38.000000Z K 7 svn:log V 61 Poll device for readiness before trying to get geometry etc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T16:06:41.000000Z K 7 svn:log V 340 MFC: Autogenerate a menu containing a list of countries supported by syscons and pop it up during installs. In addition, use the specified country as a hint for the keymap to use and if the non-default country is chosen during the install startup, pop up the keymap menu before entering the main sysinstall menu. Approved by: re (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-03-07T16:06:42.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_2'. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-07T17:50:23.000000Z K 7 svn:log V 66 MFC 1.37: cleanup line break formatting Approved by: re (scottl) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-03-07T17:56:40.000000Z K 7 svn:log V 124 Add a serial number for requests so we don't just depend on a request pointer to try and do forensics on what has occurred. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T18:08:09.000000Z K 7 svn:log V 434 MFC: Close some races between procfs/ptrace and exit1() by changing exit1() to block until any current PHOLD's are released. This includes Simplifying the cleanup code in kern_ptrace() and removing the now unnecessary vmspace ref counting magic from proc_rwmem(). Also, the locking for ptrace_single_step(), ptrace_set_pc(), and ptrace_clear_single_step() have been fixed to be consistent across the tree. Approved by: re (scottl) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-03-07T18:25:03.000000Z K 7 svn:log V 163 Fix version number when the feature was added. Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp) PR: docs/93801 and docs/93803 MFC after: 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T18:33:21.000000Z K 7 svn:log V 169 MFC: Throw out all the logical APIC ID stuff and just wire up interrupts to individual CPUs using physical addressing and fixed delivery mode. Approved by: re (scottl) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-03-07T18:34:18.000000Z K 7 svn:log V 138 Fix incorrect command line examples. Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp) PR: docs/94158 MFC after: 2 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-07T19:04:16.000000Z K 7 svn:log V 104 Correct handling of HTTP_PROXY_AUTH. A password may have `:'. Approved by: cperciva MFC after: 2 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-07T19:13:00.000000Z K 7 svn:log V 212 Remove trailing dot from the servername in the serverlist to be able to use portsnap from behind a http proxy. Some HTTP proxy don't like trailing dot in the servername. Approved by: cperciva MFC after: 2 days END K 10 svn:author V 6 damien K 8 svn:date V 27 2006-03-07T20:48:23.000000Z K 7 svn:log V 67 Disable 802.11e support for now. Did some cleanup while I'm here. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T21:31:20.000000Z K 7 svn:log V 468 For consistency sake, use >= MINCLSIZE rather than > MINCLSIZE to determine whether or not to allocate a full mbuf cluster rather than just a plain mbuf when adding on additional mbufs in m_getm(). In practice, there wasn't any resulting mem trashing since m_getm() doesn't ever allocate an mbuf with a packet header, and MINCLSIZE is the available payload in an mbuf with a header rather than the available payload in a plain mbuf. Discussed with: andre (lightly) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-03-07T21:40:44.000000Z K 7 svn:log V 174 Further refine the bridge hack in the arp code. Only do the special arp handling for interfaces which are actually in the bridge group, ignore all others. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T21:44:20.000000Z K 7 svn:log V 706 - Simplify the i8254 timecounter for the alpha since we don't actually have an interrupt handler for the i8254. (Our clock interrupts come from elsewhere.) Instead, use the same algo that i386 uses when the lapic timer is in use. This lets us remove a lot of cruft that tried to handle the i8254 interrupts that we weren't even using or setting up a handler for. - G/C a bunch of unused cruft while I'm here. - Fix the code to not use the rpcc timecounter (similar to TSC) on SMP machines to only disable that timecounter if more than one CPU is in use by the kernel. Previously, a UP kernel on a machine with multiple CPUs would needlessly disable this timecounter. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T22:12:09.000000Z K 7 svn:log V 509 Use the Alpha PCC as a cpu ticker for process runtime accounting. This is slightly more tricky than on x86 as although the PCC is 64-bits, it is not a simple 64-bit counter like the TSC. Instead, the upper 32-bits have PAL-defined behavior and the lower 32-bits run as a free-running 32-bit counter. To handle this, we detect overflows by maintaining a small amount of per-cpu state and use this to simulate the upper 32-bits of the counter providing a full 64-bit counter to the consumers of cpu_ticks(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T22:17:06.000000Z K 7 svn:log V 881 Clean up the way we handle auxiliary commands for a given ddb command table. Previously, the ddb code knew of each linker set of auxiliary commands and which explicit command list they were tied to. These changes add a simple command_table struct that contains both the static list of commands and the pointers for any auxiliary linker set of additional commands. This also makes it possible for other arbitrary command tables to be defined in other parts of the kernel w/o having to edit ddb itself. The DB_SET macro has also been trimmed down to just creating an entry in a linker set. A new DB_FUNC macro does what the old DB_SET did which is to not only add an entry to the linker set but also to include a function prototype for the function being added. With these changes, it's now also possible to create aliases for ddb functions using DB_SET() directly if desired. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T22:17:26.000000Z K 7 svn:log V 11 Style nit. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-08T00:34:54.000000Z K 7 svn:log V 77 Set SNF_SYNC flag for timer, as the timer notification should be serialized. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-08T00:51:00.000000Z K 7 svn:log V 44 Ignore dirty pages owned by "dead" objects. END K 10 svn:author V 3 cel K 8 svn:date V 27 2006-03-08T01:43:01.000000Z K 7 svn:log V 493 Fix a bug in NFSv3 READDIRPLUS reply processing The client's READDIRPLUS logic skips the attributes and filehandle of the ".." entry. If the server doesn't send attributes but does send a filehandle for "..", the client's logic doesn't account for the extra "value follows" field that indicates whether the filehandle is present, causing the remaining entries in the reply to be ignored. Sponsored by: Network Appliance, Inc. Reviewed by: rick, mohans Approved by: silby MFC after: 2 weeks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-03-08T01:56:06.000000Z K 7 svn:log V 187 Remove configure.ac.in and reorganize a few other things. This is part of a program to remove the non-FreeBSD autoconf/automake build system for libarchive from the FreeBSD source tree. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-08T02:14:39.000000Z K 7 svn:log V 156 Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended file systems. This could cause deadlocks when creating snapshots. Reviewed by: jeff END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-03-08T02:49:12.000000Z K 7 svn:log V 164 Remove configure.ac.in and the 'distfile' target from the FreeBSD makefile. This is a step towards cleaning out the non-FreeBSD bits from the FreeBSD source tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-03-08T06:31:46.000000Z K 7 svn:log V 122 Remove leading __ from __(inline|const|signed|volatile). They are obsolete. This should reduce diffs to NetBSD as well. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-03-08T08:27:33.000000Z K 7 svn:log V 162 Allow to dump kernel to gmirror providers. Some conditions have to be met to make it work properly. This will be described in the manual page. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-03-08T08:50:52.000000Z K 7 svn:log V 121 Add some notes how to properly dump kernel onto gmirror provider. Reviewed and corrected by: brueffer MFC after: 3 days END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-03-08T08:58:44.000000Z K 7 svn:log V 279 Fix the case where the user specifies an alternate heading for some output-format keyword, and the keyword they picked is an alias to some other keyword. E.g.: ps -o stat=Zustand $$ ('stat' is defined as an alias for 'state') PR: bin/57833 MFC after: 3 weeks END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-03-08T09:15:20.000000Z K 7 svn:log V 98 Collapse strncpy/strncat/strncat into a single snprintf, as suggested by pjd. MFC after: 3 weeks END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-08T09:21:48.000000Z K 7 svn:log V 33 Bail out of afd_sense if ENODEV. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-08T10:14:39.000000Z K 7 svn:log V 196 Always read the TOC in acd_read_toc even if MEDIA_CHANGED wasn't set. Since we cannot (reliably) detect when media has been removed before we try to touch it, this could leave stale TOC's around. END K 10 svn:author V 4 mnag K 8 svn:date V 27 2006-03-08T12:56:06.000000Z K 7 svn:log V 124 MFC 1.13: - New sentence should start from the new line - Forget to bump .Dd Reported by: maxim Approved by: re (hrs) END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-03-08T14:05:38.000000Z K 7 svn:log V 215 Properly handle the case when the packet secondary zone can't allocate further mbuf clusters to attach to mbufs. Reported by: kris Tested by: kris Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 days END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-03-08T14:10:38.000000Z K 7 svn:log V 37 Fix spelling error MFC after: 1 day END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-03-08T14:17:26.000000Z K 7 svn:log V 78 Explain why the first partition should start at offset 16. Requested by: hrs END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-03-08T14:20:14.000000Z K 7 svn:log V 476 MFC: sys/geom/label/g_label_ufs.c 1.10 We need to check if file system size is equal to provider's size, because sysinstall(8) still bogusly puts the first partition at offset 0 instead of 16, so glabel/ufs will find file system on a slice instead of partition. Before sysinstall is fixed, we must keep this code, which means that we wont't be able to detect UFS file systems created with 'newfs -s ...'. PS. bsdlabel(8) creates partitions properly. Approved by: re (hrs) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-03-08T14:23:13.000000Z K 7 svn:log V 161 MFC: sbin/bsdlabel/bsdlabel.8 1.63,1.64 Fix evil examples - first partition should start at offset 16 and explain why this is important. Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-08T15:47:48.000000Z K 7 svn:log V 47 Update a DB_SET to DB_FUNC I missed yesterday. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-08T16:39:01.000000Z K 7 svn:log V 104 ATA_USB will need to hook into the delayed boot identify to have interrupts running, so externalize it. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-03-08T17:26:53.000000Z K 7 svn:log V 96 Fix output and exit status when daily_mailq_shorten is set to YES PR: conf/93472 MFC after: 3 END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-08T18:02:32.000000Z K 7 svn:log V 1187 Revamp base system packaging of kernels to enable up/smp selection at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an /conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-08T18:03:09.000000Z K 7 svn:log V 50 kernel install script (missed in previous commit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-03-08T18:03:10.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-03-08T20:21:15.000000Z K 7 svn:log V 328 When parsing an RPC request in nfsrv_dorec(), KASSERT that there actually is an mbuf to process. This catches the missing mbuf before it would otherwise causes a NULL pointer dereference, which could be triggered by a 0 length RPC record before the check for such records was added in rev 1.97. Approved by: cperciva (mentor) END K 10 svn:author V 3 ups K 8 svn:date V 27 2006-03-08T20:21:54.000000Z K 7 svn:log V 47 Fix exec_map resource leaks. Tested by: kris@ END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2006-03-08T20:40:37.000000Z K 7 svn:log V 63 Fix overriding jail_list from command line. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-03-08T21:30:47.000000Z K 7 svn:log V 160 Merge Makefile.inc1:1.536 from HEAD to RELENG_6: Detect that the "audit" group is missing earlier during install. Submitted by: ru Approved by: re (scottl) END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-03-08T22:28:12.000000Z K 7 svn:log V 216 Switch these makefiles to use 'MAN=' to indicate they will not generate a man page, instead of 'NO_MAN='. 'NO_MAN=' is something users would set, not something a makefile should be using. Based on comments by: des END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-03-08T22:55:13.000000Z K 7 svn:log V 281 Merge BSD.var.dist:1.73,1.74 from HEAD to RELENG_6: Add /var/audit, mode 750, which will hold audit trail files. Change group for /var/audit to audit, so that audit review can be delegated to non-administrators. Obtained from: TrustedBSD Project Approved by: re (mux) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-08T22:56:28.000000Z K 7 svn:log V 159 Add periodic scripts that check the status of gmirror(8), graid3(8), gstripe(8) and gconcat(8) devices, respectively. Approved by: re (mux), rwatson (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-08T22:59:47.000000Z K 7 svn:log V 194 MFC: rev. 1.13 + 1.14 Add periodic scripts that check the status of gmirror(8), graid3(8), gstripe(8) and gconcat(8) devices, respectively. Also sort. Approved by: re (mux), rwatson (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-08T23:01:18.000000Z K 7 svn:log V 155 MFC: rev. 1.34 + 1.37 Add the gmirror(8), graid3(8), gstripe(8) and gconcat(8) status scripts, default is "off". Approved by: re (mux), rwatson (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-08T23:03:12.000000Z K 7 svn:log V 138 MFC: rev. 1.57 - 1.59 Document the ataraid(8), gmirror(8), graid3(8), gstripe(8) and gconcat(8) periodic scripts. Approved by: re (mux) END K 10 svn:author V 4 kris K 8 svn:date V 27 2006-03-08T23:06:07.000000Z K 7 svn:log V 311 MFC: ---------------------------- revision 1.101 date: 2006/02/28 00:05:44; author: kris; state: Exp; lines: +2 -4 Correct the vnode locking in fdescfs. PR: kern/93905 Submitted by: Kostik Belousov Reviewed by: jeff ---------------------------- Approved by: re (mux) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-08T23:42:41.000000Z K 7 svn:log V 79 Remove mq.c, the POSIX mqueue is implemented in librt. Suggested by: deischen END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-08T23:43:39.000000Z K 7 svn:log V 416 Use vn_start_secondary_write() and vn_finished_secondary_write() as a replacement for vn_write_suspend_wait() to better account for secondary write processing. Close race where secondary writes could be started after ffs_sync() returned but before the file system was marked as suspended. Detect if secondary writes or softdep processing occurred during vnode sync loop in ffs_sync() and retry the loop if needed. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-08T23:47:04.000000Z K 7 svn:log V 48 Remove mqueue and timer, now they are in librt. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-08T23:53:39.000000Z K 7 svn:log V 147 MFC: Don't access fs->first_object after dropping reference to it. The result could be a missed or extra giant unlock. Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-08T23:57:07.000000Z K 7 svn:log V 607 MFC: For low memory situations, non-VMIO buffers didnt't release pages back to the system when brelse() was called with B_RELBUF set on the buffer. This could be a problem when the system was low on memory, had many buffers on QUEUE_EMPTYKVA and started to traverse directories. For each getnewbuf(), pages were allocated from the system, driving the free reserve downwards. For each brelse(), the system put the buffer on QUEUE_CLEAN, with B_INVAL set. This commit changes the semantics of B_RELBUF to also free pages from non-VMIO buffers. Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-08T23:59:41.000000Z K 7 svn:log V 199 MFC: Rounding addr upwards to next 4M or 2M boundary in pmap_growkernel() could cause addr to become 0, resulting in an early return without populating the last PDE. Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-09T00:01:29.000000Z K 7 svn:log V 90 MFC: Check return value from nonblocking call to vn_start_write(). Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-09T00:02:51.000000Z K 7 svn:log V 101 MFC: Expand scope of marker to reduce the number of page queue scan restarts. Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-09T00:04:27.000000Z K 7 svn:log V 60 MFC: Don't try to show marker nodes. Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-09T00:07:35.000000Z K 7 svn:log V 133 MFC: Hold extra reference to vm object while cleaning pages. Ignore dirty pages owned by "dead" objects. Approved by: re (mux) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-09T00:18:45.000000Z K 7 svn:log V 356 MFC: Eliminate a deadlock when creating snapshots. Blocking vn_start_write() must be called without any vnode locks held. Remove calls to vn_start_write() and vn_finished_write() in vnode_pager_putpages() and add these calls before the vnode lock is obtained to most of the callers that don't already have them. Approved by: re (mux) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-03-09T00:18:46.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-09T00:21:23.000000Z K 7 svn:log V 170 MFC: Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended file systems. This could cause deadlocks when creating snapshots. Approved by: re (mux) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-09T00:28:44.000000Z K 7 svn:log V 91 correct ni_txrate when using a fixed rate; fixes current rate reporting MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-09T01:03:58.000000Z K 7 svn:log V 29 Connect librt to buildworld. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-03-09T01:33:38.000000Z K 7 svn:log V 81 Now that we now spell NO_MAN=xxx MAN=, update the docs. Submitted by: John Hein END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-03-09T02:08:12.000000Z K 7 svn:log V 176 When a process is de-configuring a log file, also stop all of its PMCs that require a log file to operate. This change should fix PR 90269. PR: kern/90269 MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T03:47:11.000000Z K 7 svn:log V 61 ns_name_skip was not prefixed by `__'. Obtained from: BIND9 END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-03-09T06:52:39.000000Z K 7 svn:log V 185 MFC: Add a default ldconfig32_paths entry in default/rc.conf for 32-bit compatibility shared libraries. It is used by the ldconfig rc.d scripts. PR: amd64/91571 Approved by: re (hrs) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-03-09T06:54:05.000000Z K 7 svn:log V 70 MFC: Document ldconfig32_paths PR: amd64/91571 Approved by: re (hrs) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-03-09T06:55:36.000000Z K 7 svn:log V 132 MFC: Enhance loginfail: it will catch sshd, proftpd and su errors, as well as other programs PR: conf/70973 Approved by: re (hrs) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-03-09T08:21:19.000000Z K 7 svn:log V 127 MFC bridgestp.c r1.12, if_bridgevar.h r1.11 Add a timer to periodically check the interface state. Approved by: re (scottl) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-09T08:31:51.000000Z K 7 svn:log V 92 Remove _STOPEVENT call, it is already called in issignal, simplify code for SIGKILL signal. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-09T08:34:44.000000Z K 7 svn:log V 193 Get rid of all the "long long"/"maxint" casting around in printf's. On all our platforms intmax == int64_t so simply using %j to print int64_t's is safe all over, and doesn't pullute the code. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T09:06:44.000000Z K 7 svn:log V 160 MFC: Handle the errors returned by res_querydomain() in same manner. lib/libc/net/getaddrinfo.c: 1.72 lib/libc/net/res_query.c: 1.32 Approved by: re (mux) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T09:09:00.000000Z K 7 svn:log V 159 MFC: Handle the errors returned by res_querydomain() in same manner. lib/libc/net/getaddrinfo.c: 1.72 lib/libc/net/res_query.c: 1.32 Approved by: re (mux) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-09T09:14:23.000000Z K 7 svn:log V 77 MFC: rev. 1.29 DDB depends on KDB for some time now. Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T09:15:34.000000Z K 7 svn:log V 207 MFC 1.210: - Reduce needless DNS query by lookup only appropriate address family. - Specify appropriate hints to getaddrinfo(3). - Obtain address family from peername in inetd mode. Approved by: re (mux) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-09T09:17:13.000000Z K 7 svn:log V 80 MFC: rev. 1.29 DDB depends on KDB for some time now. Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T09:18:37.000000Z K 7 svn:log V 193 MFC: Revert `proto ip' back to the previous behavior. The kernel side of ipfw2 doesn't allow zero as protocol number. sbin/ipfw/ipfw.8: 1.186 sbin/ipfw/ipfw2.c: 1.85 Approved by: re (mux) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-09T09:18:52.000000Z K 7 svn:log V 62 MFC: rev. 1.30 Remove a useless word. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-03-09T09:19:26.000000Z K 7 svn:log V 65 MFC: rev. 1.30 Remove a useless word. Approved by: re (hrs) END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-03-09T09:29:41.000000Z K 7 svn:log V 96 Ignore kenv strings which overflow the room we have, rather than pretend we have room for them. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-03-09T09:30:33.000000Z K 7 svn:log V 95 silence cpu_tick calibration and notice only (under bootverbose) when the frequency increases. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-03-09T09:33:17.000000Z K 7 svn:log V 385 Add slop to "backwards" cpu accounting messages, 3 usec or 1% whichever triggers. This should eliminate all the trivial messages which result from minor increases in cpu_tick frequency. Machines which don't du cpu clock fiddling shouldn't issue "backwards" messages now. Laptops and other machines where the initial estimate of cputicks may be waaaay off will still issue warnings. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-03-09T09:44:10.000000Z K 7 svn:log V 22 Oops, forgot newline. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-09T10:24:03.000000Z K 7 svn:log V 6 typo. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-09T10:25:35.000000Z K 7 svn:log V 81 Only use the channel in the request given to ata_completed if its still present. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-03-09T11:59:03.000000Z K 7 svn:log V 251 Merge in6.c:1.60 from HEAD to RELENG_6 Fix for an inappropriate bzero of the ICMPv6 stats. The code was zero'ing the wrong structure member but setting the correct one. Submitted by: James dot Juran at baesystems dot com Approved by: re (scottl) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-03-09T11:59:42.000000Z K 7 svn:log V 251 Merge in6.c:1.60 from HEAD to RELENG_5 Fix for an inappropriate bzero of the ICMPv6 stats. The code was zero'ing the wrong structure member but setting the correct one. Submitted by: James dot Juran at baesystems dot com Approved by: re (scottl) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-03-09T12:38:36.000000Z K 7 svn:log V 309 Merge updated manual pages from HEAD to RELENG_5. 1.21 src/lib/libipsec/ipsec_set_policy.3 1.14 src/lib/libipsec/ipsec_strerror.3 1.17,1.18 src/share/man/man4/ipsec.4 Clean up some descriptions and remove ambiguities in the language. Add explanations to the examples. Approved by: re (scottl) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-03-09T12:41:34.000000Z K 7 svn:log V 297 Merge manual pages from HEAD to RELENG_6 1.21 src/lib/libipsec/ipsec_set_policy.3 1.14 src/lib/libipsec/ipsec_strerror.3 1.17,1.18 src/share/man/man4/ipsec.4 Clean up some descriptions and remove ambiguities in the language. Add explanations to the examples. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-03-09T12:48:36.000000Z K 7 svn:log V 154 MFC recent locale changes for both Simplified and Traditional Chinese, so that applications like tcsh(1) can handle them properly. Approved by: re (hrs) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-03-09T12:55:02.000000Z K 7 svn:log V 681 After revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the gensnmptree utility is required at "make depend" time, because it is used to generate `oid.h' for bsnmpd. This means that all versions of HEAD before 2004/01/23 16:22:49 need gensnmptree as a bootstrap util when it's not already installed as part of the base system. The first __FreeBSD_version that we can assume this can work is 700014 which happened after the gensnmptree change (in -r 1.263 of `src/sys/sys/param.h', at 2006/02/17 14:14:15). For __FreeBSD_version values before 700014 add gensnmptree to the bootstrap tools, to allow upgrades from versions of FreeBSD before that date. Approved by: ru, harti END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-03-09T13:42:44.000000Z K 7 svn:log V 166 MFC 1.127: - Do not leak read lock in IP_FW_TABLE_GETSIZE case of ipfw_ctl(). - Acquire read (not write) lock in case of IP_FW_TABLE_LIST. Approved by: re (hrs) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-03-09T14:42:51.000000Z K 7 svn:log V 127 Don't acquire a lock before calling vlan_unconfig(). This fixes a panic when doing "ifconfig ... -vlandev". OK'ed by: glebius END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-03-09T14:43:07.000000Z K 7 svn:log V 92 In addition to -b (suppress builds) add -k (suppress kernel build) and -w (suppress world). END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-03-09T14:49:19.000000Z K 7 svn:log V 113 Add -F option to not fail on already installed packages. Submitted by: Eugene Grosbein END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-09T14:58:09.000000Z K 7 svn:log V 529 Revert to setting vlan and vlandev parametes synchronously, as soon as both have been read from the command line. Still use the callback, but this time only to verify that both vlan and vlandev have been found on the command line. This should allow for control over the relative order of processing parameters, which is needed to satisfy some caveats of the if_vlan driver. E.g., MTU cannot be changed on a vlan interface until it's attached to its parent. PR: bin/94028 Reviewed by: ru MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-09T15:48:45.000000Z K 7 svn:log V 278 The `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG, which is normal for own files of a device driver. DEV_FOO should be used if an unrelated kernel file needs to know of the `foo' driver's static presence. Obviously, module source files should never use DEV_*. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-09T15:54:01.000000Z K 7 svn:log V 148 Avoid pulling in the whole by opaquely declaring the structs pflog_packet() takes pointers to. Approved by: mlaier MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-09T16:23:15.000000Z K 7 svn:log V 547 Revert the previous change. Even though Intel insists that the behavior this change restores is wrong, it turns out the "proper" method is worse in practice for existing machines. This is probably due to the fact that using fixed priority with a physical broadcast destination effectively broadcasts interrupts to all CPUs. Fixing that would require a lot more work than just restoring the previous "incorrect" behavior and would probably be riskier as well. PR: kern/94160 Reported by: Richard Wiwatowski rjwiwat at internode dot on dot net END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-03-09T16:24:58.000000Z K 7 svn:log V 68 Revert last change, per ru@'s objection. I misunderstood consensus END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-03-09T16:28:24.000000Z K 7 svn:log V 44 Don't dereference an uninitialized pointer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-09T16:38:52.000000Z K 7 svn:log V 298 Flip the switch and don't route interrupts to hyperthreads in a HT system. In at least one benchmark this showed around a 20% performance increase. If other workloads do benefit from having hyperthreads service interrupts, we can always make this a loader tunable. MFC after: 3 days Tested by: ps END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T17:08:41.000000Z K 7 svn:log V 96 MFC 1.9: Correct handling of HTTP_PROXY_AUTH. A password may have `:'. Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T17:10:33.000000Z K 7 svn:log V 204 MFC 1.15: Remove trailing dot from the servername in the serverlist to be able to use portsnap from behind a http proxy. Some HTTP proxy don't like trailing dot in the servername. Approved by: re (hrs) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-09T17:11:17.000000Z K 7 svn:log V 51 handle KERNELS as before Submitted by: ru, andrew END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T17:13:39.000000Z K 7 svn:log V 95 MFC 1.9: Correct handling of HTTP_PROXY_AUTH. A password may have `:'. Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-03-09T17:17:40.000000Z K 7 svn:log V 204 MFC 1.15: Remove trailing dot from the servername in the serverlist to be able to use portsnap from behind a http proxy. Some HTTP proxy don't like trailing dot in the servername. Approved by: re (hrs) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-09T17:50:01.000000Z K 7 svn:log V 62 Revise the names of modules in the recent note on tdfx_linux. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-03-09T17:55:08.000000Z K 7 svn:log V 42 Fix this to what I've actually submitted. END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-03-09T19:52:44.000000Z K 7 svn:log V 201 Rever the previous changes. It turns out that it perfectly correct for a makefile to set 'NO_MAN=' when the makefile is for a program that will not create a man page. Based on reaction from: ru bde END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-03-09T21:43:10.000000Z K 7 svn:log V 81 MFC 1.4 to make sure the ioctl doesn't get smushed. Approved by: re@freebsd.org END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-03-09T21:43:58.000000Z K 7 svn:log V 82 MFC 1.4 and make sure the ioctl doesn't get smushed. Approved by: re@freebsd.org END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-09T21:51:00.000000Z K 7 svn:log V 251 MFC: Move the functionality controlled by "options TDFX_LINUX" from 3dfx.ko to a separate module, 3dfx_linux.ko. The option is retained in RELENG_6 for POLA reasons while it has been turned into "device tdfx_linux" in HEAD. Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-09T21:54:32.000000Z K 7 svn:log V 56 missed a case that needs WITH_SMP Noticed by: kensmith END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-09T22:18:07.000000Z K 7 svn:log V 505 MFC: Some years ago handling login.access(5) was moved from login(1) to pam_login_access(8) completely and unconditionally. This patch is to finalize the move by deleting unused files and defines, and by updating the manpages. In addition, login.access.5 will be installed from the pam_login_access src directory, to where it belongs and where it has lived for quite a while, too. Besides satisfying general purism, this patch should stop ongoing attempts to fix the dead code. Approved by: re (mux) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-03-09T22:37:34.000000Z K 7 svn:log V 62 Implement printf 'X' conversion for both libstand and kernel. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-03-09T22:49:44.000000Z K 7 svn:log V 236 - Implement serial numbers, UUID, and asset tag (turned off by default). Use 'BOOT_SENSITIVE_INFO=YES' variable to turn them on. - Use 'uint*_t' instead of 'u_int*_t', correct compilation warnings, and update copyright while I am here. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-03-09T23:33:59.000000Z K 7 svn:log V 131 MFp4: Forget the asm inlined version of in_cksum_hdr(). It doesn't work if the pointer is unaligned, and it just doesn't worth it. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-10T02:31:12.000000Z K 7 svn:log V 59 Remove unneeded (and broken) usage of MNT_REF()/MNT_REL(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-10T02:54:45.000000Z K 7 svn:log V 90 Fix stack offset to allow gcc's stack aligment code to work correctly. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-10T05:55:26.000000Z K 7 svn:log V 39 It is not necessary to read %gs twice. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T06:18:03.000000Z K 7 svn:log V 102 fix switching between agressive and non-agressive wmm modes Obtained from: atheros MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-03-10T07:34:21.000000Z K 7 svn:log V 85 MFC 1.65: Correctly switch IFCAP_VLAN_HWTAGGING on and off. Approved by: re (mux) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-03-10T07:35:09.000000Z K 7 svn:log V 60 MFC 1.13: Update URL at cisco.com. Approved by: re (mux) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-03-10T07:41:31.000000Z K 7 svn:log V 285 When inserting a new component md_provsize metadata field wasn't set, which means that old problem was triggered (when two providers end at the same offset, eg. ad0 and ad0s1 and the wrong was is picked up by gmirror/graid3). Reported by: Michal Suszko MFC after: 3 days END K 10 svn:author V 8 deischen K 8 svn:date V 27 2006-03-10T07:58:02.000000Z K 7 svn:log V 184 Remove including of libc sources. All the required functions are exported by libc with prototypes in our standard headers. I guess at one time this was necessary, but not any longer. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-10T08:01:23.000000Z K 7 svn:log V 72 Block all signals in helper threads except those should not be blocked. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-03-10T09:58:18.000000Z K 7 svn:log V 35 Add entries for new pthread stubs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-03-10T11:00:11.000000Z K 7 svn:log V 88 - Fix variable assignment to be portable. - "Line up" continuations. Submitted by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-03-10T11:07:39.000000Z K 7 svn:log V 62 Hopefully fix all nearby style bugs that Bruce has mentioned. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-03-10T12:18:41.000000Z K 7 svn:log V 34 Disable an SMP detection on pc98. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T12:20:53.000000Z K 7 svn:log V 42 write the right unit # on verbose output. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T12:30:08.000000Z K 7 svn:log V 540 MFC: Only use the channel in the request given to ata_completed if its still present. Only look for ICRC and CORR errors on ATA devices not ATAPI. Get rid of all the "long long"/"maxint" casting around in printf's. On all our platforms intmax == int64_t so simply using %j to print int64_t's is safe all over, and doesn't pullute the code. Update atapi-fd to support direct devices such as disks. ATAUSB will need to hook into the delayed boot identify to have interrupts running, so externalize it. Add USB modes. Approved by: re@ (mux) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-03-10T12:37:19.000000Z K 7 svn:log V 116 Use .Cm for all key words, not just the ones I added. More in line with mdoc(7) according to ru. Requested by: ru END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T12:43:42.000000Z K 7 svn:log V 70 MFC missed line in last commit Approved by: re@ (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-03-10T18:40:31.000000Z K 7 svn:log V 222 Add note about 'audit' group. Add note about the '_dhcp' user. While one is expected to run mergemaster -p before installworld, make a note of the points where this will actively fail due to the addition of users/groups. END K 10 svn:author V 6 damien K 8 svn:date V 27 2006-03-10T18:55:30.000000Z K 7 svn:log V 17 fix the locking. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T19:08:52.000000Z K 7 svn:log V 225 Module that adds support for using USB storage devices through the ATA framework. Mainly written to be able to use USB Flash keys. This is work in progress so use with care :) Doesn't need CAM and cannot coexist with umass.c END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T19:10:05.000000Z K 7 svn:log V 20 Add "device atausb" END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T19:15:20.000000Z K 7 svn:log V 18 Add atausb module END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-10T19:37:35.000000Z K 7 svn:log V 7212 MFC: Split struct ithd into struct intr_thread and intr_event and associated changes. More details below: Remove public declarations of variables that were forgotten when they were made static. Revision Changes Path 1.31 +0 -1 src/sys/sys/interrupt.h Make sure the interrupt is masked before processing it, or bad things can happen. Revision Changes Path 1.10 +3 -3 src/sys/arm/arm/intr.c Reorganize the interrupt handling code a bit to make a few things cleaner and increase flexibility to allow various different approaches to be tried in the future. - Split struct ithd up into two pieces. struct intr_event holds the list of interrupt handlers associated with interrupt sources. struct intr_thread contains the data relative to an interrupt thread. Currently we still provide a 1:1 relationship of events to threads with the exception that events only have an associated thread if there is at least one threaded interrupt handler attached to the event. This means that on x86 we no longer have 4 bazillion interrupt threads with no handlers. It also means that interrupt events with only INTR_FAST handlers no longer have an associated thread either. - Renamed struct intrhand to struct intr_handler to follow the struct intr_foo naming convention. This did require renaming the powerpc MD struct intr_handler to struct ppc_intr_handler. - INTR_FAST no longer implies INTR_EXCL on all architectures except for powerpc. This means that multiple INTR_FAST handlers can attach to the same interrupt and that INTR_FAST and non-INTR_FAST handlers can attach to the same interrupt. Sharing INTR_FAST handlers may not always be desirable, but having sio(4) and uhci(4) fight over an IRQ isn't fun either. Drivers can always still use INTR_EXCL to ask for an interrupt exclusively. The way this sharing works is that when an interrupt comes in, all the INTR_FAST handlers are executed first, and if any threaded handlers exist, the interrupt thread is scheduled afterwards. This type of layout also makes it possible to investigate using interrupt filters ala OS X where the filter determines whether or not its companion threaded handler should run. - Aside from the INTR_FAST changes above, the impact on MD interrupt code is mostly just 's/ithread/intr_event/'. - A new MI ddb command 'show intrs' walks the list of interrupt events dumping their state. It also has a '/v' verbose switch which dumps info about all of the handlers attached to each event. - We currently don't destroy an interrupt thread when the last threaded handler is removed because it would suck for things like ppbus(8)'s braindead behavior. The code is present, though, it is just under #if 0 for now. - Move the code to actually execute the threaded handlers for an interrrupt event into a separate function so that ithread_loop() becomes more readable. Previously this code was all in the middle of ithread_loop() and indented halfway across the screen. - Made struct intr_thread private to kern_intr.c and replaced td_ithd with a thread private flag TDP_ITHREAD. - In statclock, check curthread against idlethread directly rather than curthread's proc against idlethread's proc. (Not really related to intr changes) Tested on: alpha, amd64, i386, sparc64 Tested on: arm, ia64 (older version of patch by cognet and marcel) Revision Changes Path 1.88 +43 -29 src/sys/alpha/alpha/interrupt.c 1.38 +5 -5 src/sys/alpha/isa/isa.c 1.16 +58 -52 src/sys/amd64/amd64/intr_machdep.c 1.6 +1 -1 src/sys/amd64/include/intr_machdep.h 1.16 +2 -2 src/sys/amd64/isa/atpic.c 1.11 +28 -22 src/sys/arm/arm/intr.c 1.462 +2 -2 src/sys/dev/sio/sio.c 1.6 +1 -1 src/sys/dev/uart/uart_kbd_sun.c 1.24 +2 -2 src/sys/dev/uart/uart_tty.c 1.15 +58 -52 src/sys/i386/i386/intr_machdep.c 1.8 +1 -1 src/sys/i386/include/intr_machdep.h 1.21 +2 -2 src/sys/i386/isa/atpic.c 1.52 +32 -25 src/sys/ia64/ia64/interrupt.c 1.180 +3 -2 src/sys/kern/kern_clock.c 1.127 +437 -270 src/sys/kern/kern_intr.c 1.206 +0 -1 src/sys/kern/subr_witness.c 1.6 +3 -3 src/sys/powerpc/include/intr_machdep.h 1.7 +35 -32 src/sys/powerpc/powerpc/intr_machdep.c 1.14 +1 -1 src/sys/sparc64/include/intr_machdep.h 1.24 +43 -36 src/sys/sparc64/sparc64/intr_machdep.c 1.32 +36 -36 src/sys/sys/interrupt.h 1.440 +1 -3 src/sys/sys/proc.h Catch up with interrupt-thread changes. Revision Changes Path 1.32 +1 -1 src/sys/dev/zs/zs.c Catch up with new interrupt handling code. Revision Changes Path 1.16 +3 -3 src/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c Catch up with new interrupt handling code. Revision Changes Path 1.162 +2 -2 src/sys/dev/cy/cy.c 1.101 +2 -2 src/sys/dev/rc/rc.c Catch up with new interrupt handling code. Revision Changes Path 1.50 +2 -2 src/sys/dev/cx/if_cx.c 1.41 +1 -1 src/sys/dev/sab/sab.c 1.238 +2 -2 src/sys/pc98/cbus/sio.c Add a swi_remove() function to teardown software interrupt handlers. For now it just calls intr_event_remove_handler(), but at some point it might also be responsible for tearing down interrupt events created via swi_add. Revision Changes Path 1.128 +17 -0 src/sys/kern/kern_intr.c 1.33 +1 -0 src/sys/sys/interrupt.h - Use swi_remove() to teardown swi handlers rather than intr_event_remove_handler(). - Remove tty: prefix from a couple of swi handler names. Revision Changes Path 1.51 +1 -1 src/sys/dev/cx/if_cx.c 1.102 +2 -2 src/sys/dev/rc/rc.c 1.42 +1 -1 src/sys/dev/sab/sab.c 1.25 +1 -1 src/sys/dev/uart/uart_tty.c 1.33 +1 -1 src/sys/dev/zs/zs.c 1.17 +2 -2 src/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c Remove a stray return statement in the interrupt dispatch function that caused a premature exit after calling a fast interrupt handler and bypassing a much needed critical_exit() and the scheduling of the interrupt thread for non-fast handlers. In short: unbreak :-) Revision Changes Path 1.53 +0 -1 src/sys/ia64/ia64/interrupt.c If we get a stray interrupt, return after logging it. In the extremely rare case of a stray interrupt to an unregistered source (such as a stray interrupt from the 8259As when using APIC), this could result in a page fault when it tried to walk the list of interrupt handlers to execute INTR_FAST handlers. This bug was introduced with the intr_event changes, so it's not present in 5.x or 6.x. Submitted by: Mark Tinguely tinguely at casselton dot net Revision Changes Path 1.17 +1 -0 src/sys/amd64/amd64/intr_machdep.c 1.16 +1 -0 src/sys/i386/i386/intr_machdep.c Approved by: re (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-03-10T19:37:36.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-03-10T19:37:37.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 6 damien K 8 svn:date V 27 2006-03-10T19:59:09.000000Z K 7 svn:log V 80 make use of the firmware(9) subsystem. use intel's firmware version 3.0 layout. END K 10 svn:author V 6 damien K 8 svn:date V 27 2006-03-10T20:35:09.000000Z K 7 svn:log V 333 o acknowledge interrupts early in the interrupt handler o stop processing interrupts after a firmware fatal error or a radio kill o clarify the possible values for the 'antenna' sysctl. o by default, let the firmware do antenna diversity. the firmware will periodically switch to another antenna to evaluate the signal quality. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:04:07.000000Z K 7 svn:log V 51 MFC: sync with HEAD Approved by: re (scottl, hrs) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:05:53.000000Z K 7 svn:log V 74 MFC 1.115: explain what list chan displays Approved by: re (scottl, hrs) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:08:07.000000Z K 7 svn:log V 128 MFC 1.130: use ath_hal_gettxintrtxqs so we only process h/w tx queues that have an interrupt pending Approved by: re (mux) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:10:51.000000Z K 7 svn:log V 70 MFC 1.133: improve tx/rx buf printing routines Approved by: re (mux) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:12:17.000000Z K 7 svn:log V 57 MFC 1.134: fix build w/o AR_DEBUG Approved by: re (mux) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:14:11.000000Z K 7 svn:log V 72 MFC 1.135: drop softc lock around copyin/copyout Approved by: re (mux) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-03-10T22:17:57.000000Z K 7 svn:log V 44 fix harmless merge botches Approved by: re END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-10T22:57:36.000000Z K 7 svn:log V 85 MFC: Add support for Cronyx Tau32-PCI adapters. (new code) Approved by: re(scottl) END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-10T23:10:39.000000Z K 7 svn:log V 83 MFC: Add support for Cronyx Tau32-PCI adapters. (update) Approved by: re(scottl) END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-03-10T23:27:41.000000Z K 7 svn:log V 97 MFC: Add support for Cronyx Tau32-PCI adapters. (connect to the build) Approved by: re(scottl) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-03-10T23:33:27.000000Z K 7 svn:log V 35 Micro-optimize invalid UUID check. END K 10 svn:author V 6 philip K 8 svn:date V 27 2006-03-10T23:50:53.000000Z K 7 svn:log V 247 Fix multicast support for cs89x0 chips. Just setting the RX_MULTCAST_ACCEPT flag isn't enough - the filter needs to be set up too, or no multicast frames are accepted. Sponsored by: Philips Industrial Applications (indirectly) MFC after: 3 days END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-03-11T01:08:37.000000Z K 7 svn:log V 358 Block secondary writes while expunging active unlinked files. Fix detection of active unlinked files by checking VI_OWEINACT and VI_DOINGINACT in addition to v_usecount. Defer inactive handling for unlinked files if the file system is mostly suspended (secondary writes being blocked). Perform deferred inactive handling after the file system is resumed. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-11T07:28:32.000000Z K 7 svn:log V 431 MFC: Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile: a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh' (should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was converted to using . Consequently, `isdntel.sh' has been installed as `isdntel' since then. Nevertheless, nobody has been unhappy with the change. So it's time to make it official. Approved by: re (mux) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-03-11T07:36:20.000000Z K 7 svn:log V 434 MFC: Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile: a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh' (should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was converted to using . Consequently, `isdntel.sh' has been installed as `isdntel' since then. Nevertheless, nobody has been unhappy with the change. So it's time to make it official. Approved by: re (mux) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2006-03-11T08:00:57.000000Z K 7 svn:log V 83 MFC: rev. 1.26 Fix overriding jail_list from command line. Approved by: re (mux) END