ƒµ>153375 164 1473 142 746 337 142 152 136 226 323 196 185 1186 222 112 165 114 98 109 190 170 686 1125 222 134 122 128 525 151 188 262 139 380 158 254 1856 229 149 150 170 147 197 173 447 134 350 178 163 124 200 121 104 111 269 508 363 243 197 140 136 248 170 161 1063 193 289 477 274 159 385 153 317 185 1228 464 146 176 139 134 230 277 258 182 150 253 143 143 195 195 338 197 233 198 551 248 316 141 191 332 213 183 274 123 187 180 2699 316 185 260 214 308 844 1785 165 141 218 468 555 791 390 334 112 114 122 173 284 196 450 1231 143 495 302 139 144 203 231 186 180 380 223 271 407 352 2620 214 446 961 142 158 282 161 166 245 268 230 103 186 239 210 249 219 672 431 706 353 K 10 svn:author V 3 phk K 8 svn:date V 27 2005-12-13T13:23:27.000000Z K 7 svn:log V 1379 /* You're not supposed to hit this problem */ For some denormalized long double values, a bug in __hldtoa() (called from *printf()'s %A format) results in a base 16 digit being rounded up from 0xf to 0x10. When this digit is subsequently converted to string format, an index of 10 reaches past the end of the uppper-case hex/char array, picking up whatever the code segment happen to contain at that address. This mostly seem to be some character from the upper half of the byte range. When using the %a format instead of %A, the first character past the end of the lowercase hex/char table happens to be index 0 in the uppercase hex/char table hextable and therefore the string representation features a '0', which is supposedly correct. This leads me to belive that the proper fix _may_ be as simple as masking all but the lower four bits off after incrementing a hex-digit in libc/gdtoa/_hdtoa.c:roundup(). I worry however that the upper bit in 0x10 indicates a carry not carried. Until das@ or bde@ finds time to visit this issue, extend the hexdigit arrays with a 17th index containing '?' so that we get a invalid but consistent and printable output in both %a and %A formats whenever this bug strikes. This unmasks the bug in the %a format therefore solving the real issue may both become easier and more urgent. Possibly related to: PR 85080 With help by: bde@ END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-13T13:43:35.000000Z K 7 svn:log V 46 Sort .Xr by section number. Submitted by: ru END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-13T15:09:40.000000Z K 7 svn:log V 653 Don't check the CPUID_APIC bit in the cpu_features flags field to determine if the boot CPU has a local APIC because some BIOS vendors are not competent enough to set this bit. Instead, just assume that we always have a local APIC on amd64. For i386 the check is a bit more subtle. FreeBSD requires either an MP Table or an ACPI MADT table to enumerate APICs. The only systems that have one of those tables that don't have local APICs are some presumably rare (and old) SMP 486 systems using external APICs. Thus, instead of checking the CPUID_APIC flag, check the CPU class and abort if we are running on a 486. MFC after: 1 week Reported by: bz END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-12-13T15:32:52.000000Z K 7 svn:log V 240 In Linux, kernel parameters passed to ioctl are by value, while in FreeBSD they are passed by reference. Handle the difference within the linux_ioctl_termio on the LINUX_TCFLSH path. Submitted by: Jaroslav Drzik END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-13T16:47:33.000000Z K 7 svn:log V 50 MFC: Slam the door more forcefully on mixed mode. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-13T17:07:52.000000Z K 7 svn:log V 61 [mdoc] add missing space before a punctuation type argument. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-13T17:51:56.000000Z K 7 svn:log V 44 Print user, system and real time upon exit. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-12-13T18:22:00.000000Z K 7 svn:log V 133 Fixed some especially horrible style bugs (indentation that is neither KNF nor fdlibmNF combined with multiple statements per line). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-13T18:29:10.000000Z K 7 svn:log V 230 Revert previous commit. The BIOS braindamage is even worse than I originally thought. The BIOS that cleared CPUID_APIC actually managed to disable the local APIC entirely and even Windows 64 doesn't boot on it. Reported by: bz END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-12-13T19:08:55.000000Z K 7 svn:log V 101 MFamd64 rev 1.223: Use the TSC to implement DELAY() if not marked broken and it has been calibrated. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-12-13T19:59:09.000000Z K 7 svn:log V 93 Assert that the page that is given to vm_page_free_toq() does not have any managed mappings. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-12-13T20:17:23.000000Z K 7 svn:log V 1092 Optimize by not doing excessive conversions for handling the sign bit. This gives an optimization of between 9 and 22% on Athlons (largest for cbrt() on amd64 -- from 205 to 159 cycles). We extracted the sign bit and worked with |x|, and restored the sign bit as the last step. We avoided branches to a fault by using accesses to FP values as bits to clear and restore the sign bit. Avoiding branches is usually good, but the bit access macros are not so good (especially for setting FP values), and here they always caused pipeline stalls on Athlons. Even using branches would be faster except on args that give perfect branch misprediction, since only mispredicted branches cause stalls, but it possible to avoid touching the sign bit in FP values at all (except to preserve it in conversions from bits to FP not related to the sign bit). Do this. The results are identical except in 2 of the 3 unsupported rounding modes, since all the approximations use odd rational functions so they work right on strictly negative values, and the special case of -0 doesn't use an approximation. END K 10 svn:author V 4 rees K 8 svn:date V 27 2005-12-13T21:29:26.000000Z K 7 svn:log V 128 MFC: nfs_socket.c 1.132, nfs_subs.c 1.142, nfsm_subs.h 1.37 fix a problem with XID re-use when a server returns NFSERR_JUKEBOX. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-13T21:34:55.000000Z K 7 svn:log V 20 MFC: athctrl script END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-13T22:09:50.000000Z K 7 svn:log V 73 Add a script that converts K&R-style function definitions to ANSI style. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-13T22:12:16.000000Z K 7 svn:log V 22 fix include pathnames END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-13T22:13:41.000000Z K 7 svn:log V 7 update END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-13T22:15:09.000000Z K 7 svn:log V 17 fix include path END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-13T22:21:46.000000Z K 7 svn:log V 98 Add a -c option to control caddr_t replacement (which was commented out in the previous revision) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-12-13T22:42:02.000000Z K 7 svn:log V 74 Hide DDB-specific functions inside check for #ifdef DDB. Noticed by: des END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-13T23:14:35.000000Z K 7 svn:log V 593 Add a new 'show lock' command to ddb. If the argument has a valid lock class, then it displays various information about the lock and calls a new function pointer in lock_class (lc_ddb_show) to dump class-specific information about the lock as well (such as the owner of a mutex or xlock'ed sx lock). This is easier than staring at hex dumps of locks to figure out who owns the lock, etc. Note that extending lock_class doesn't affect the ABI for any kernel modules as the only code that deals with lock_class structures directly is kern_mutex.c, kern_sx.c, and witness. MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-12-14T00:03:41.000000Z K 7 svn:log V 1028 Fix the Tigon I/II driver to support 64-bit DMA. In the process, convert it to use busdma. Unlike most of the other drivers, but similar to the if_em driver, pre-allocate the dmamaps at init time instead of allocating them on the fly when descriptors need to be filled. This isn't ideal right now because a map is allocated for every descriptor slot in the tx, rx, mini, and jumbo rings (which is a lot!) in order to simplify the bookkeeping, even though the driver might support filling only a subset of those slots. Luckily, maps are typically NULL on i386 and amd64, so the cost isn't very high. It could be an issue with sparc64, but the driver isn't endian clean either, and that is a much bigger problem to solve first. Note that jumbo frame support is under-tested, and I'm not even sure if it till really works correctly given the evil VM magic that is does. The changes here attempt to preserve the existing semanitcs. Thanks to Martin Nillson for contributing the Netgear card for this work. MFC-After: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-14T00:15:11.000000Z K 7 svn:log V 129 Nuke vnodeop_desc.vdesc_transports, which has been unused since the dawn of time (or the inception of ncvs, whichever came last) END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-12-14T00:46:23.000000Z K 7 svn:log V 39 MFC r1.28: Add support for the i855GM. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-12-14T00:47:25.000000Z K 7 svn:log V 27 MFC i915 GMCH AGP support. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-14T00:49:52.000000Z K 7 svn:log V 36 Eradicate caddr_t from the VFS API. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-12-14T00:52:59.000000Z K 7 svn:log V 429 MFC DRM. Notable changes: - i915 (i830-i915) driver ported. - S3 Savage driver ported. - Added support for ATI_fragment_shader registers for r200. - Improved r300 support, needed for latest r300 DRI driver. - (possibly) r300 PCIE support, needs X.Org server from CVS. - Added support for PCI Matrox cards. - Software fallbacks fixed for Rage 128, which used to render badly or hang. - Some issues reported by WITNESS are fixed. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-14T01:14:22.000000Z K 7 svn:log V 59 allow setting the bssid in any mode Obtained from: netbsd END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-14T01:16:22.000000Z K 7 svn:log V 96 when creating an ahdemo bss use any requested bssid; otherwise use zero Obtained from: madwifi END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-14T01:18:36.000000Z K 7 svn:log V 169 When creating neighbor entries for an ahdemo bss apply the local settings. In particular this allows us to use QoS frames in a bss and in turn enables disabling ack's. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-14T01:22:26.000000Z K 7 svn:log V 47 display a bssid that's zero with the -v option END K 10 svn:author V 3 flz K 8 svn:date V 27 2005-12-14T01:27:45.000000Z K 7 svn:log V 287 MFC: USB Quirk for iPods (should work with some other devices). usb_quirks.c: 1.43 usb_quirks.h: 1.19 usb_subr.c: 1.78 usbdevs: 1.236 While this might not be the best solution, this has been considered good enough to be MFC'ed. Approved by: ssouhlal Discussed on: src-committers@ END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-14T01:59:11.000000Z K 7 svn:log V 62 Style fixs, add missing word 'signal'. Reviewed by: deischen END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-12-14T02:52:13.000000Z K 7 svn:log V 157 Add support for creating span ports so that one can snoop bridged traffic from another interface/machine/network. Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-12-14T03:26:49.000000Z K 7 svn:log V 1759 Mega update to the LSI MegaRAID driver: 1. Implement a large set of ioctl shims so that the Linux management apps from LSI will work. This includes infrastructure to support adding, deleting and rescanning arrays at runtime. This is based on work from Doug Ambrosko, heavily augmented by LSI and Yahoo. 2. Implement full 64-bit DMA support. Systems with more than 4GB of RAM can now operate without the cost of bounce buffers. Cards that cannot do 64-bit DMA will automatically revert to using bounce buffers. This option can be forced off by setting the 'hw.amr.force_sg32" tunable in the loader. It should only be turned off for debugging purposes. This work was sponsored by Yahoo. 3. Streamline the command delivery and interrupt handler paths after much discussion with Dell and LSI. The logic now closely matches the intended design, making it both more robust and much faster. Certain i/o failures under heavy load should be fixed with this. 4. Optimize the locking. In the interrupt handler, the card can be checked for completed commands without any locks held, due to the handler being implicitely serialized and there being no need to look at any shared data. Only grab the lock to return the command structure to the free pool. A small optimization can still be made to collect all of the completions together and then free them together under a single lock. Items 3 and 4 significantly increase the performance of the driver. On an LSI 320-2X card, transactions per second went from 13,000 to 31,000 in my testing with these changes. However, these changes are still fairly experimental and shouldn't be merged to 6.x until there is more testing. Thanks to Doug Ambrosko, LSI, Dell, and Yahoo for contributing towards this. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-12-14T06:33:18.000000Z K 7 svn:log V 134 o Correct usage(): delete command takes as argument array not channel. PR: bin/90353 Submitted by: Gavin Atkinson MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-14T09:10:13.000000Z K 7 svn:log V 57 MFC: (1.77) ignore HTTP_PROXY if it is defined but empty END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-14T09:13:46.000000Z K 7 svn:log V 58 MFC: (1.25, 1.26) whitespace cleanup, parser improvements END K 10 svn:author V 3 des K 8 svn:date V 27 2005-12-14T09:20:30.000000Z K 7 svn:log V 78 MFC: implement the full range of ISO9660 number conversion routines in iso.h. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-12-14T12:11:51.000000Z K 7 svn:log V 55 Correct calculation of RAID0 sizes on VIA RAID arrays. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-12-14T12:13:00.000000Z K 7 svn:log V 104 Add support for VIA VT8251 southbridge. SATA support for now in compat mode, but all 4 channels usable. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-12-14T13:07:49.000000Z K 7 svn:log V 81 Add RAID0+1 and RAID5 support to VIA RAID code. Fix support for multiple arrays. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-12-14T17:26:29.000000Z K 7 svn:log V 352 o Now when SIG_IGN signal action for SIGCHLD reap zombies automatically it is possible wait4(2) returns -1 and sets errno = ECHILD if there were forked children. A user can set such signal handler e.g. via ``trap "" 20'', see a PR for the test case. Deal with this case and mark a job as JOBDONE. PR: bin/90334 Submitted by: bde MFC after: 4 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-12-14T17:33:12.000000Z K 7 svn:log V 40 Fix the name of the country I was born. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-14T17:49:45.000000Z K 7 svn:log V 257 Add support for the nForce2/3/4 SMBus controllers which all contain two SMBus busses. Because of limitations in smbus_if.m, the second smbus is attached to an amdpm1 device that is a child of amdpm0. Submitted by: Artemiev Igor ai (at) bmc dot brk dot ru END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-12-14T19:07:38.000000Z K 7 svn:log V 83 MFC: 1.91 Fix calculation of meminfo's swaptotal and swapfree on at least amd64. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-14T19:32:53.000000Z K 7 svn:log V 71 make packet bursting configurable (default to on if device is capable) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-12-14T19:44:39.000000Z K 7 svn:log V 32 add control for packet bursting END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-12-14T19:50:55.000000Z K 7 svn:log V 105 Spelling fixes and minor nit. PR: doc/9035 Submitted by: Gavin Atkinson END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-12-14T21:10:59.000000Z K 7 svn:log V 24 Add Via VT8251 support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-14T21:42:12.000000Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-14T21:47:02.000000Z K 7 svn:log V 19 Fix stale comment. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-12-14T22:27:48.000000Z K 7 svn:log V 176 Fix a bunch of SYSCTL_INT() that should have been SYSCTL_ULONG() to match the type of the variable they are exporting. Spotted by: Thomas Hurst MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2005-12-14T23:34:26.000000Z K 7 svn:log V 412 When using m_dup(9) to copy more than MHLEN bytes of data, don't create an mbuf chain that starts with a cluster containing just MHLEN bytes. This happened because m_dup called m_get or m_getcl depending on the amount of data to copy, but then always set the size available in the first mbuf to MHLEN. Submitted by: Matt Koivisto Approved by: jmg Silence from: rwatson (mentor) END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-12-15T00:36:00.000000Z K 7 svn:log V 266 MFC 1.92: rorder the calling of the completion callback and the transfer "done" method for non-repeat transfers to avoid problems if the transfer gets recycled by the callback. In particular this fixes page faults seen when using OHCI controllers with ucom devices. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-12-15T01:04:51.000000Z K 7 svn:log V 146 Remove usbd(8) and all references to it. It is no longer necessary since devd(8) now provides the same functionality. Submitted by: Anish Mistry END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-15T01:10:10.000000Z K 7 svn:log V 102 MFC 1.37, run this script after mountcritremote to handle cases where /tmp is on a remote filesystem. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-15T01:13:39.000000Z K 7 svn:log V 46 MFC 1.6, REQUIRE cleanvar, instead of BEFORE. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-12-15T01:14:35.000000Z K 7 svn:log V 40 Remove one more reference to usbd.conf. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-12-15T02:13:15.000000Z K 7 svn:log V 152 MFC rev 1.258 remove removable_interfaces example. It's been dead since 6.0-RELEASE, but I forgot to MFC this. Reminded by: dougb Pointy hat: brooks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-12-15T03:50:03.000000Z K 7 svn:log V 74 Extend utility to allow recovering single file from the deffective media. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-12-15T04:03:05.000000Z K 7 svn:log V 65 MFC: add new option q to surpress any output in the normal case. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-12-15T05:48:49.000000Z K 7 svn:log V 966 Add bge(4) support for big-endian architectures(part 1/2). - Give up endianess support and switch to native-endian format for accessing hardware structures. In fact embedded processor for BCM57xx is big-endian architure(MIPS) and it requires native-endian format for NIC structures.The NIC performs necessary byte/word swapping depending on programmed endian type. - With above changes all htole16/htole32 calls were gone. - Remove bge_vhandle member in softc and changed to use explicit register access. This may add additional performance penalty that than that of previous memory access. But most of the access is performed on initialization phase(e.g. RCB setup), it would be negligible. Due to incorrect use of bus_dma(9) in bge(4) it still panics sparc64 system in device detach path. The issue would be fixed in next patch. Reviewed by: jkim (initial version) Silence from: ps Tested by: glebius Obtained from: NetBSD via OpenBSD END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T06:31:43.000000Z K 7 svn:log V 97 MFC revision 1.3: Add functions pthread_mutexattr_setpshared and pthread_mutexattr_getpshared. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T06:36:57.000000Z K 7 svn:log V 192 MFC: thr_exit.c: Revision 1.19 Fix code for user stack recycling. thr_join.c: Revision 1.18 Fix code for user stack recycling. Revision 1.17 Add function pthread_timedjoin_np. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T06:43:18.000000Z K 7 svn:log V 380 MFC Revision 1.8: Put pthread_condattr_init sorted order. Revision 1.7: Export following functions: _pthread_mutexattr_getpshared _pthread_mutexattr_setpshared pthread_condattr_getpshared pthread_condattr_setpshared pthread_mutexattr_getpshared pthread_mutexattr_setpshared Revision 1.6: Sort function names. Revision 1.5: Add function pthread_timedjoin_np. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T06:50:39.000000Z K 7 svn:log V 177 MFC revision 1.40: Add prototype for following functions: pthread_condattr_getpshared pthread_condattr_setpshared pthread_mutexattr_getpshared pthread_mutexattr_setpshared END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T07:22:24.000000Z K 7 svn:log V 63 MFC: Add file thr_mattr_pshared.c and thr_condattr_pshared.c. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T07:25:00.000000Z K 7 svn:log V 288 MFC Revision 1.16: Export following functions: _pthread_condattr_getpshared _pthread_condattr_setpshared _pthread_mutexattr_getpshared _pthread_mutexattr_setpshared pthread_condattr_getpshared pthread_condattr_setpshared pthread_mutexattr_getpshared pthread_mutexattr_setpshared END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-15T07:28:19.000000Z K 7 svn:log V 57 MFC revision 1.35: Remove unused _get_curthread() call. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-12-15T09:45:53.000000Z K 7 svn:log V 220 o Rewrite bge_encap() to use bus_dmamap_load_mbuf_sg(9), inlining the callback function bge_dma_map_tx_desc() into the bge_encap() itself. o If busdma returns EFBIG, try to m_defrag() the packet. Reviewed by: yongari END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-12-15T13:30:23.000000Z K 7 svn:log V 93 Add support for writing VIA metadata. Null out the metadata on disks when array is deleted. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-12-15T16:23:22.000000Z K 7 svn:log V 1134 Added comments about the apparently-magic rational function used in the second step of approximating cbrt(x). It turns out to be neither very magic not nor very good. It is just the (2,2) Pade approximation to 1/cbrt(r) at r = 1, arranged in a strange way to use fewer operations at a cost of replacing 4 multiplications by 1 division, which is an especially bad tradeoff on machines where some of the multiplications can be done in parallel. A Remez rational approximation would give at least 2 more bits of accuracy, but the (2,2) Pade approximation already gives 6 more bits than needed. (Changed the comment which essentially says that it gives 3 more bits.) Lower order Pade approximations are not quite accurate enough for double precision but are plenty for float precision. A lower order Remez rational approximation might be enough for double precision too. However, rational approximations inherently require an extra division, and polynomial approximations work well for 1/cbrt(r) at r = 1, so I plan to switch to using the latter. There are some technical complications that tend to cost a division in another way. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-15T16:30:41.000000Z K 7 svn:log V 371 Remove linux_mib_destroy() (which I actually added in between 5.0 and 5.1) which existed to cleanup the linux_osname mutex. Now that MTX_SYSINIT() has grown a SYSUNINIT to destroy mutexes on unload, the extra destroy here was redundant and resulted in panics in debug kernels. MFC after: 1 week Reported by: Goran Gajic ggajic at afrodita dot rcub dot bg dot ac dot yu END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-15T16:46:02.000000Z K 7 svn:log V 51 MFC: rev 1.7: depends on syslogd due to logger(1). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-15T16:47:06.000000Z K 7 svn:log V 81 MFC: rev 1.8: depends having awk(1) and it needs syslogd due to using logger(1). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-15T16:49:19.000000Z K 7 svn:log V 44 MFC: rev 1.254: minor comment re-alignment. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-12-15T17:02:11.000000Z K 7 svn:log V 37 VIA Tech V-RAID write support added. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-12-15T17:47:15.000000Z K 7 svn:log V 133 Fix problems introduced by the botched MFC. Submitted by: Kostik Belousov Pointy hat to: sobomax END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-12-15T18:10:37.000000Z K 7 svn:log V 182 MFC rev. 1.134: fix for a bug where NFS/TCP would not reconnect (in the case where the server FIN'ed). PR: kern/88833 Requested by: Roman V. Palagin Approved by: Mohan Strinivasan END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-15T18:29:01.000000Z K 7 svn:log V 165 Install nextboot in /rescue as /rescue/nextboot rather than /rescue/nextboot.sh to match the name in /sbin (/sbin/nextboot). Reviewed by: gtetlow MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-15T18:57:11.000000Z K 7 svn:log V 88 Diff reduction to HEAD, MFC 1.7 which removes a needless FILEMODE line Approved by: ru END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-15T18:59:21.000000Z K 7 svn:log V 56 MFC 1.11, update of flags to mount for switching to RW. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-12-15T19:34:39.000000Z K 7 svn:log V 156 It is not safe to use m_copypacket() here as the returned mbuf is readonly, change to m_dup and keep the alignment on the layer3 header. MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-12-15T20:25:41.000000Z K 7 svn:log V 50 Make the SYNOPSIS section a bit more informative. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-12-15T21:02:16.000000Z K 7 svn:log V 50 Make the SYNOPSIS section a bit more informative. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-15T21:57:32.000000Z K 7 svn:log V 102 Use %t (ptrdiff_t modifier) to print a couple of pointer differences rather than casting them to int. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-15T22:12:27.000000Z K 7 svn:log V 102 Use uintmax_t and %j to print bus dma segment members rather than casting to long long and using %ll. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-12-15T23:30:12.000000Z K 7 svn:log V 245 MFC: Move setkey(8) from usr.sbin/ to sbin/ and make rc.d/ipsec to run before rc.d/mountcritremote, so it is possible to mount /usr/ over IPsec. Discussed on: arch@ Suggested by: Tomasz Pi³at Prodded by: dougb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-12-15T23:32:35.000000Z K 7 svn:log V 104 MFC: etc/rc.d/geli 1.3 Simplify the code a bit by using '-q' option for kldstat(8). Prodded by: dougb END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-16T01:19:21.000000Z K 7 svn:log V 138 Diff reduction to HEAD. MFC 1.253 - Mention special behaviour of init(8) when kern_securelevel="0" MFC 1.265 - Add a devd_flags variable END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-16T01:42:54.000000Z K 7 svn:log V 103 Diff reduction to HEAD: MFC yar's cleanup of command=*/foo -> command=*/${name}, and related changes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-16T02:50:53.000000Z K 7 svn:log V 454 With current pthread implementations, a mutex initialization will allocate a memory block. sscanf calls __svfscanf which in turn calls fread, fread triggers mutex initialization but the mutex is not destroyed in sscanf, this leads to memory leak. To avoid the memory leak and performance issue, we create a none MT-safe version of fread: __fread, and instead let __svfscanf call __fread. PR: threads/90392 Patch submitted by: dhartmei MFC after: 7 days END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-12-16T03:26:37.000000Z K 7 svn:log V 155 MFC r1.252: date: 2005/12/12 14:30:13; author: mux; state: Exp; lines: +1 -0 Add the device ID of fxp(4) NICs found in Sony Vaio VGN-TX1XP laptops. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-12-16T05:57:18.000000Z K 7 svn:log V 220 Don peril sensitive sunglasses and jack up the MAX_BPAGES limit to 8192 on amd64. If you're going to stuff >4GB into your box, reserving 32MB for bonce pages amounts to a rounding error in the overall scheme of things. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-12-16T06:02:44.000000Z K 7 svn:log V 46 Fix compiling on platforms with 64bit time_t. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-12-16T06:11:22.000000Z K 7 svn:log V 96 Make this compile on 64bit systems. It likely isn't correct, but that can be sorted out later. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-12-16T06:50:55.000000Z K 7 svn:log V 240 It seems ciss should ignore overrun and underrun on a SCSI INQUIRY command. This fixes some weird booting issues on newer versions of the firmware on the MSA20. Reported by: Philippe Pegon END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-12-16T08:12:13.000000Z K 7 svn:log V 120 Cleanup the strings for printing chipset names, saves quite some space. Add a couble new nVidia chips now we are here. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-12-16T08:29:43.000000Z K 7 svn:log V 87 Add jumbo frame support for architectures with strict alignment. Reviewed by: glebius END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-12-16T11:38:18.000000Z K 7 svn:log V 180 Document the pfsync(4) specific maxupd parameter, with text mostly taken from OpenBSD's manpage. PR: docs/89256 Submitted by: Pim van Pelt MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-12-16T13:10:32.000000Z K 7 svn:log V 27 Cleanup __FreeBSD_version. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-16T15:01:16.000000Z K 7 svn:log V 91 Replace selwakeuppri with selwakeup, let scheduler figure out appropriate thread priority. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2005-12-16T15:01:44.000000Z K 7 svn:log V 85 Add descriptions for sysctl -d. Approved by: glebius Silence from: rwatson (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-16T15:03:16.000000Z K 7 svn:log V 2606 Fix PCI ID of the AMD-8111 System Management controller so it matches SMBus 1.0 and not SMBus 2.0. AMD-8111 hub (datasheet is publically available) implements both SMBus 2.0 (a separate PCI device) and SMBus 1.0 (a subfunction of the System Management Controller device with the base I/O address is accessible through the CSR 0x58). This driver only supports AMD-756 SMBus 1.0 compatible devices. With the patched sysutils/xmbmon port (to also fix PCI ID and to enable smb(4) support), I now get: pciconf: none0@pci0:7:2: class=0x0c0500 card=0x746a1022 chip=0x746a1022 rev=0x02 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 SMBus 2.0 Controller' class = serial bus subclass = SMBus amdpm0@pci0:7:3: class=0x068000 card=0x746b1022 chip=0x746b1022 rev=0x05 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-8111 ACPI System Management Controller' class = bridge dmesg: amdpm0: port 0x10e0-0x10ff at device 7.3 on pci0 smbus0: on amdpm0 # mbmon -A -d Summary of Detection: * SMB monitor(s)[ioctl:AMD8111]: ** Winbond Chip W83627HF/THF/THF-A found at slave address: 0x50. ** Analog Dev. Chip ADM1027 found at slave address: 0x5C. * ISA monitor(s): ** Winbond Chip W83627HF/THF/THF-A found. I think the confusion comes from the fact that nobody really tried SMBus with xmbmon :-), since sysutils/xmbmon port doesn't come with SMBus support enabled, neither in FreeBSD 4, nor in later versions, so mbmon(1) was just showing the values from the Winbond sensors accessible through the ISA I/O method (mbmon -I), for me anyway. On my test machine, the amdpm(4) didn't even attach due to I/O port allocation failure (who knows what the hell it read from CSR 0x58 of the SMBus 2.0 device :-), which isn't in the CSR space). I've also checked that lm_sensors.org uses correct PCI ID for SMBus 1.0 of AMD-8111: i2c-amd756.c: {PCI_VENDOR_ID_AMD, 0x746B, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AMD8111 }, This driver is analogous to our amdpm.c which supports SMBus 1.0 AMD-756 and compatible devices, including SMBus 1.0 on AMD-8111. i2c-amd8111.c: { 0x1022, 0x746a, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, This driver is analogous to nForce-2/3/4, i2c-nforce2.c, which supports SMBus 2.0, and which our amdpm.c does NOT support (SMBus 2.0 uses a different, ACPI-unified, API to talk to SMBus). At least I know for sure it doesn't work with my nForce3. :-) (The xmbmon port will be fixed to correct the PCI ID too and to enable the smb(4) support.) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-12-16T17:21:28.000000Z K 7 svn:log V 221 In ndis_rxeof_eth(), avoid acquiring the NDIS miniport block spinlock for serialized miniports when updating the packet list. This fixes a deadlock that can occur with the Ralink RT2500 driver when using wpa_supplicant. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-12-16T17:27:45.000000Z K 7 svn:log V 91 MFC: sync with -current (interrupt handler API fixes, RT2500 deadlock with wpa_supplicant) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-12-16T17:33:47.000000Z K 7 svn:log V 165 Ok, let's try that again. MFC recent changes from -current, this time to the right branch (interrupt handler API fixes, Ralink RT2500 deadlock with wpa_supplicant). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-12-16T17:34:36.000000Z K 7 svn:log V 119 MFC^2: merge recent changes from -current (interrupt handler API cleanup, Ralink RT2500 deadlock with wpa_supplicant). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-12-16T18:32:39.000000Z K 7 svn:log V 211 In pipe_write(): when uiomove() fails, do not spin on it forever. Submitted by: Kostik Belousov on -current@ Message-ID: <20051216151016.GE84442@deviant.zoral.local> MFC After: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-12-16T18:34:14.000000Z K 7 svn:log V 751 Use sf_buf_alloc() instead of vm_map_find() on exec_map to create the ephemeral mappings that are used as the source for three copy operations from kernel space to user space. There are two reasons for making this change: (1) Under heavy load exec_map can fill up causing vm_map_find() to fail. When it fails, the nascent process is aborted (SIGABRT). Whereas, this reimplementation using sf_buf_alloc() sleeps. (2) Although it is possible to sleep on vm_map_find()'s failure until address space becomes available (see kmem_alloc_wait()), using sf_buf_alloc() is faster. Furthermore, the reimplementation uses a CPU private mapping, avoiding a TLB shootdown on multiprocessors. Problem uncovered by: kris@ Reviewed by: tegge@ MFC after: 3 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-12-16T18:56:39.000000Z K 7 svn:log V 1691 Add an extensible version of our *printf(3) implementation to libc on probationary terms: it may go away again if it transpires it is a bad idea. This extensible printf version will only be used if either environment variable USE_XPRINTF is defined or one of the extension functions are called. or the global variable __use_xprintf is set greater than zero. In all other cases our traditional printf implementation will be used. The extensible version is slower than the default printf, mostly because less opportunity for combining I/O operation exists when faced with extensions. The default printf on the other hand is a bad case of spaghetti code. The extension API has a GLIBC compatible part and a FreeBSD version of same. The FreeBSD version exists because the GLIBC version may run afoul of our FILE * locking in multithreaded programs and it even further eliminate the opportunities for combining I/O operations. Include three demo extensions which can be enabled if desired: time (%T), hexdump (%H) and strvis (%V). %T can format time_t (%T), struct timeval (%lT) and struct timespec (%llT) in one of two human readable duration formats: "%.3llT" -> "20349.245" "%#.3llT" -> "5h39m9.245" %H will hexdump a sequence of bytes and takes a pointer and a length argument. The width specifies number of bytes per line. "%4H" -> "65 72 20 65" "%+4H" -> "0000 65 72 20 65" "%#4H" -> "65 72 20 65 |er e|" "%+#4H" -> "0000 65 72 20 65 |er e|" %V will dump a string in strvis format. "%V" -> "Hello\tWor\377ld" (C-style) "%0V" -> "Hello\011Wor\377ld" (octal) "%+V" -> "Hello%09Wor%FFld" (http-style) Tests, comments, bugreports etc are most welcome. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-12-16T19:14:25.000000Z K 7 svn:log V 73 Style: The second argument to vm_map_find() should be NULL instead of 0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-16T22:07:41.000000Z K 7 svn:log V 49 GC some unused frame types. Approved by: grehan END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-16T22:08:32.000000Z K 7 svn:log V 125 Change the addupc_*() functions to use the uintfptr_t type for pc rather than uintptr_t as that is technically more correct. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-16T22:11:52.000000Z K 7 svn:log V 375 - Use uintfptr_t rather than int for the kernel profiling index (though it really should be a fptrdiff_t if we had that) in profclock(). - Don't try to profile kernel pc's that are >= the kernel lowpc to avoid underflows when computing a profiling index. - Use the PC_TO_I() macro to compute the kernel profiling index rather than doing it inline. Discussed with: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-16T22:58:51.000000Z K 7 svn:log V 463 Backout pseudo nForce2/3/4 support. These devices (as well as AMD-8111 SMBus 2.0 controller) are all SMBus 2.0 controllers, and need another implementation of SMBus access methods, while this driver supports AMD-756 SMBus 1.0 controller and clones, including AMD-8111 SMBus 1.0 controller. Tested by: Vladimir Timofeev (0x006410de), mezz (0x008410de), ru (0x00d410de) All of us got the same(!) nonsense when running ``mbmon -S'', repeated every four rows. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-12-17T00:12:20.000000Z K 7 svn:log V 693 Catch up on several MFCs: > revision 1.9 > date: 2005/12/07 22:25:12; author: obrien; state: Exp; lines: +0 -1 > Remove the ports version of bsdiff - it is now in the base system. > > revision 1.8 > date: 2005/12/07 21:41:59; author: obrien; state: Exp; lines: +0 -1 > Remove the ports version of portsnap - it is now in the base system. > > revision 1.7 > date: 2005/11/03 00:23:13; author: kensmith; state: Exp; lines: +1 -6 > It had been noticed disc2 was overflowing earlier but committing the > fix slipped through a crack. Remove the apache and php packages under > the assumption someone installing a Web server has network access and > doesn't *need* the packages on disc2. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-12-17T03:57:10.000000Z K 7 svn:log V 297 Clean up unused or poorly utilized KTR values. Remove KTR_FS, KTR_KGDB, and KTR_IO as they were never used. Remove KTR_CLK since it was only used for hardclock firing and use KTR_INTR there instead. Remove KTR_CRITICAL since it was only used for crit enter/exit and use KTR_CONTENTION instead. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-12-17T06:33:51.000000Z K 7 svn:log V 237 Change from a callback in if_ethersubr to using EVENTHANDLER in order to detach span ports when they disappear. The span port does not have a pointer to the softc so revert r1.31 and bring back the softc linked-list. MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-17T07:09:17.000000Z K 7 svn:log V 17 trim trailing ^I END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-17T09:42:45.000000Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-12-17T10:03:48.000000Z K 7 svn:log V 26 Minor whitespace cleanup. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-12-17T10:12:20.000000Z K 7 svn:log V 77 Use M_ZERO for the bridge_iflist to ensure there are no unexpected suprises. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-12-17T19:40:47.000000Z K 7 svn:log V 191 Correct a long-standing problem in elfN_map_insert(): In order to copy a page to user space, the user space mapping must allow write access. In collaboration with: tegge@ MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-17T23:24:34.000000Z K 7 svn:log V 100 Know the machines FreeBSD runs on. Print the machine value for unknown machines. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-17T23:48:07.000000Z K 7 svn:log V 354 Fix the ELF64_R_TYPE and ELF64_R_INFO macros. The symbol type is an 32-bit entity. Also, don't cast the resulting symbol type value to a datatype smaller than the st_info field type as a quick way to mask off the upper bits as it may cause inconsistent behaviour when the macro is used (without explicit casting) on varargs functions. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-18T00:09:12.000000Z K 7 svn:log V 1134 Get in sync with current ELF definitions. In particular this means: o Remove the unused and non-standard SHT_NUM, PT_COUNT and DT_COUNT. o Add the STV_DEFAULT, STV_INTERNAL, STV_HIDDEN and STV_PROTECTED symbol visibility constants. o Add the ELF32_ST_VISIBILITY and ELF64_ST_VISIBILITY macros to get the symbol visibility from the st_other field. o Add the ELFOSABI_AIX, ELFOSABI_OPENVMS and ELFOSABI_NSK constants. o Add the ET_LOOS, ET_HIOS, ET_LOPROC and ET_HIPROC constants. o Further flesh out the list of machine types. Note that EM_ALPHA remains non-standard. The standard value for EM_ALPHA is given by EM_ALPHA_STD (which is a non-standard name :-) o Add the SHN_LOOS, SHN_HIOS and SHN_XINDEX constants. o Add the SHT_INIT_ARRAY, SHT_FINI_ARRAY, SHT_PREINIT_ARRAY, SHT_GROUP and SHT_SYMTAB_SHNDX constants. o Add the SHF_MERGE, SHF_STRINGS, SHF_INFO_LINK, SHF_LINK_ORDER, SHF_OS_NONCONFORMING, SHF_GROUP and SHF_MASKOS constants. o Add the PF_MASKOS and PF_MASKPROC constants. o Add the STB_LOOS andf STB_HIOS constants. o Add the STT_COMMON, STT_LOOS and STT_HIOS constants. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-18T01:38:26.000000Z K 7 svn:log V 48 Explicitly cast ELF_R_TYPE() to the right type. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-18T04:52:37.000000Z K 7 svn:log V 399 Make our ELF64 type definitions match standards. In particular this means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-12-18T08:07:30.000000Z K 7 svn:log V 207 VFS_LOCK_GIANT and VFS_UNLOCK_GIANT are actually defined in sys/mount.h, so also include sys/mount.h in SYNOPSIS. PR: docs/90541 Submitted by: Wojciech A. Koszek dunstan^freebsd.czest.pl MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-12-18T11:16:31.000000Z K 7 svn:log V 46 Merged from sys/dev/sio/sio.c revision 1.463. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-18T12:09:23.000000Z K 7 svn:log V 53 Fix a markup nit. PR: docs/88848 Prodded by: remko END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-12-18T15:51:31.000000Z K 7 svn:log V 106 MFC 1.70: provide the USB device release number along with other parameters so that devd can match on it. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-12-18T16:50:06.000000Z K 7 svn:log V 136 Precision for AFMT_x24_yE and AFMT_x32_yE should be 24 and 32, respectively. Submitted by: Kazuhito HONDA END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-12-18T18:10:57.000000Z K 7 svn:log V 94 Restore KTR_CRITICAL but conditionally compile it in as KTR_SCHED. Requested by: scottl, jhb END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-12-18T18:11:55.000000Z K 7 svn:log V 88 Remove the KTR for hardclock completely. It seems to not be useful. Requested by: jhb END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-12-18T18:24:27.000000Z K 7 svn:log V 283 - Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in case if memory allocation failed. - Remove fourth argument from VLAN_INPUT_TAG(), that was used incorrectly in almost all drivers. Indicate failure with mbuf value of NULL. In collaboration with: yongari, ru, sam END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-12-18T19:11:56.000000Z K 7 svn:log V 126 Add a knob to suppress logging of attempts to modify permanent ARP entries. Submitted by: Andrew Alcheyev END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-12-18T19:38:43.000000Z K 7 svn:log V 177 Provide some basic documentation explaining what the bpf(4) flags are supposed to mean. Also, add an external references for bpf now that we reference flags from that man page. END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-12-18T19:43:33.000000Z K 7 svn:log V 314 Implement ELF symbol versioning using GNU semantics. This code aims to be compatible with symbol versioning support as implemented by GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Implement dlvsym() function to allow lookups for a specific version of a given symbol. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-12-18T20:26:12.000000Z K 7 svn:log V 255 Since BGE_MBX_TX_HOST_PROD0_LO register is write-only to software, we can cache its value in the softc. Eliminates one PCI register write per call to bge_start(). A 1.8% speedup for UDP_RR test on my old box. Obtained from: NetBSD(jonathan) via delphij END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-12-18T21:46:47.000000Z K 7 svn:log V 2526 Fixed code to match comments and the algorithm: - in preparing for the third approximation, actually make t larger in magnitude than cbrt(x). After chopping, t must be incremented by 2 ulps to make it larger, not 1 ulp since chopping can reduce it by almost 1 ulp and it might already be up to half a different-sized-ulp smaller than cbrt(x). I have not found any cases where this is essential, but the think-time error bound depends on it. The relative smallness of the different-sized-ulp limited the bug. If there are cases where this is essential, then the final error bound would be 5/6+epsilon instead of of 4/6+epsilon ulps (still < 1). - in preparing for the third approximation, round more carefully (but still sloppily to avoid branches) so that the claimed error bound of 0.667 ulps is satisfied in all cases tested for cbrt() and remains satisfied in all cases for cbrtf(). There isn't enough spare precision for very sloppy rounding to work: - in cbrt(), even with the inadequate increment, the actual error was 0.6685 in some cases, and correcting the increment increased this a little. The fix uses sloppy rounding to 25 bits instead of very sloppy rounding to 21 bits, and starts using uint64_t instead of 2 words for bit manipulation so that rounding more bits is not much costly. - in cbrtf(), the 0.667 bound was already satisfied even with the inadequate increment, but change the code to almost match cbrt() anyway. There is not enough spare precision in the Newton approximation to double the inadequate increment without exceeding the 0.667 bound, and no spare precision to avoid this problem as in cbrt(). The fix is to round using an increment of 2 smaller-ulps before chopping so that an increment of 1 ulp is enough. In cbrt(), we essentially do the same, but move the chop point so that the increment of 1 is not needed. Fixed comments to match code: - in cbrt(), the second approximation is good to 25 bits, not quite 26 bits. - in cbrt(), don't claim that the second approximation may be implemented in single precision. Single precision cannot handle the full exponent range without minor but pessimal changes to renormalize, and although single precision is enough, 25 bit precision is now claimed and used. Added comments about some of the magic for the error bound 4/6+epsilon. I still don't understand why it is 4/6+ and not 6/6+ ulps. Indent comments at the right of code more consistently. END K 10 svn:author V 3 flz K 8 svn:date V 27 2005-12-18T22:25:43.000000Z K 7 svn:log V 121 - Add ProductID for the iPod Nano. Reported by: Nathan Kay Approved by: ssouhlal MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-19T00:13:11.000000Z K 7 svn:log V 350 Bump __FreeBSD_version to 700009 because: 1. The ELF-64 typedefs are now standardized, so that the libelf port (devel/libelf) does not need to compensate for not having the Elf64_Xword and Elf64_Sxword types. 2. ELF Symbol versioning support has been added. This also affects the libelf port (though configure should detect this correctly). END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-12-19T00:22:03.000000Z K 7 svn:log V 868 Use a minimax polynomial approximation instead of a Pade rational function approximation for the second step. The polynomial has degree 2 for cbrtf() and 4 for cbrt(). These degrees are minimal for the final accuracy to be essentially the same as before (slightly smaller). Adjust the rounding between steps 2 and 3 to match. Unfortunately, for cbrt(), this breaks the claimed accuracy slightly although incorrect rounding doesn't. Claim less accuracy since its not worth pessimizing the polynomial or relying on exhaustive testing to get insignificantly more accuracy. This saves about 30 cycles on Athlons (mainly by avoiding 2 divisions) so it gives an overall optimization in the 10-25% range (a larger percentage for float precision, especially in 32-bit mode, since other overheads are more dominant for double precision, surprisingly more in 32-bit mode). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-12-19T01:51:17.000000Z K 7 svn:log V 47 Update the date. Forgotten in previous commit. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-12-19T02:55:44.000000Z K 7 svn:log V 63 Rev 1.15 should have incremented the date on this manual page. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-12-19T03:02:54.000000Z K 7 svn:log V 189 - Document another spare flag (0x00000010). - Add a 'XXX' comment about MNT_ACLS and MNT_BYFSID flags collision and explain why it is harmless. - Add a colon after 'XXX' for consistency. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-19T03:15:49.000000Z K 7 svn:log V 66 Note the device filename changes due to sys/dev/rp/rp.c rev 1.70. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-19T03:18:48.000000Z K 7 svn:log V 71 Catch up with device filename changes due to sys/dev/rp/rp.c rev 1.70. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-19T03:20:55.000000Z K 7 svn:log V 148 Clear return code to zero if joiner successfully waited joinee. Bug reported by: jasone at connonware when using ports lang/onyx MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-12-19T03:27:28.000000Z K 7 svn:log V 175 Allow to use TransFlash drive, which can be found in Motorola E398 Mobile Phone. PR: usb/89889 Submitted by: Wojciech A. Koszek MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-12-19T03:33:05.000000Z K 7 svn:log V 134 MFC {devd.8 r1.15,1.16; devd.cc r1.29} "Add a -f configfile option to devd(8), based on a patch submitted by Wojciech A. Koszek." END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-12-19T03:43:48.000000Z K 7 svn:log V 11 Style nit. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-12-19T03:49:15.000000Z K 7 svn:log V 91 Fix a benign typo in case it actually makes a difference to type setters. Noticed by: pjd END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-12-19T05:52:37.000000Z K 7 svn:log V 143 Fixing multi-session disc mount by passing the correct "ssector" option to the kernel. Submitted by: Enache Adrian END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-12-19T06:05:40.000000Z K 7 svn:log V 117 MFp4: Typo fix (without it the XML GEOM tree wasn't consistent). Reported by: Eric Anderson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-19T08:26:09.000000Z K 7 svn:log V 152 Fix a bug in slice calculation code, current code uses hz but sched_clock() is called by state clock. Submitted by: taku at tackymt dot homeip dot net END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-19T08:48:57.000000Z K 7 svn:log V 124 Bring this page of the manual more in line with reality as to how things work currently. Delete a lot of stale references. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-12-19T09:00:11.000000Z K 7 svn:log V 575 Long-long time ago, when the trees were large and memory expensive amount of memory directly available to loader(8) and friends was limited to 640K on i386. Those times have passed long time ago and now loader(8) can directly access up to 4GB of RAM at least theoretically. At the same time, there are several places where it's assumed that malloc() will only allocate memory within first megabyte. Remove that assumption by allocating appropriate bounce buffers for BIOS calls on stack where necessary. This allows using memory above first megabyte for heap if necessary. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-12-19T09:26:42.000000Z K 7 svn:log V 334 If LOADER_BZIP2_SUPPORT is defined allocate heap in the 1MB-4MB range to provide enough room for decompression (up to 2.5MB is necessary). This should be safe to do since we load i386 kernels after 8MB mark now, so that 16MB is the minimum amount of RAM necessary to even boot FreeBSD. This makes bzip2-support practically useable. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-12-19T10:57:00.000000Z K 7 svn:log V 611 Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} brought to light by the PR. Specifically, convert these three scripts into good rc.d citizens, making sure that their functionality is preserved, but the rc.d framework rules are not broken. Add support for cleanvar as a regular rc.d script in the default rc.conf, and document this in the man page. Add a descriptive comment to rc.conf that regarding the three emulation/compatibility services provided by abi so users will not be confused by these services not having their own startup scripts. PR: conf/84574 Submitted by: Alexander Botero-Lowry END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-12-19T10:58:57.000000Z K 7 svn:log V 256 Merge from RELENG_6 of src/sys/nfsclient/nfs_vnops.c rev 1.258.2.1: MFC 1.260 (by ps): Fixed a panic that can happen when nfs_lookup() hits an error. Work done by: Mohan Srinivasan Approved by: re (scottl), so (cperciva) Erratum: FreeBSD-EN-05:04.nfs END