ƒ¯d165185 214 889 137 426 198 170 131 146 255 118 239 202 230 210 249 203 219 333 113 369 106 108 271 162 108 148 136 181 186 108 171 146 108 209 106 127 366 106 248 188 177 812 103 144 588 151 155 205 143 204 163 172 307 159 139 146 131 285 445 293 119 117 103 143 139 202 478 272 172 808 120 237 163 163 165 400 944 179 204 283 251 382 220 220 197 267 261 499 254 123 234 133 161 168 164 188 293 171 240 107 555 139 176 228 243 618 197 162 418 157 436 176 138 168 169 119 233 180 546 479 220 245 251 159 295 282 198 418 317 285 192 180 139 539 108 549 150 173 134 115 144 260 232 143 365 152 139 107 120 357 553 142 145 167 147 223 277 335 469 250 292 156 174 251 119 207 306 180 182 179 151 133 136 132 269 258 252 155 621 201 272 464 526 220 200 1338 199 175 468 145 283 410 2050 181 267 135 122 238 198 391 156 260 150 597 155 291 193 152 109 453 388 126 223 170 134 K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-13T19:34:35.000000Z K 7 svn:log V 796 Track v0.9.20.3 hal: o no more ds_vdata in tx/rx descriptors o split h/w tx/rx descriptor from s/w status o as part of the descriptor split change the rate control module api so the ath_buf is passed in to the module so it can fetch both descriptor and status information as needed o add some const poisoning Also for sample rate control algorithm: o split debug msgs (node, rate, any) o uniformly bounds check rate indices (and in some cases correct checks) o move array index ops to after bounds checking o use final tsi from the status block instead of the h/w descriptor o replace h/w descriptor struct's with proper mask+shift defs (this doesn't belong here; everything is known by the driver and should just be sent down so there's no h/w-specific knowledge) MFC after: 1 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-13T20:15:49.000000Z K 7 svn:log V 46 Fix markup nits, add the EXIT STATUS section. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-12-13T20:51:51.000000Z K 7 svn:log V 330 Remove a redundant write of the firmware reset magic number. It looks to have been added erroneously, and it causes problems on some chips. A larger change is needed to do this write at a more appropriate place, but that change requires reworking the ASF logic. That will be worked on in the future. Submitted by: Bruce Evans END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-12-13T21:03:55.000000Z K 7 svn:log V 102 Use the BGE_IS_* macros consistently. Also add a couple of missing cases to the debug_info function. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-12-13T21:13:09.000000Z K 7 svn:log V 75 Fix recent style problems and expand a comment. Submitted by: Bruce Evans END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-13T22:17:58.000000Z K 7 svn:log V 39 Append-only flag also denies chown(2). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-12-13T22:38:56.000000Z K 7 svn:log V 51 Use callouts to prevent races. Cleanup debug code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-13T22:51:23.000000Z K 7 svn:log V 162 - truncate(2) returns EFBIG if the length argument was greater than the maximum file size. - truncate(2) returns EINVAL if the length argument was less than 0. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-14T00:02:44.000000Z K 7 svn:log V 27 Polish markup and wording. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-14T02:57:07.000000Z K 7 svn:log V 143 MFC: All of those added MODULE_DEPEND clauses to make CAM and the actual hardware busses get pulled in if they're modules PRs: 106536, 106543 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-12-14T03:57:34.000000Z K 7 svn:log V 106 Turn on SMP in the default kernel. Most FreeBSD/amd64 machines are either multi-socket and/or multi-core. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-12-14T04:06:59.000000Z K 7 svn:log V 134 Back out rev 1.439.2.16 - it is on purpose that GENERIC doesn't support SMP in 6.x vs 7-CURRENT (which has been SMP since Nov. 2003). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-14T04:10:26.000000Z K 7 svn:log V 113 Remove incomplete Yukon II support code which was added in if_sk.c, rev 1.123. Yukon II users should use msk(4). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-14T04:48:17.000000Z K 7 svn:log V 152 MFC: 1.155 (without vfs_mount_error()): - Fix MNT_UPDATE for msdosfs, do not allow "export" requests if MSDOSFS_LARGEFS flag is set. PR: kern/105412 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-14T06:57:05.000000Z K 7 svn:log V 106 MFC revision 1.60 (by scottl): Add PCI Id for ServeRAID 8k. Submitted by: Danny Braniss Ok'ed by: scottl END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-14T06:58:02.000000Z K 7 svn:log V 122 MFR6 revision 1.54.2.8: Add PCI Id for ServeRAID 8k. Submitted by: Danny Braniss Ok'ed by: scottl Approved by: re (bmah) END K 10 svn:author V 5 erwin K 8 svn:date V 27 2006-12-14T09:04:13.000000Z K 7 svn:log V 238 MFC: rev. 1.109 + 1.110 - Update the list of ports categories. [1] - Fix typo. [2] PR: 85367 [1] Submitted by: linimon [1], ceri, matteo [2] Reviewed by: ceri, simon [1], cperciva [2] END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-14T10:42:46.000000Z K 7 svn:log V 22 Simplify some markup. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-12-14T11:34:07.000000Z K 7 svn:log V 276 Resolve two deadlocks that could be caused by busy md device backed by vnode. Allow for md thread and the thread that owns lock on vnode backing the md device to do the write even when runningbufspace is exhausted. Tested by: Peter Holm Reviewed by: tegge MFC after: 2 weeks END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T11:57:39.000000Z K 7 svn:log V 14 Spelling fix. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T12:49:04.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-14T13:22:02.000000Z K 7 svn:log V 174 Create inline function _thr_umutex_trylock2 to only try one atomic operation, if it is failed, we call syscall directly, this saves one atomic operation per lock contention. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T13:35:59.000000Z K 7 svn:log V 70 Don't use abbreviations for some descriptions / minor spelling fixes. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T13:37:08.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-12-14T13:44:41.000000Z K 7 svn:log V 51 MFC: rev. 1.34 Document IBM ServeRAID 8k support. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-12-14T14:18:42.000000Z K 7 svn:log V 44 Use tab after #define. Pointed out by: pjd END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-14T14:27:15.000000Z K 7 svn:log V 89 Document _SC_PAGESIZE. There are still 85 undocumented variables. Obtained from: NetBSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-14T14:32:59.000000Z K 7 svn:log V 94 Add support for _SC_PHYS_PAGES, which is not standard, but can be found in Solaris and Linux. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T14:33:13.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-14T14:34:56.000000Z K 7 svn:log V 79 Force commit to note, that the last change was... Discussed with: brooks, yar END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T16:37:11.000000Z K 7 svn:log V 54 Expand abbreviation. techref -> technical reference. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T16:40:57.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-14T16:53:48.000000Z K 7 svn:log V 116 Replace #define with #define so the code is consistent with style(9) and avoids mixing the two formats. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T16:57:35.000000Z K 7 svn:log V 14 Spelling fix. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-14T17:02:36.000000Z K 7 svn:log V 34 Update release note: BIND 9.3.3. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-12-14T17:02:55.000000Z K 7 svn:log V 273 1) Fixes on a number of different collision case LOR's. 2) Fix all "magic numbers" to be constants. 3) A collision case that would generate two associations to the same peer due to a missing lock is fixed. 4) Added tracking of where timers are stopped. Approved by: gnn END K 10 svn:author V 3 mpp K 8 svn:date V 27 2006-12-14T17:03:46.000000Z K 7 svn:log V 14 Spelling fix. END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-12-14T17:33:46.000000Z K 7 svn:log V 156 s,#if INET6,#ifdef INET6, This unbreaks the build for FAST_IPSEC && !INET6 and was wrong anyway. Reported by: Dmitry Pryanishnikov END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-12-14T17:55:12.000000Z K 7 svn:log V 93 MFC: Bring the arcmsr driver up to the vendor 1.20.00.013 version. Submitted by: Erich Chen END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-14T18:09:00.000000Z K 7 svn:log V 84 MFC: BIND 9.3.3 (also move this note from the kernel section to userland section). END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-12-14T18:29:08.000000Z K 7 svn:log V 714 Some relatively minor changes and bug fixes: 1) s/mi/mfi/ in FreeBSD ioctl path 2) add in "\n" on various failure messages 3) cap the length of time to abort an AEN command 4) fix passing sense data back to user to make Dell's Linux firmware upgrade tool happy. 5) bump the MFI_POLL_TIMEOUT_SECS from 10s to 50s since the firmware flash command can take ~40s to return. This is some clean-up and enables RAID firmware to updated via Dell's tool. Note Dell's tool requires the updates to the Linux emulator that has been done in -current with TLS etc. I need to discuss with scottl how to better submit mfi commands to the firmware via the ioctl path so we don't do it in polled mode. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-14T19:02:48.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-14T19:30:32.000000Z K 7 svn:log V 48 Mention BIND 9.3.3 MFC. Approved by: re (bmah) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-14T19:57:06.000000Z K 7 svn:log V 495 Add a first pass at a way to blacklist MSI on systems where it doesn't work: - A new PCI quirk (PCI_QUIRK_DISABLE_MSI) is added to the quirk table. - A new pci_msi_device_blacklisted() determines if a passed in device matches an MSI quirk in the quirk table. This can be overridden (all quirks ignored) by setting the hw.pci.honor_msi_blacklist to 0. - A global blacklist check is performed in the MI PCI bus code by checking to see if the device at 0:0:0 is blacklisted. Tested by: jdp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-14T19:59:29.000000Z K 7 svn:log V 59 Disable MSI for the Intel E7501 chipset. Reported by: jdp END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-14T21:42:03.000000Z K 7 svn:log V 63 Forgot to commit this file: add definition for _SC_PHYS_PAGES. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-14T22:00:53.000000Z K 7 svn:log V 109 MFC revisions 1.74 (module depedencies) && 1.71 (spin until a request struct is available in the ioctl path) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-14T22:14:14.000000Z K 7 svn:log V 51 band-aide until _SC_PHYS_PAGES actually is defined END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-14T23:10:12.000000Z K 7 svn:log V 111 Add MSI support to the bge driver. I tested this on a Dell SC1435 running an i386 kernel, and it worked fine. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-14T23:10:59.000000Z K 7 svn:log V 71 Add an entry noting that MSI support has been put into the bge driver. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-12-14T23:56:26.000000Z K 7 svn:log V 75 MFC: rev. 1.34 Document IBM ServeRAID 8k support. Approved by: re (bmah) END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-15T00:27:06.000000Z K 7 svn:log V 214 Disable bge MSI support for now. A couple of people warned me that there are problems with it on several revisions of this chip. I'll re-enable it after I've sorted out which chip revisions work and which don't. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2006-12-15T00:30:37.000000Z K 7 svn:log V 67 Note that MSI support has been disabled already in the bge driver. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-12-15T03:27:50.000000Z K 7 svn:log V 42 MFC support for Linux-compatible -f flag. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-15T05:15:17.000000Z K 7 svn:log V 52 Fix compilation using gcc 4.1. Submitted by: dougb END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-15T11:23:59.000000Z K 7 svn:log V 40 Mention what underlining is meant here. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-15T11:52:01.000000Z K 7 svn:log V 188 - Remove variable _thr_scope_system, all threads are system scope. - Rename _thr_smp_cpus to boolean variable _thr_is_smp. - Define CPU_SPINWAIT macro for each arch, only X86 supports it. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-12-15T12:01:50.000000Z K 7 svn:log V 352 This adds the "system calls" sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getassocid() sctp_send() sctp_sendx() sctp_sendmsgx() sctp_recvmsg() sctp_peeloff() Manual pages will be forthcoming (and the commit to porters-handbook) END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-12-15T12:50:06.000000Z K 7 svn:log V 199 o made in kernel libalias mpsafe o fixed a comment o made in kernel libalias a bit less verbose (disabled automatic logging everytime a new link is added or deleted) Approved by: glebius (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-15T13:37:49.000000Z K 7 svn:log V 28 Improve markup and grammar. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-15T13:40:53.000000Z K 7 svn:log V 26 Fix one minor inaccuracy. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-15T14:14:17.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-12-15T14:18:29.000000Z K 7 svn:log V 51 Fix typos in comment block Submitted by: rdivacky END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-15T16:12:07.000000Z K 7 svn:log V 44 Document extended program header numbering. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-15T17:47:25.000000Z K 7 svn:log V 110 Fix the fix in rev. 1.15 so that we jump to the next column instead of always skipping it. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-12-15T18:02:20.000000Z K 7 svn:log V 383 Fix the problem with the nsupdate(8) man page reported in the PR by removing spurious .HP tags, thereby actually allowing the commands to show up in the man page output, and making the style consistent with the nslookup(1) man page. [1] While I'm here, fix the markup on the first command reference in nslookup(1). PR: docs/98009 [1] Submitted by: Dmitry Kazarov END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-15T18:16:47.000000Z K 7 svn:log V 179 Fix ggated for platforms with 64bit size_t. The DIOCGSECTORSIZE ioctl returns u_int. Reported by: Javier Martín Rueda PR: amd64/91799 MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-15T19:23:27.000000Z K 7 svn:log V 80 chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-15T20:01:57.000000Z K 7 svn:log V 712 Do not add 'default:' cases inside a switch() on an enum like the SNMP option argument. That way the compiler will give a warning in case of a missing or an extra but unknown 'case:'. Do the same for SNMP LEAF objects to be prepared once gensnmptree will auto-generate enums for those too. Add an abort() after the switch() instead of the 'default:' to catch any errors. The nice side effect is that the compiler will correctly track supposed to be 'uninitialized' variables with that. When trying to set a value sanity check it before calling the OS dependent API of snmp_bridge to tell whether it is an attempt to set a bad value or a general error. Suggested by: harti (first part) Approved by: bz (mentor) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-15T20:49:44.000000Z K 7 svn:log V 28 Vendor import of BIND 9.3.3 END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-15T20:49:44.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r165254, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-12-15T20:49:45.000000Z K 7 svn:log V 67 This commit was manufactured by cvs2svn to create tag 'BIND_9_3_3'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-12-15T20:49:46.000000Z K 7 svn:log V 67 This commit was manufactured by cvs2svn to create tag 'BIND_9_3_4'. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-15T20:59:55.000000Z K 7 svn:log V 73 Merge BIND9 9.3.3 into main chunk. Obtained from: ISC MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-15T21:33:23.000000Z K 7 svn:log V 307 Directly commit a compatibility shim for -current. bus_get_dma_tag(dev) in stable is spelled NULL presently. Until such time as we MFC this functionailty (which may be never), provide this alternate spelling to aide in back-porting -current drivers. When the functionality is merged, this can be retired. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2006-12-15T21:44:49.000000Z K 7 svn:log V 847 Align the interfaces for the various watchdogs and make the interface behave as expected. Also: - Return an error if WD_PASSIVE is passed in to the ioctl as only WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an explanation of the difference between WD_ACTIVE and WD_PASSIVE. - Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've lost your sense of humor, than don't add a define. Specific changes: i80321_wdog.c Don't roll your own passive watchdog tickle as this would defeat the purpose of an active (userland) watchdog tickle. ichwd.c / ipmi.c: WD_ACTIVE means active patting of the watchdog by a userland process, not whether the watchdog is active. See sys/watchdog.h. kern_clock.c: (software watchdog) Remove a check for WD_ACTIVE as this does not make sense here. This reverts r1.181. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-12-15T21:45:32.000000Z K 7 svn:log V 87 "Paralleled" should have been "parceled". Pointed out by: julian Relayed by: rdivacky END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-15T22:31:37.000000Z K 7 svn:log V 108 RELENG_6 (5, 4) change to recognize 6 port NetMos PR: 58953 Submitted by: Milan Obuch Reviewed by: marcel END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2006-12-15T22:47:36.000000Z K 7 svn:log V 186 Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog. That'll require -KILL. This avoids resetting your system on one of the watchdogs that you cannot disable. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-15T23:35:15.000000Z K 7 svn:log V 154 Add a basic man page for the socket(9) kernel programming interface used by the NFS client and server, netsmb, netncp, etc. Reviewed by: ru Fixed by: ru END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T02:37:58.000000Z K 7 svn:log V 287 - Fix some gcc warnings in lock_profile.h - add cnt_hold cnt_lock support for spin mutexes - make sure contested is initialized to zero to only bump contested when appropriate - move initialization function to kern_mutex.c to avoid cyclic dependency between mutex.h and lock_profile.h END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T02:40:19.000000Z K 7 svn:log V 125 don't return directly to copyin and friends when we hit certain types of faults this fixes the unkillable syscall in stress2 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-16T02:41:00.000000Z K 7 svn:log V 124 RELENG_6 (5, 4) change to recognize 6 port NetMos PR: 58953 Submitted by: Milan Obuch Reviewed by: marcel END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T02:41:05.000000Z K 7 svn:log V 102 - make intent behind skip check clearer - protect pmap_ipi with spinlock_enter when resizing tte_hash END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-16T05:54:29.000000Z K 7 svn:log V 171 Implement ISP_RESET0 for PCI and SBUS attachments- isp_reset has been modified to call ISP_RESET0 if it fails to do a reset. This gives us a chance to disable interrupts. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-16T06:03:43.000000Z K 7 svn:log V 164 Consistently use a socklen_t type where required, and eliminate GCC warning "dereferencing type-punned pointer will break strict-aliasing rules". Reviewed by: rrs END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T06:43:24.000000Z K 7 svn:log V 404 - make better use of branch delay slots in exception.S - rename skip_utrap to tl0_skip_utrap to indicate its use by the fill trap fault handler - handle a null kstack by switching to the idle threads stack and then going to trap - correctly handle a unaligned or unmapped stack during a fill trap - save off some extra data in the pcpu pad in ptl1_panic - add an assert that PCB is valid in vm_machdep.c END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T06:54:09.000000Z K 7 svn:log V 159 Add second sleep queue so that sx and lockmgr can have separate sleep queues for shared and exclusive acquisitions Submitted by: Attilio Rao Approved by: jhb END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-16T07:05:54.000000Z K 7 svn:log V 28 MFC the xpt_print function. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-16T07:39:55.000000Z K 7 svn:log V 138 Make some slight reorganization (bringing back in some non-CAM_NEW_TRAN code) to make diffs to previous FreeBSD versions more manageable. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T07:50:39.000000Z K 7 svn:log V 39 correct name of number of sleep queues END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T07:51:33.000000Z K 7 svn:log V 67 - KASSERT takes two arguments - a cast is needed to quiet warnings END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T08:01:13.000000Z K 7 svn:log V 74 change PTL trap type name to assist in tracking down prablems in tl1_trap END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-12-16T08:17:07.000000Z K 7 svn:log V 72 Simplify the computation of the new object's size in vm_object_split(). END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T08:23:14.000000Z K 7 svn:log V 94 tte_hash_resize implicitly expects to be protected from preemption - put under spinlock_enter END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-16T08:38:02.000000Z K 7 svn:log V 198 Protect consistency of all internal functions in tte_hash.c using PCPU_{GET,SET} with critical_enter, critical_exit revert previous change to pmap.c now that tte_hash_resize is protected internally END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-16T09:14:58.000000Z K 7 svn:log V 77 Miscellaneous fixups and quirks for ASUS A7M, LG LW20 and HP NX6325 laptops. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-16T10:32:10.000000Z K 7 svn:log V 143 Reference socket(9) from ng_ksocket(4). Reference ng_ksocket(4), ithread(9), msleep(9), ucred(9) from socket(9). Partly suggested by: julian END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-16T10:45:43.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-16T11:30:54.000000Z K 7 svn:log V 458 For now, back out sysv_ipc.c:1.30, which caused shmget() with odd mode arguments to fail. The mode field for shmget() appears to have undefined meaning in the context of an already-present IPC object, but applications appear to assume any arbitrary passed value will be ignored. I had hoped to revisit this more quickly, but am removing the change for now to prevent toe-stubbing. Reported by: JAroslav Suchanek PR: kern/106078 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-16T12:06:59.000000Z K 7 svn:log V 43 Convert to ANSI-style function prototypes. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-12-16T14:00:54.000000Z K 7 svn:log V 81 Do not special-case __ARMEB__, we handle that in the arm code. Approved by: sos END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-12-16T14:15:31.000000Z K 7 svn:log V 136 In ip6_sprintf print the addresses in a more common/readable format eliminating leading zeros like in :0001 -> :1. Reviewed by: mlaier END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-16T15:44:03.000000Z K 7 svn:log V 146 Add a function vfs_deleteopt() which searches through the vfsoptlist linked list of mount options by name, and deletes the option if it finds it. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-16T15:50:36.000000Z K 7 svn:log V 521 In vfs_export(), if we specify MNT_DELEXPORT in the struct export_args, after we perform the operations to delete the export, call vfs_deleteopt() to delete the "export" mount option from the linked list of mount options associated with that mount point. This fixes one scenario: - put a filesystem in /etc/exports to export it - remove the filesystem from /etc/exports to delete the export and restart mountd - try to do a "mount -u -o ro" or "mount -u -o rw" on that filesystem now that it is no longer exported. END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-16T20:33:26.000000Z K 7 svn:log V 103 Fix NULL pointer reference for INVARIANTS case Submitted by: Yuriy Tsibizov END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-16T21:17:27.000000Z K 7 svn:log V 69 Don't intermix assignments and variable declarations in prev. commit END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T00:14:20.000000Z K 7 svn:log V 323 Cleaner fix for handling declaration of loop variable under INVARIANTS - in trying to avoid nested brackets and #ifdef INVARIANTS around i at the top, I broke booting for INVARIANTS all together :-( - the cleanest fix is to simply assign to sq twice if INVARIANTS is enabled - tested both with and without INVARIANTS :-/ END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T00:16:09.000000Z K 7 svn:log V 63 ktrace_cv is no longer used - remove Submitted by: Attilio Rao END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T01:01:52.000000Z K 7 svn:log V 341 - Remove PCPU references by passing field as a reference to _tte_hash_lookup. - The PCPU usage was to ensure that there were no faults on the stack while the tte_hash_bucket lock was held - but this can be avoided by making sure the address on the stack is already referenced. - PCPU removal obviates the need for critical_{enter, exit} END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T01:22:09.000000Z K 7 svn:log V 82 eliminate extra branches by making better use of branch delay slots and annulling END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T01:22:51.000000Z K 7 svn:log V 44 make unmap_perm_addr conform to declaration END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T01:30:53.000000Z K 7 svn:log V 74 eliminate use of curpmap except where protected by critical_{enter, exit} END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T01:31:56.000000Z K 7 svn:log V 75 replace PCPU_GET(cpuid) with curcpu and PCPU_GET(curthread) with curthread END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T02:04:19.000000Z K 7 svn:log V 25 GC unused fields in pcpu END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T03:17:46.000000Z K 7 svn:log V 138 vm86_initflags was causing gcc41 and even gcc346 to get rather confused - de-obfuscate Suggested by: kan Reviewed by: kan Tested by: kan END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T03:51:12.000000Z K 7 svn:log V 86 remove TRAP_TRACING code that wasn't getting used pc_caller is no longer part of pcpu END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T05:07:01.000000Z K 7 svn:log V 451 Evidently FreeBSD has long relied on the compiler to treat structures passed by value (trap frames) as if they were in fact being passed by reference. For better or worse, this incorrect behaviour is no longer present in gcc 4.1. In this patch I convert all trapframe arguments to be explicitly pass by reference. I also remove vm86_initflags, pushing the very little work that it actually does up into vm86_prepcall. Reviewed by: kan Tested by: kan END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T06:48:40.000000Z K 7 svn:log V 384 Newer versions of gcc don't support treating structures passed by value as if they were really passed by reference. Specifically, the dead stores elimination pass in the GCC 4.1 optimiser breaks the non-compliant behavior on which FreeBSD relied. This change brings FreeBSD up to date by switching trap frames to being explicitly passed by reference. Reviewed by: kan Tested by: kan END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-17T13:23:00.000000Z K 7 svn:log V 125 Add support for Nvidia Nforce MCP04 AC97 controller. PR: kern/106829 Submitted by: Frédéric Petit END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-17T15:19:33.000000Z K 7 svn:log V 150 Add codec id for [1] Realtek ALC888 and [2] Sigmatel STAC9227 Found/Tested by: [1] luigi [2] Jean-Baptiste Quenot END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-17T16:06:45.000000Z K 7 svn:log V 156 Latest updates for Envy24/24HT. Fix various issues with LOR and panic during verbose booting. Submitted by: Konstantin Dimitrov END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-12-17T16:48:26.000000Z K 7 svn:log V 66 Add Realtek ALC888 and Sigmatel STAC9227 to the HARDWARE section. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-17T16:59:19.000000Z K 7 svn:log V 199 Try an experiment with using DMA to load firmware into a 2200- VERIFY CHECKSUM fails. Oh well, but keep a couple of the changes. Avoid overflow in usec counters when waiting for mailbox completion. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-12-17T20:14:43.000000Z K 7 svn:log V 189 Optimize vm_object_split(). Specifically, make the number of iterations equal to the number of physical pages that are renamed to the new object rather than the new object's virtual size. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-17T21:51:44.000000Z K 7 svn:log V 103 Evidently neither GENERIC nor kan's config had isa in it :-0. As Doug Barton says, "embrace the LINT". END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-18T01:38:10.000000Z K 7 svn:log V 321 Don't assume IF_LLADDR returns aligned memory address. Because accessing ID registers in rtl81x9 needs 32bit register access and RL_IDR4/RL_IDR5 registers are reservered registers bzero() is needed before copying ethernet address. This fixes unaligned memory accesses panic in sparc64. PR: kern/106801 MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T02:04:43.000000Z K 7 svn:log V 222 Simplify spill/fill fault handling by updating tl1_trap register usage to conform to that of tl0_trap - the separate code path for unaligned faults was never getting used (and evidently doesn't work), so ifdef out for now END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-18T02:14:26.000000Z K 7 svn:log V 189 Correct the previous change: - If we want mii_phy_add_media() to add 1000baseT media, we need to supply sc->mii_extcapabilities. - Fix formatting when announcing autonegotiation support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-18T02:17:21.000000Z K 7 svn:log V 96 Forced commit to note reserved ID registers in rtl81x9 are RL_IDR6/RL_IDR67 in previous commit. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T02:40:23.000000Z K 7 svn:log V 86 push trap conversion up into tl1_trap to further simplify spill / fill fault handling END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-18T05:36:23.000000Z K 7 svn:log V 44 Use the correct value of __FreeBSD_version. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-12-18T05:40:01.000000Z K 7 svn:log V 443 Use rather than the OS version reported by the kernel to determine which Elf Types are to be handled. Change the M4 templates to wrap an `#if __FreeBSD_version >= NNN'/`#endif' pair around the generated code for each ELF data type, where `NNN' is the OS version where the ELF type was added to the source tree. This change allows cross-builds of old sources on newer FreeBSD systems to work correctly. Problem reported by: ru END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-18T05:42:33.000000Z K 7 svn:log V 13 spelling nit END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-18T05:45:23.000000Z K 7 svn:log V 453 opt_ah.h ends up copied into a kernelcompile directory in some aches as a read-only file. In a number of cases this has led to compiles failing- usually due to some strange NFS drift which thinks that the opt_ah.h in the compile directory is out of date wrt the source it is copied from. When the copy is executed again, it fails because the target is read-only. Oops. Modify the compile hooks avoid this. Discussed with a while back with: Sam Leffler END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-12-18T05:54:50.000000Z K 7 svn:log V 53 Hook acpi gadget driver modules to other acpi archs. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T07:22:25.000000Z K 7 svn:log V 79 add helper function for finding a virtual device node in a machine description END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T07:25:26.000000Z K 7 svn:log V 40 add declaration for new helper function END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T07:26:35.000000Z K 7 svn:log V 21 build new mdesc file END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T07:28:59.000000Z K 7 svn:log V 50 add new large page sizes for use by shared loader END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T07:35:14.000000Z K 7 svn:log V 165 add an interface for passing the entire kernel size up front to the loader so that it can memory can be allocated aligned at the beginning of the desired large page END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-18T07:46:59.000000Z K 7 svn:log V 137 remove unneeded operations in tsb_set_tte_real - the function is only used early in initialization so SMP safeness isn't really an issue END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-18T11:12:00.000000Z K 7 svn:log V 51 For consistency use 'unsigned' instead of 'u_int'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-18T11:25:02.000000Z K 7 svn:log V 272 MFC: sbin/ggate/ggated/ggated.c 1.8,1.9 sbin/ggate/shared/ggate.c 1.7,1.8 sbin/ggate/shared/ggate.h 1.4,1.5 Fix ggated for platforms with 64bit size_t. The DIOCGSECTORSIZE ioctl returns u_int. Reported by: Javier Martín Rueda PR: amd64/91799 END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-18T12:16:17.000000Z K 7 svn:log V 60 MFC rev. 1.4: Fix overflow on 1 TB. Approved by: re (bmah) END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-12-18T14:38:31.000000Z K 7 svn:log V 42 Oops, I forget to add amd64 as ACPI arch. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-18T15:36:31.000000Z K 7 svn:log V 16 Improve markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-18T15:45:01.000000Z K 7 svn:log V 29 Use a standard section name. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-18T16:40:04.000000Z K 7 svn:log V 263 - Remove stale VPD support and its comment and get device name from VPD API. - Do not repeatedly read vendor/device IDs while probing. - Remove redundant bzero(3) for softc. device_get_softc(9) does it for free[1]. Reviewed by: glebius Suggested by: glebius[1] END K 10 svn:author V 6 peadar K 8 svn:date V 27 2006-12-18T17:08:07.000000Z K 7 svn:log V 457 Clean bound and non-bound pthread structures consistently before they become candidates for reuse. Without this fix, some of the state from a thread structure's previous incarnation could interfere with its new one. Specifically, a non-bound thread started as "suspended" (see pthread_attr_setcreatesuspend_np()) might not get scheduled at all when resumed, as the "active" flag would be set spuriously. Reviewed by: deischen@, davidxu@ MFC after: 1 week END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-12-18T18:48:28.000000Z K 7 svn:log V 45 Spell "Kensington Thinking Mouse" correctly. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-12-18T18:57:41.000000Z K 7 svn:log V 48 Remove stall comment. Pointed out by:Ed Maste. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-18T23:50:30.000000Z K 7 svn:log V 72 Add back some CAM_NEW_TRAN code to make backporting to RELENG_6 easier. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-18T23:53:39.000000Z K 7 svn:log V 52 Restore revision 1.126 that got accidentally nuked. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-19T01:17:58.000000Z K 7 svn:log V 126 MFC: 1.91 Ignore SIGPIPE, instead of terminating process. PR: 81230 Submitted by: Dmitrij Tejblum END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-19T01:36:43.000000Z K 7 svn:log V 180 MFC 1.160: Add more mount options to ext2_ops, so that vfs_filteropts() will accept options like "noatime" for ext2fs. PR: 105483 Noticed by: Dr. Markus Waldeck END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-19T01:55:45.000000Z K 7 svn:log V 238 Fix get_ulong() macro on AMD64 (or any little-endian 64-bit platform). This bug caused vn_stat() to fail on files larger than 2gb on msdosfs filesystems on AMD64. PR: 106703 Tested by: Axel Gonzalez MFC after: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-19T02:31:58.000000Z K 7 svn:log V 372 For big-endian version of getulong() macro, cast result to u_int32_t. This macro was written expecting a 32-bit unsigned long, and doesn't work properly on 64-bit systems. This bug caused vn_stat() to return incorrect values for files larger than 2gb on msdosfs filesystems on 64-bit systems. PR: 106703 Submitted by: Axel Gonzalez MFC after: 3 days END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-12-19T08:41:48.000000Z K 7 svn:log V 156 - Fix autonegotiation timer. - Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE defines instead of hardcoded value. - Fix some comments. - style(9) MFC after: 2 month END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-12-19T08:57:46.000000Z K 7 svn:log V 198 - Add missing callout_drain() call. - Synchronize bge_tick() with callout_reset/callout_stop() calls. - Avoid using bge_tick() inside bge_link_upd(), use mii_pollstat() instead. MFC after: 2 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-19T10:34:14.000000Z K 7 svn:log V 65 Refine markup and add the EXIT STATUS section where appropriate. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-19T11:20:34.000000Z K 7 svn:log V 83 The -r option can also cause the files to be extended (not necessarily truncated). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-19T12:52:22.000000Z K 7 svn:log V 158 Use pipe_direct_write() optimization only if the data is in process' memory. This fixes sending data through pipe from the kernel. Fix suggested by: rwatson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-19T13:06:01.000000Z K 7 svn:log V 23 Remove unused sysctls. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-12-19T16:46:13.000000Z K 7 svn:log V 114 Add the tp->t_refcnt validity check back. There are still some race conditions where tp->t_refcnt can go to zero. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2006-12-19T16:46:44.000000Z K 7 svn:log V 211 - Add geography and spanish ports categories - Use "related to" instead of "relating to" consistently [1] Submitted by: Rostislav Krasny [1] Reviewed by: simon MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-19T16:52:09.000000Z K 7 svn:log V 86 Fix distorted sound on Fujitsu Siemens AMILO Pa 1510. Reported/Tested by: infofarmer END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-12-19T17:37:41.000000Z K 7 svn:log V 90 Remove dependency on deprecated if_watchdog ABI. Tested with a Sitecom RT2661 based card. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-12-19T18:26:47.000000Z K 7 svn:log V 85 MFC version 1.6 of each Makfile, fixing man page markup. Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-12-19T18:28:03.000000Z K 7 svn:log V 57 MFC version 1.6 of each Makfile, fixing man page markup. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-19T19:15:44.000000Z K 7 svn:log V 39 MFC rev. 1.50: fix 8.3 capitalization. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-19T19:19:16.000000Z K 7 svn:log V 42 MFC rev. 1.197: X-Micro Flash Disk quirk. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-12-19T20:20:39.000000Z K 7 svn:log V 40 add a missing the... MFC after: 3 days END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-12-19T22:34:32.000000Z K 7 svn:log V 176 Giant might have been temporarily dropped while waiting for proctree_lock, allowing for an intervening tty_close() that cleared tp->t_session. Submitted by: tegge MFC: 1 day END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-19T22:50:49.000000Z K 7 svn:log V 164 Clear full-duplex when half-duplex flag is set. This actually makes 'mediaopt half-duplex' working as it should. It is now equivalent of '-mediaopt full-duplex'. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T00:08:47.000000Z K 7 svn:log V 158 - Do not depend on auto negotiation for link speed/duplex status. - Read link status from BMSR instead of auxilary status register. - Clean up style(9) nits. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T00:34:12.000000Z K 7 svn:log V 62 Use BMSR for link status in one more place and clean up more. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2006-12-20T01:10:21.000000Z K 7 svn:log V 525 Remove bogus increment of re-hashed PTEG index. This snuck in with r1.12 of pmap.c, and is potentially the cause of hangs reported on machines with a small amount of memory. On machines with sufficient RAM, and without a lot of processes running, this situation would probably never occur. Testing is still incomplete, but it is obviously wrong so remove the offending code now. The issue of what to do when both the primary and secondary hash overflow is still open. Reported by: Dan Kresja at windriver dot com, via alc END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-20T01:12:07.000000Z K 7 svn:log V 107 Partially back out rev. 1.148 and use new ETHER_BPF_MTAP() macro for VLAN. Remaining changes are cosmetic. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-20T01:32:59.000000Z K 7 svn:log V 175 MFC: 1.155 (without vfs_mount_error()): - Fix MNT_UPDATE for msdosfs, do not allow "export" requests if MSDOSFS_LARGEFS flag is set. PR: 105412 Approved by: re (bmah) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-20T01:49:56.000000Z K 7 svn:log V 368 Fix a bug originally introduced in rev. 1.74; don't reloaded the watchdog timer in dc_txeof() in case there are still unhandled descriptors as dc_poll() invokes dc_poll() unconditionally. Otherwise this would result in the watchdog timer constantly being being reloaded and thus circumvent that the watchdog ever fires in the DEVICE_POLLING case. Pointed out by: bde END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-20T02:13:59.000000Z K 7 svn:log V 430 - Use the re_tick() callout instead of if_slowtimo() for driving re_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so re(4) works on platforms requiring it. - Remove invalid BUS_DMA_ALLOCNOW when creating the parent DMA tag and the tags that are used for static memory allocations. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Remove an unused variable in re_intr(). END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-12-20T02:49:59.000000Z K 7 svn:log V 127 Back out rev. 1.266. The real cause for the recent panics has been fixed in rev. 1.267 and there is no need to keep this test. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-20T03:05:30.000000Z K 7 svn:log V 103 Redo previous merge from RELENG_6 (rev 1.144.2.7) to fix build. Approved by: re (implicit, fix build) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-20T04:40:39.000000Z K 7 svn:log V 1240 Add a lwpid field into per-cpu structure, the lwpid represents current running thread's id on each cpu. This allow us to add in-kernel adaptive spin for user level mutex. While spinning in user space is possible, without correct thread running state exported from kernel, it hardly can be implemented efficiently without wasting cpu cycles, however exporting thread running state unlikely will be implemented soon as it has to design and stablize interfaces. This implementation is transparent to user space, it can be disabled dynamically. With this change, mutex ping-pong program's performance is improved massively on SMP machine. performance of mysql super-smack select benchmark is increased about 7% on Intel dual dual-core2 Xeon machine, it indicates on systems which have bunch of cpus and system-call overhead is low (athlon64, opteron, and core-2 are known to be fast), the adaptive spin does help performance. Added sysctls: kern.threads.umtx_dflt_spins if the sysctl value is non-zero, a zero umutex.m_spincount will cause the sysctl value to be used a spin cycle count. kern.threads.umtx_max_spins the sysctl sets upper limit of spin cycle count. Tested on: Athlon64 X2 3800+, Dual Xeon 5130 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-20T04:43:34.000000Z K 7 svn:log V 102 Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, use it as a default spin cycle count. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-20T05:05:44.000000Z K 7 svn:log V 79 get LIBPTHREAD_ADAPTIVE_SPIN early, so it can be used for some global mutexes. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T06:20:04.000000Z K 7 svn:log V 375 Allow for module-path being a semicolon-separated list of dirs. This is consistent with kern.module_path sysctl and also compensates for the unconventional syntax of asf(8) where the last of multiple arguments is the output file, which prevents us from using the traditional Unix syntax "foo file ..." to specify multiple module dirs. Submitted by: emaste MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T06:21:51.000000Z K 7 svn:log V 53 Make grammar a bit more consistent in this document. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-20T06:56:25.000000Z K 7 svn:log V 185 Remove -F option from getopts string -- this option has never done anything apart from invoking usage(), and apparently slipped in by accident. Approved by: kientzle MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-12-20T09:22:31.000000Z K 7 svn:log V 317 In rev. 1.514, iodone on async buffer may happen before code checks the vnode v_flag. For cluster buffers this would result in dereferencing NULL b_vp. To prevent the panic, cache relevant vnode flag before calling bstrategy. Reported by: Peter Holm, kris Tested by: Peter Holm Reviewed by: tegge Pointy hat to: kib END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-20T11:14:45.000000Z K 7 svn:log V 1956 Avoid a race and a pessimization in bge_intr(): - moved the synchronizing bus read to after the bus write for the first interrupt ack so that it actually synchronizes everything necessary. We were acking not only the status update that triggered the interrupt together with any status updates that occurred before we got around to the bus write for the ack, but also any status updates that occur after we do the bus write but before the write reaches the device. The corresponding race for the second interrupt ack resulted in sometimes returning from the interrupt handler with acked but unserviced interrupt events. Such events then remain unserviced until further events cause another interrupt or the watchdog times out. The race was often lost on my 5705, apparently since my 5705 has broken event coalescing which causes a status update for almost every packet, so another status update is quite likely to occur while the interrupt handler is running. Watchdog timeouts weren't very noticeable, apparently because bge_txeof() has one of the usual bugs resetting the watchdog. - don't disable device interrupts while bge_intr() is running. Doing this just had the side effects of: - entering a device mode in which different coalescing parameters apply. Different coalescing parameters can be used to either inhibit or enhance the chance of getting another status update while in the interrupt handler. This feature is useless with the current organization of the interrupt handler but might be useful with a taskqueue handler. - giving a race for ack+reenable/return. This cannot be handled by simply rearranging the order of bus accesses like the race for ack+keepenable/entry. It is necessary to sync the ack and then check for new events. - taking longer, especially with the extra code to avoid the race on ack+reenable/return. Reviewed by: ru, gleb, scottl END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-20T11:28:35.000000Z K 7 svn:log V 90 MFC: 1.17: Unbreak column(1) by jumping to the next column instead of always skipping it. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T11:37:15.000000Z K 7 svn:log V 174 Improve rc.d conformance: - don't play a needless trick with prestart, just use start method; - provide no-op stop method so that we don't get bogus "abi not running" error. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T11:43:04.000000Z K 7 svn:log V 43 MFC load_kld(). Prodded by: delphij, emax END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T11:45:40.000000Z K 7 svn:log V 30 MFC rev. 1.9: Use load_kld(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T11:55:16.000000Z K 7 svn:log V 145 MFC rev. 1.65, 1.66: - Avoid ps(1) output truncation to 80 columns. - Eliminate header line(s) from ps(1) output instead of skipping over them. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-20T11:57:22.000000Z K 7 svn:log V 106 Be more accurate in the description of the -I option: signaling to a process doesn't necessarily kill it. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-20T12:03:21.000000Z K 7 svn:log V 298 In bge_txeof(), cancel the watchdog timeout if all descriptors have been handled instead of when at least one descriptor was just handled. For bge, it is normal to get a txeof when only a small fraction of the queued tx descriptors have been handled, so the bug broke the watchdog in a usual case. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T12:04:00.000000Z K 7 svn:log V 64 MFC fixes to comments and messages to reduce diff against HEAD. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T12:23:57.000000Z K 7 svn:log V 167 MFC rev. 1.4: Use more rc.subr(8) features. Skip useless work when ${natd_interface} is unset. Double quote user-supplied vars unless there is a reason not to. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T12:24:32.000000Z K 7 svn:log V 58 MFC rev. 1.13: De-uglify messages from the ipfw script. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T12:29:40.000000Z K 7 svn:log V 504 MFC rev. 1.18: Improve cleartmp in a number of aspects: + Use rc.subr(8) features properly. + Do the whole job of obliterating /tmp contents in find(1). + Leave lost+found and quota.{user,group} in /tmp only if root-owned. + Make the overall structure clearer by first removing the X dirs (perhaps along with the rest of /tmp) and then re-creating them. + Use "find -exec rm -rf {} +" for efficiency: each rm instance gets a chance to kill as much files in /tmp as ARG_MAX permits. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T12:47:50.000000Z K 7 svn:log V 63 MFC rev. 1.80: We should return the name in cp, not printf it. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-20T12:59:50.000000Z K 7 svn:log V 198 Syscons cannot be stopped, so provide a no-op stop method. The default stop method from rc.subr isn't suited for this case and produces a bogus warning: "syscons not running". Suggested by: matteo END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-12-20T14:05:41.000000Z K 7 svn:log V 100 MFC rev. 1.94: Support __start_
and __end_
special symbols. Requested by: grehan END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-20T15:34:01.000000Z K 7 svn:log V 61 Document some details better, making it easier to translate. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-20T16:57:13.000000Z K 7 svn:log V 18 Markup cosmetics. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-20T17:10:53.000000Z K 7 svn:log V 356 On amd64 platform, use linux32 headers so 32-bit Linux applications would be able to work with aac(4). This approach is used by some other drivers as well. However, we need a more generic way to do this in order to avoid having to special case headers in individual drivers for each platform. Obtained from: Adaptec (version b11518) Approved by: scottl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-20T17:21:54.000000Z K 7 svn:log V 295 MFC: sbin/ggate/ggated/ggated.c 1.8,1.9 sbin/ggate/shared/ggate.c 1.7,1.8 sbin/ggate/shared/ggate.h 1.4,1.5 Fix ggated for platforms with 64bit size_t. The DIOCGSECTORSIZE ioctl returns u_int. Reported by: Javier Martín Rueda PR: amd64/91799 Approved by: re (bmah) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T17:47:54.000000Z K 7 svn:log V 34 MFp4: bwct is a new board choice. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T17:50:02.000000Z K 7 svn:log V 130 MFp4: Delay a second or two after the upload before printing Done. Add an automatic reset for remote operational luvin' goodness. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T18:16:49.000000Z K 7 svn:log V 78 MFp4: bwct boot rom is different. need a more generic way to cope long term. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-20T18:18:24.000000Z K 7 svn:log V 42 MFp4: bwct memory size and PLL parameters END