ĵH152187 168 165 701 149 331 433 474 122 162 162 148 163 137 493 166 144 236 230 225 147 126 564 497 423 279 372 151 263 192 604 136 412 120 869 116 169 588 255 932 731 128 133 263 125 1210 607 224 160 260 130 123 166 109 126 350 256 208 126 273 105 166 580 371 225 547 238 168 130 545 151 230 231 166 168 251 253 250 353 277 399 299 278 255 340 132 868 351 128 222 289 202 321 192 138 197 182 150 2646 1074 137 1230 367 325 149 596 149 477 128 127 133 325 121 118 108 108 625 112 142 196 153 342 220 132 321 127 150 161 173 134 516 235 166 131 144 609 230 123 173 130 118 259 142 1886 461 286 179 137 242 421 682 137 116 187 164 138 150 623 227 625 599 309 351 1212 562 590 150 1185 1181 322 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-08T09:53:28.000000Z K 7 svn:log V 69 Fix minor white space nit introduced in 1.102: use spaces, not tabs. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-08T12:05:57.000000Z K 7 svn:log V 604 Rework ARP retransmission algorythm so that ARP requests are retransmitted without suppression, while there is demand for such ARP entry. As before, retransmission is rate limited to one packet per second. Details: - Remove net.link.ether.inet.host_down_time - Do not set/clear RTF_REJECT flag on route, to avoid rt_check() returning error. We will generate error ourselves. - Return EWOULDBLOCK on first arp_maxtries failed requests , and return EHOSTDOWN/EHOSTUNREACH on further requests. - Retransmit ARP request always, independently from return code. Ratelimit to 1 pps. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-08T13:01:29.000000Z K 7 svn:log V 54 There's no need to include here. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T15:33:39.000000Z K 7 svn:log V 238 Fix support for multiple RocketPort cards in the same machine by including the RocketPort unit number in the name of the devices. This means that unit 0 device names will change from ttyR0 .. ttyRf to ttyR00 .. ttyR0f. Reviewed by: phk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T15:35:27.000000Z K 7 svn:log V 340 MFC: Fix support for multiple rocketport cards in the same machine. This is an instant MFC as it was actually tested on 5.x and 6.x. Note that like the change to HEAD, this renames the devices, and there is no easy way on 6.x to create compatibility names in the kernel. Reviewed by: phk Tested by: Jim Pazarena paz at qcislands dot net END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T15:37:21.000000Z K 7 svn:log V 381 MFC (sort of, this is actually written from scratch): Fix support for multiple rocketport cards in the same machine. Unlike 6.x and 7.x, in 5.x the tty drivers create the cdevsw entries themselves, so for 5.x I was able to create compatibility aliases for unit 0 so that the old names will still work for unit 0. Reviewed by: phk Tested by: Jim Pazarena paz at qcislands dot net END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-08T15:42:12.000000Z K 7 svn:log V 30 Mollify the whitespace police END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T15:55:30.000000Z K 7 svn:log V 70 MFC: If the viapm device is a PCI-ISA bridge, attach a child ISA bus. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T15:57:17.000000Z K 7 svn:log V 70 MF6: If the viapm device is a PCI-ISA bridge, attach a child ISA bus. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T15:57:39.000000Z K 7 svn:log V 56 MFC: Add the device ID for the VIA VT8235 south bridge. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T16:00:42.000000Z K 7 svn:log V 71 MFC: Don't panic if a corrupted kld doesn't have a valid symbol table. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T16:02:21.000000Z K 7 svn:log V 45 MFC: Hook nve(4) up in i386 and amd64 NOTES. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T16:05:56.000000Z K 7 svn:log V 400 MFC: - Use if_printf() and device_printf() and remove vr_unit from the softc. I had to initialize the ifnet a bit earlier in attach so that the if_printf()'s in vr_reset() didn't explode with a page fault. - Use M_ZERO with contigmalloc() rather than an explicit bzero. - Use callout_*() to manage the callout and make it MPSAFE. - Fix locking in detach(), we only need to lock across vr_stop(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T16:08:40.000000Z K 7 svn:log V 74 MFC: Push down Giant into fdfree() and remove it from two of the callers. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-08T16:28:19.000000Z K 7 svn:log V 51 MFC: Pickup I/O locks around aac_alloc_sync_fib(). END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-08T16:38:21.000000Z K 7 svn:log V 142 MFC Log: Before we export network interface data through the ifmibdata structure, OR the flags bits with the driver managed status flags. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-11-08T16:45:00.000000Z K 7 svn:log V 134 MFC: rev. 1.79 Fix obvious copy'n'paste-O in rev.1.36 While here nit style. PR: bin/87783 Submitted by: Mats Palmgren END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T17:03:09.000000Z K 7 svn:log V 132 Fix standalone module build for viapm. Note that by default it doesn't include the ISA bus support even though it probably should. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T17:03:55.000000Z K 7 svn:log V 55 MFC: Fix standalone module build. Reported by: marius END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T17:04:19.000000Z K 7 svn:log V 34 MFC: Fix standalone module build. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-08T17:11:03.000000Z K 7 svn:log V 470 Giant clean up for exit(2) -Change unconditional aquisition of Giant to only pickup Giant if the vnode for the controlling tty resides on a non-mpsafe file system. -Pickup Giant around executable vnode reference counting operations only if the executable resides on a non-mpsafe file system. -If this process is being traced, pickup Giant for trace file reference count operations only if it resides on a non-mpsafe file system. Discussed with: jhb Tested by: kris END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-08T17:43:05.000000Z K 7 svn:log V 404 Various and sundry cleanups: - Use curthread for calls to knlist_delete() and add a big comment explaining why as well as appropriate assertions. - Use TAILQ_FOREACH and TAILQ_FOREACH_SAFE instead of handrolling them. - Use fget() family of functions to lookup file objects instead of grovelling around in file descriptor tables. - Destroy the aio_freeproc mutex if we are unloaded. Tested on: i386 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-08T20:08:34.000000Z K 7 svn:log V 326 Move the cloned interface list management in to if_clone. For some drivers the softc lists and associated mutex are now unused so these have been removed. Calling if_clone_detach() will now destroy all the cloned interfaces for the driver and in most cases is all thats needed to unload. Idea by: brooks Reviewed by: brooks END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-11-08T20:48:26.000000Z K 7 svn:log V 184 Introduce 3 new options for pkg_create(1), -x for using basic regular expressions for pkg-name, -E for extended regexps and -G for exact matching. Submitted by: mux MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-08T22:12:26.000000Z K 7 svn:log V 276 The hptmv inherently believes that a 'long' can hold a physical address. This hasn't been true on i386 for at least a decade, probably longer, but I'm too lazy to look up the exact year that PAE support was introduced. Thus, this driver doesn't work on PAE. X-MFC After: now END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-08T22:28:37.000000Z K 7 svn:log V 56 MFC: hptmv is not compatible with PAE. Noticed by: alc END K 10 svn:author V 8 vkashyap K 8 svn:date V 27 2005-11-08T22:51:43.000000Z K 7 svn:log V 165 twa corresponding to the 9.3.0.1 release on the 3ware website. This driver has support for the 9xxxSX controllers, along with the earlier 9xxxS series controllers. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-08T23:28:12.000000Z K 7 svn:log V 96 Make sure pending SIGCHLD is removed from previous parent when process is attached or detached. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-08T23:48:32.000000Z K 7 svn:log V 507 In aio_waitcomplete, do not return EAGAIN if no other threads have started aio, instead, initialize aio management structure if it hasn't been done, the reason to adjust this behavior is to make it a bit friendly for threaded program, consider two threads, one submits aio_write, and another just calls aio_waitcomplete to wait any I/O to be completed and recycle the aio requests, before submitter doing any I/O, the recycler wants to wait in kernel. This also fixes inconsistency with other aio syscalls. END K 10 svn:author V 8 vkashyap K 8 svn:date V 27 2005-11-09T00:23:54.000000Z K 7 svn:log V 39 Added list of supported 9xxxSX models. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-09T02:26:38.000000Z K 7 svn:log V 315 For nmount(), allow a text string error message to be propagated back to user-space if a parameter named "errmsg" is passed into the iovec. Used in conjunction with vfs_mount_error(), more useful error messages than errno can be passed back to userspace when mounting a filesystem fails. Discussed with: phk, pjd END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-09T03:37:52.000000Z K 7 svn:log V 28 Improve diagnostic message. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-09T03:55:40.000000Z K 7 svn:log V 776 Add support for XBOX to the FreeBSD port. The xbox architecture is nearly identical to wintel/ia32, with a couple of tweaks. Since it is so similar to ia32, it is optionally added to a i386 kernel. This port is preliminary, but seems to work well. Further improvements will improve the interaction with syscons(4), port Linux nforce driver and future versions of the xbox. This supports the 64MB and 128MB boxes. You'll need the most recent CVS version of Cromwell (the Linux BIOS for the XBOX) to boot. Rink will be maintaining this port, and is interested in feedback. He's setup a website http://xbox-bsd.nl to report the latest developments. Any silly mistakes are my fault. Submitted by: Rink P.W. Springer rink at stack dot nl and Ed Schouten ed at fxq dot nl END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-09T04:30:55.000000Z K 7 svn:log V 24 Remove obsolete options END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-09T07:28:52.000000Z K 7 svn:log V 77 Clarify panic message, I parsed the old one 'trying to sleep while sleeping' END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-09T07:32:01.000000Z K 7 svn:log V 495 Kick off the suspend sequence from the keyboard in a SWI rather than in the hardware interrupt context (even if it is likely just an ithread). We don't document that suspend/resume routines are run from such a context and some of the things that happen in those routines aren't interrupt safe. Since there's no real need to run from that context, this restores assumptions that suspend routines have made. This fixes Thierry Herbelot's 'Trying to sleep while sleeping is prohibited' problem. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-09T07:58:16.000000Z K 7 svn:log V 158 WIFxxx macros requires an int type but p_xstat is short, convert it to int before using the macros. Bug reported by : Pyun YongHyeon pyunyh at gmail dot com END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-09T08:19:21.000000Z K 7 svn:log V 839 Reimplement the reclamation of PV entries. Specifically, perform reclamation synchronously from get_pv_entry() instead of asynchronously as part of the page daemon. Additionally, limit the reclamation to inactive pages unless allocation from the PV entry zone or reclamation from the inactive queue fails. Previously, reclamation destroyed mappings to both inactive and active pages. get_pv_entry() still, however, wakes up the page daemon when reclamation occurs. The reason being that the page daemon may move some pages from the active queue to the inactive queue, making some new pages available to future reclamations. Print the "reclaiming PV entries" message at most once per minute, but don't stop printing it after the fifth time. This way, we do not give the impression that the problem has gone away. Reviewed by: tegge END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-09T08:43:18.000000Z K 7 svn:log V 634 Make em(4) work on big-endian architectures. - disable jumbo frame support on strict alignment architectures due to the limitation of hardware. The driver needs a fix-up code for RX side. The fix will show up in near future. - fix endian issue for 82544 on PCI-X bus. I couldn't test this as I don't have the NIC/hardware. - prefer PCIR_BAR to hardcoded EM_MMBA. - Properly checks for for 64bit BAR [1] - replace inl/outl with bus_space(9) [1] - fix endian issue on VLAN handling. - reorder header files and remove unnecessary one. Reviewed by: cognet No response from: pdeuskar, tackerman Obtained from: OpenBSD [1] END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-09T08:46:02.000000Z K 7 svn:log V 32 Connect em(4) build on sparc64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-09T08:49:46.000000Z K 7 svn:log V 37 Uncomment em(4) as it's now working. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-09T09:54:33.000000Z K 7 svn:log V 167 Apply r1.103 to correct place. pmap.c on PowerPC is now a combo of mmu_if.m, pmap_dispatch.c and mmu_oea.c (I forgot to delete pmap.c from CVS in last jumbo commit) END K 10 svn:author V 3 pav K 8 svn:date V 27 2005-11-09T10:16:26.000000Z K 7 svn:log V 33 Add new ports-net-im collection. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T10:20:48.000000Z K 7 svn:log V 1112 Merge libmemstat.3:1.7, memstat.c:1.7, memstat.h:1.8, memstat_all.c:1.2, memstat_uma.c:1.10 from HEAD to RELENG_6: Add memstat_kvm_uma(), an implementation of a libmemstat(3) query routine that knows how to extract UMA(9) allocator statistics from a core dump or live memory image using kvm(3). The caller is expected to provide the necessary kvm_t handle, which is then used by libmemstat(3). With these changes, it is trivially straight forward to re-introduce vmstat -z support on core dumps, which was lost when UMA was introduced. In the short term, this requires including vm/ include files that are not intended for extra-kernel use, requiring in turn some ugliness. Merge memstat_uma.c:1.11 from HEAD to RELENG_6: Define LIBMEMSTAT so that vm_page.h won't perform a nested include of opt_vmpage.h. Remove definition of _KERNEL, it is no longer required in order to include uma_int.h, as the sensitive parts of uma_int.h (a number of inlines depending on kernel-only constants) are now protected by _KERNEL. The use of LIBMEMSTAT here will be cleaned up in the future. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T10:22:28.000000Z K 7 svn:log V 510 Merge libmemstat.3:1.8, memstat.h:1.9, memstat_all.c:1.3, memstat_malloc:1.6 from HEAD to RELENG_6: Teach libmemstat(3) how to extract malloc(9) statistics using kvm(3), so that libmemstat can be used to view full memory statistics from kernel core dumps and /dev/mem. This is provided via a new query function, memstat_kvm_malloc(), which is also automatically invoked by memstat_kvm_all(). A kvm handle must be passed in. This will allow malloc(9)-specific code to be removed from vmstat(8). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T10:23:33.000000Z K 7 svn:log V 127 Merge libmemstat.3:1.9 from HEAD to RELENG_6: Document kvm(3)-related error constants, and correct minor formatting nits. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-09T10:28:51.000000Z K 7 svn:log V 65 No longer needed: replaced by mmu_if.m/pmap_dispatch.c/mmu_oea.c END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-09T10:55:37.000000Z K 7 svn:log V 163 MFC 1.61 by ru: Bail if interface is misspelled instead of falling out into the "all interfaces" mode. (Only works with -w, but still better than nothing.) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-09T11:36:07.000000Z K 7 svn:log V 34 MFC ALTQ support for ng_iface(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-09T11:42:01.000000Z K 7 svn:log V 27 MFC polling(4) for bge(4). END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-11-09T11:42:02.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-11-09T12:22:26.000000Z K 7 svn:log V 16 Fix pc98 build. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-11-09T12:26:37.000000Z K 7 svn:log V 33 MFi386: Remove obsolete options. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T13:28:08.000000Z K 7 svn:log V 253 Merge vmstat.c:1.89 from HEAD to RELENG_6: Teach vmstat's domemstat_zone() to use memstat_kvm_uma() when the kvm descriptor is non-NULL, restoring vmstat -z support for core dumps and kmem access. These were broken with the introduction of UMA. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T13:28:50.000000Z K 7 svn:log V 159 Merge vmstat.c:1.90 from HEAD to RELENG_6: Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extracting this information from the core dump. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-09T13:29:16.000000Z K 7 svn:log V 116 Use sparse initializers for "struct domain" and "struct protosw", so they are easier to follow for the human being. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-09T13:34:43.000000Z K 7 svn:log V 35 Make IFP2NG() usable as an lvalue. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-09T15:07:44.000000Z K 7 svn:log V 180 MFC: Get rid of #ifdef for legacy system. Move that into the MD code. Export minimal symbols to allow this to happen. This should make the viapm build happy. Pointy hat to: jhb END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-09T15:12:57.000000Z K 7 svn:log V 14 Align output. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-09T15:15:59.000000Z K 7 svn:log V 74 Use intptr_t casts to convert void * <--> int to make 64-bit archs happy. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-09T15:23:54.000000Z K 7 svn:log V 483 - Introduce two more stat counters, counting number of RX overruns and number of watchdog timeouts. - Do not log(9) RX overrun events, since this pessimizes things under load [1]. - Do not increase if->if_oerrors in em_watchdog(), since this leads to counter slipping back, when if->if_oerrors is recalculated in em_update_stats_counters(). Instead increase watchdog counter in em_watchdog() and take it into account in em_update_stats_counters(). Submitted by: ade [1] END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-09T16:22:56.000000Z K 7 svn:log V 278 General consensus is that it would be even better to run this in a thread context. While it doesn't matter too much at the moment, in the future we could be back in the same boat if/when more restrictions are placed (or enforced) in a SWI. Suggested by: njl, bde, jhb, scottl END K 10 svn:author V 8 jylefort K 8 svn:date V 27 2005-11-09T20:26:00.000000Z K 7 svn:log V 127 Unbreak second joystick (joy1) support. PR: kern/46734 Submitted by: Richard Airlie Approved by: netchild END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T20:54:25.000000Z K 7 svn:log V 450 In closef(), remove the assumption that there is a thread associated with the file descriptor. When a file descriptor is closed as a result of garbage collecting a UNIX domain socket, the file descriptor will not have any associated thread, so the logic to identify advisory locks held by that thread is not appropriate. Check the thread for NULL to avoid this scenario. Expand an existing comment to say a bit more about this. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T21:41:20.000000Z K 7 svn:log V 141 Add unix_passfd, a simple set of regression tests for UNIX domain socket file descriptor passing. These tests are not all currently passed. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-09T22:02:02.000000Z K 7 svn:log V 72 Fix typo in recent comment tweak. Submitted by: jkim MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-09T22:03:10.000000Z K 7 svn:log V 33 MFC: rev. 1.22 Xref polling(4). END K 10 svn:author V 6 dwhite K 8 svn:date V 27 2005-11-09T22:03:50.000000Z K 7 svn:log V 449 This is a workaround for a complicated issue involving VFS cookies and devfs. The PR and patch have the details. The ultimate fix requires architectural changes and clarifications to the VFS API, but this will prevent the system from panicking when someone does "ls /dev" while running in a shell under the linuxulator. This issue affects HEAD and RELENG_6 only. PR: 88249 Submitted by: "Devon H. O'Dell" MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-09T22:05:41.000000Z K 7 svn:log V 54 em(4) works on all archs now, so this can be removed. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-11-10T00:02:32.000000Z K 7 svn:log V 137 Add a -I option to disable the automatic -A flag for the super-user. PR: bin/86710 Submitted by: Marcus Alves Grando MFC after: 3 days END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-11-10T02:22:55.000000Z K 7 svn:log V 136 Implement RtlZeroMemory() and RtlCopyMemory(). This seems to allow the Broadcom Win64 wireless driver for the BCM4318 to work on amd64. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-11-10T02:24:07.000000Z K 7 svn:log V 72 MFC: add RtlZeroMemory() and RtlCopyMemory() for Broadcom amd64 driver. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-11-10T02:26:50.000000Z K 7 svn:log V 74 MFC^2: add RtlZeroMemory() and RtlCopyMemory() for Broadcom amd64 driver. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-10T05:00:20.000000Z K 7 svn:log V 154 Since union wait was removed in revision 1.17 (3 years, 5 months ago), type casting version of macro _W_INT is no longer needed. Discussed with: yongari END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-11-10T06:36:06.000000Z K 7 svn:log V 155 Credit NetBSD as the source for the /rescue concept. While I'm here, update my own email address. Thanks to: Luke Mewburn for pointing out the oversight. END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-11-10T07:28:54.000000Z K 7 svn:log V 157 MFC r1.12: | Update list of controllers ciss(4) driver | actually supports according to implementation. | | Submitted by: Christoph Schug END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-11-10T07:32:35.000000Z K 7 svn:log V 260 MFC r1.11: | There is no need to explicitly add "status" to $extra_commands in | the /etc/rc.d/pf script as it is implicitly added by /etc/rc.subr's | run_rc_command() because of the existing $pf_program. | | Submitted by: Christoph Schug END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-11-10T09:52:56.000000Z K 7 svn:log V 180 MFC 1.111: improve the logic for automatically sizing partitions to take into account the new default of starting the first partition after the boot blocks instead of at sector 0. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T10:03:22.000000Z K 7 svn:log V 304 Add a .mk file for building modules for the SNMP daemon. This may be use in-tree as well as for 3rd party modules. This file is more or less what was in usr.sbin/bsnmpd/modules/Makefile.inc with some modifications and omissions. Usage examples can be found under usr.sbin/bsnmpd/modules/*. Idea by: phk END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T10:09:42.000000Z K 7 svn:log V 204 This is a short man page which describes bsd.snmpmod.mk. It documents only the features that this file layers on top of bsd.lib.mk and should therefore cross-reference to bsd.lib.mk, which doesn't exist. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-11-10T10:11:06.000000Z K 7 svn:log V 181 MFC: revision 1.4 date: 2005/11/01 21:16:39; author: trhodes; state: Exp; lines: +0 -6 Quick kill links to the nsmb(8) manual page, there is no such utility that I can find. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T10:12:01.000000Z K 7 svn:log V 160 Use the canonical include name for snmpmod.h. The build infrastructure takes already care to pick up the correct version of the file depending on how we build. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T10:14:57.000000Z K 7 svn:log V 245 Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointers into the contrib directory are still necessary for some of the Makefiles, because the C-sources there use non-canonical includes ("" includes) to get at the header files. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-11-10T10:29:04.000000Z K 7 svn:log V 40 add set/read max address 48bit versions END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-11-10T10:40:15.000000Z K 7 svn:log V 775 Backout r1.11... > > There is no need to explicitly add "status" to $extra_commands in > > the /etc/rc.d/pf script as it is implicitly added by /etc/rc.subr's > > run_rc_command() because of the existing $pf_program. > > > > Submitted by: Christoph Schug ...because as yar@ points out: "[...] you were relying on evil side-effects of the variable being named *_program. hose side-effect have been eliminated since rc.subr rev. 1.42. [...] The point is that the default "status" method is for rc.d scripts that handle startup and shutdown of conventional daemons, and not for custom tasks like the pf case." The change is still valid in RELENG_6 (and still doesn't have to be backed out) as long as rc.subr:r1.42 is not MFC'ed to RELENG_6, too. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-10T10:42:50.000000Z K 7 svn:log V 254 Add a DDB "show files" command to list the current open file list, some state about each open file, and identify the first process in the process table that references the file. This is helpful in debugging leaks of file descriptors. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-10T11:22:11.000000Z K 7 svn:log V 37 MFC: Canonize the include of acpi.h. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-10T11:35:53.000000Z K 7 svn:log V 125 - Document last change to ARP behavior. - Document several undocumented sysctl variables. - Fix spelling of few diagnostics. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-10T11:35:59.000000Z K 7 svn:log V 192 Expanet of details printed for each file descriptor to include it's garbage collection flags. Reformat generally to make this fit and leave some room for future expansion. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-10T11:44:37.000000Z K 7 svn:log V 105 Give a try to autoconfiguring the number of transmit and receive descriptors depending on chip revision. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T12:07:12.000000Z K 7 svn:log V 226 Don't include bsd.init.mk so early - it's just not needed here. Use . instead of ${.OBJDIR}. Move DEFSDIR and BMIBSDIR under the resp. .if clauses so that they get defined only if DEFS and BMIBS are defined. Submitted by: ru END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T12:08:17.000000Z K 7 svn:log V 98 Remove hard sentence breaks. Correct the width calculation for the list indent. Submitted by: ru END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-10T13:12:06.000000Z K 7 svn:log V 44 s/Three file/Three files/ Submitted by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-10T13:26:29.000000Z K 7 svn:log V 100 Add the f_msgcount field to the set of struct file fields printed in show files. MFC after: 1 week END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-11-10T14:26:50.000000Z K 7 svn:log V 90 Mention the non-standardness of the -I option in ls(1). Spotted by: ru MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-11-10T15:42:51.000000Z K 7 svn:log V 53 Use .Nx macro for NetBSD. Thanks to: Ruslan Ermilov END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-10T16:06:04.000000Z K 7 svn:log V 2548 Correct a number of serious and closely related bugs in the UNIX domain socket file descriptor garbage collection code, which is intended to detect and clear cycles of orphaned file descriptors that are "in-flight" in a socket when that socket is closed before they are received. The algorithm present was both run at poor times (resulting in recursion and reentrance), and also buggy in the presence of parallelism. In order to fix these problems, make the following changes: - When there are in-flight sockets and a UNIX domain socket is destroyed, asynchronously schedule the garbage collector, rather than running it synchronously in the current context. This avoids lock order issues when the garbage collection code reenters the UNIX domain socket code, avoiding lock order reversals, deadlocks, etc. Run the code asynchronously in a task queue. - In the garbage collector, when skipping file descriptors that have entered a closing state (i.e., have f_count == 0), re-test the FDEFER flag, and decrement unp_defer. As file descriptors can now transition to a closed state, while the garbage collector is running, it is no longer the case that unp_defer will remain an accurate count of deferred sockets in the mark portion of the GC algorithm. Otherwise, the garbage collector will loop waiting waiting for unp_defer to reach zero, which it will never do as it is skipping file descriptors that were marked in an earlier pass, but now closed. - Acquire the UNIX domain socket subsystem lock in unp_discard() when modifying the unp_rights counter, or a read/write race is risked with other threads also manipulating the counter. While here: - Remove #if 0'd code regarding acquiring the socket buffer sleep lock in the garbage collector, this is not required as we are able to use the socket buffer receive lock to protect scanning the receive buffer for in-flight file descriptors on the socket buffer. - Annotate that the description of the garbage collector implementation is increasingly inaccurate and needs to be updated. - Add counters of the number of deferred garbage collections and recycled file descriptors. This will be removed and is here temporarily for debugging purposes. With these changes in place, the unp_passfd regression test now appears to be passed consistently on UP and SMP systems for extended runs, whereas before it hung quickly or panicked, depending on which bug was triggered. Reported by: Philip Kizer MFC after: 2 weeks END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-10T17:43:49.000000Z K 7 svn:log V 981 As for __kernel_cosf() and __kernel_sinf(), use a fairly optimal minimax polynomial for __kernel_tanf(). The old one was the double-precision polynomial with coefficients truncated to float. Truncation is not a good way to convert minimax polynomials to lower precision. Optimize for efficiency and use the lowest-degree polynomial that gives a relative error of less than 1 ulp. It has degree 13 instead of 27, and happens to be 2.5 times more accurate (in infinite precision) than the old polynomial (the maximum error is 0.017 ulps instead of 0.041 ulps). Unlike for cosf and sinf, the old accuracy was close to being inadequate -- the polynomial for double precision has a max error of 0.014 ulps and nearly this small an error is needed. The new accuracy is also a bit small, but exhaustive checking shows that even the old accuracy was enough. The increased accuracy reduces the maximum relative error in the final result on amd64 -O1 from 0.9588 ulps to 0.9044 ulps. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-10T18:07:07.000000Z K 7 svn:log V 46 Add missing shared library interdependencies. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-10T19:09:22.000000Z K 7 svn:log V 1135 Start integrating Bluetooth into rc.d system. Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It will be called from devd(8) in response to device arrival/departure events. It is also possible to call it by hand to start/stop particular device without unplugging it. Introduce generic way to set configuration parameters for Bluetooth devices. By default /etc/rc.d/bluetooth script has hardwired defaults compatible with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These can be overridden using /etc/defaults/bluetooth.device.conf file (system wide defaults). Finally, there could be another device specific override file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0 etc.) The list of configuration parameters and their meaning described in the /etc/defaults/bluetooth.device.conf file. Even though Bluetooth device configuration files are not shell scripts, they must follow basic sh(1) syntax. The bluetooth.device.conf(5) and handbook update will follow shortly. Inspired by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, yar MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-10T21:03:58.000000Z K 7 svn:log V 275 Apply the .PHONY attribute to the ../make*/make* targets. This causes them to be recreated (if needed) early, when doing "make depend" here, before generating headers that depend on them. This should fix breakages often seen while doing incremental (NO_CLEAN) cross-builds. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-11-10T22:10:39.000000Z K 7 svn:log V 232 fixed a bug that uRPF does not work properly for an IPv6 packet bound for the sending machine itself (this is a bug introduced due to a change in ip6_input.c:Rev.1.83) Pointed out by: Sean McNeil and J.R.Oldroyd MFC after: 3 days END K 10 svn:author V 3 jon K 8 svn:date V 27 2005-11-10T23:25:16.000000Z K 7 svn:log V 57 fix a crash when an nfsv2 mount fails MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-11T02:06:53.000000Z K 7 svn:log V 500 MFC r1.102 > Finally (!?) get to the bottom of the mysterious G3 boot-time panics. > After a number of tests using nop's to change the alignment, it was > confirmed that the mtibat instructions should be cache-aligned. > FreeScale app note AN2540 indicates that the isync before and after > the mtdbat is the right thing to do, but sync/isync isn't required > before the mtibat so it has been removed. > > Fix by using a ".balign 32" to pull the code in question to the correct > alignment. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T03:13:25.000000Z K 7 svn:log V 53 Add manuals for sigqueue, sigtimedwait, sigwaitinfo. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-11T05:21:08.000000Z K 7 svn:log V 381 MFC locore.S:r.1.22, ofw_machdep.c:1.14 > Copy SPRG0-3 registers at boot-time and restore when calling into > OpenFirmware. FreeBSD/ppc uses SPRG0 as the per-cpu data area pointer, > and SPRG1-3 as temporary registers during exception handling. There > have been a few instances where OpenFirmware does require these to > be part of it's context, such as cd-booting an eMac. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T05:30:48.000000Z K 7 svn:log V 32 Add notes about queued SIGCHLD. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T05:38:40.000000Z K 7 svn:log V 31 Er, highlight function wait(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T05:40:39.000000Z K 7 svn:log V 37 Add descriptions about signal queue. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T07:36:14.000000Z K 7 svn:log V 233 - Make IFP2ENADDR() a pointer to IF_LLADDR() rather than another copy of Ethernet address. - Change iso88025_ifattach() and fddi_ifattach() to accept MAC address as an argument, similar to ether_ifattach(), to make this work. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T07:48:38.000000Z K 7 svn:log V 25 Add POSIX timer manuals. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T07:50:09.000000Z K 7 svn:log V 22 Fix copy-paste issue. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T07:50:51.000000Z K 7 svn:log V 12 Fix plural. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-11-11T08:00:44.000000Z K 7 svn:log V 12 Fix plural. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-11-11T08:08:04.000000Z K 7 svn:log V 530 MFC: create.h:1.26, main.c:1.37, perform.c:1.81, pkg_create.1:1.69 date: 2005/11/08 20:48:26; author: krion; state: Exp; lines: +1 -0 Introduce 3 new options for pkg_create(1), -x for using basic regular expressions for pkg-name, -E for extended regexps and -G for exact matching. These new options are only meaningful when using the -b flag of pkg_create(1), and that the default for the -b parameter is now to do glob matching, as in other pkg_foo utilities that support package patterns. Submitted by: mux END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T08:13:18.000000Z K 7 svn:log V 21 Skip .symbols files. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-11T09:31:23.000000Z K 7 svn:log V 46 Some fixes for last commit. Submitted by: ru END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-11T09:32:27.000000Z K 7 svn:log V 100 Fix compile warning: pmap_bootstrap is now declared extern in pmap.h, remove redundant declaration. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-11T09:36:38.000000Z K 7 svn:log V 58 ata_generic_hw takes a dev as a parameter, not a channel. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T09:57:32.000000Z K 7 svn:log V 250 Add /dev/speaker support to amd64. The following repo-copies were made (by Mark Murray): sys/i386/isa/spkr.c -> sys/dev/speaker/spkr.c sys/i386/include/speaker.h -> sys/dev/speaker/speaker.h share/man/man4/man4.i386/spkr.4 -> share/man/man4/spkr.4 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-11-11T10:48:30.000000Z K 7 svn:log V 127 Add more GEOM classes to defaults/loader.conf. Add references to manual pages to those already present. Reviewed by: brueffer END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-11T11:17:57.000000Z K 7 svn:log V 36 Force this interface to be RUNNING. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-11-11T11:31:23.000000Z K 7 svn:log V 228 Rename GEOM class kernel module g_md.ko to geom_md.ko for consistency with the rest. mdconfig.c: Simplify mdmaybeload() function. mdioctl.h: Removed (now unused) #define. loader.conf: Sort GEOM classes properly. OK'ed by: phk END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-11-11T12:03:28.000000Z K 7 svn:log V 32 Add definitions for 64-bit PTEs END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T12:17:31.000000Z K 7 svn:log V 59 Catch up with IFP2ENADDR() type change (array -> pointer). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T12:32:49.000000Z K 7 svn:log V 70 Use the more appropriate ifnet_byindex() instead of ifaddr_byindex(). END K 10 svn:author V 8 jylefort K 8 svn:date V 27 2005-11-11T12:53:37.000000Z K 7 svn:log V 76 List /boot/device.hints entries for the second joystick. Approved by: joel END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-11T14:52:06.000000Z K 7 svn:log V 38 Only signo should be marked with .Fa. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T16:04:59.000000Z K 7 svn:log V 424 - Store pointer to the link-level address right in "struct ifnet" rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr. - Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-11-11T16:45:33.000000Z K 7 svn:log V 143 Update PCI ids to add the E200, E200i, P400, and P400i storage controllers. Remove the E400 since it is not a real product. Submitted by: HP END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-11-11T16:48:01.000000Z K 7 svn:log V 70 Since speaker.h now lives in sys/dev/speaker, reflect this fact here. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-11-11T17:38:10.000000Z K 7 svn:log V 35 Add dev/speaker into include/ tree END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-11T18:50:45.000000Z K 7 svn:log V 52 MFC: Include the mp_maxid'th CPU in 'show allpcpu'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-11T19:57:41.000000Z K 7 svn:log V 516 Fix a bug in dlinfo(RTLD_DI_SERINFOSIZE) requests. For each search path we included the length of the path in the returned size but not the length of the associated Dl_serpath structure. Without this fix, programs attempting to allocate a structure to hold the search path information would allocate too small of a buffer and rtld would overrun the buffer while filling it via a subsequent RTLD_DI_SERINFO request. Submitted by: "William K. Josephson" wkj at morphisms dot net Reviewed by: jdp MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-11T20:29:50.000000Z K 7 svn:log V 137 Document the -32 switch available on amd64. Submitted by: Steve Kargl sgk at troutmask dot apl dot washington dot edu MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-11T21:05:40.000000Z K 7 svn:log V 32 Traditionally expand tabs here. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-11T21:24:21.000000Z K 7 svn:log V 81 Document -32 flag in usage() output as well. Requested by: ru MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-12T01:19:05.000000Z K 7 svn:log V 34 Insert missing copyright headers. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-12T01:37:03.000000Z K 7 svn:log V 22 add continued status. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-12T03:42:56.000000Z K 7 svn:log V 165 Add section to start/stop Bluetooth USB devices (via ng_ubt(4)) Submitted by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, imp MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-12T04:22:16.000000Z K 7 svn:log V 46 Make sure only remove one signal by debugger. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-12T10:45:13.000000Z K 7 svn:log V 1788 Significant refactoring of the accounting code to improve locking and VFS happiness, as well as correct other bugs: - Replace notion of current and saved accounting credential/vnode with a single credential/vnode and an acct_suspended flag. This simplifies the accounting logic substantially. - Replace acct_mtx with acct_sx, a sleepable lock held exclusively during reconfiguration and space polling, but shared during log entry generation. This avoids holding a mutex over sleepable VFS operations. - Hold the sx lock over the duration of the I/O so that the vnode I/O cannot occur after vnode close, which could occur previously if accounting was disabled as a process exited. - Write the accounting log entry with Giant conditionally acquired based on the file system where the log is stored. Previously, the accounting code relied on the caller acquiring Giant. - Acquire Giant conditionally in the accounting callout based on the file system where the accounting log is stored. Run the callout MPSAFE. - Expose acct_suspended via a read-only sysctl so it is possibly to programmatically determine whether accounting is suspended or not without attempting to parse logs. - Check both acct_vp and acct_suspended lock-free before entering the accounting sx lock in acct(). - When accounting is disabled due to a VBAD vnode (i.e., forceable unmount), generate a log message indicating accounting has been disabled. - Correct a long-standing bug in how free space is calculated and compared to the required space: generate and compare signed results, not unsigned results, or negative free space will cause accounting to not be suspended when required, or worse, incorrectly resumed once negative free space is reached. MFC after: 2 weeks END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-11-12T11:45:01.000000Z K 7 svn:log V 366 Add -P flag, it does the same as the -p option, except that the given prefix is also used recursively for the dependency packages, if any. If the -P flag appears after any -p flag on the command line, it overrides it's effect, causing pkg_add to use the given prefix recursively. PR: bin/75742 Submitted by: Frerich Raabe MFC after: 3 days END K 10 svn:author V 4 grog K 8 svn:date V 27 2005-11-12T12:45:08.000000Z K 7 svn:log V 192 Look through ext2fs file systems as well as ufs. This should almost certainly be extended to other local file systems as well (ntfs springs to mind), but I don't have the ability to test it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-12T14:21:48.000000Z K 7 svn:log V 83 Add "-s" argument to kdump to suppress the display of I/O data. MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-12T14:41:44.000000Z K 7 svn:log V 41 style(9) cleanups. Spotted by: njl, bde END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-11-12T16:00:29.000000Z K 7 svn:log V 144 Fix a stub function so that is has the correct number of arguments. While I'm here, correct a couple of [tab] alignments. Submitted by: bland END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-11-12T17:39:31.000000Z K 7 svn:log V 324 Fix a > 1 year old typo that caused the ulpt driver to try reading from the printer and discarding the data even if the ulpt device was opened for reading. This resulted in crashes because two conconcurrent read transfers were using the same transfer structure. PR: usb/88886 Reported By: Alex Pivovarov MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-12T18:20:09.000000Z K 7 svn:log V 589 As for the float trig functions, use a minimax polynomial that is specialized for float precision. The new polynomial has degree 8 instead of 14, and a maximum error of 2**-34.34 (absolute) instead of 2**-30.66. This doesn't affect the final error significantly; the maximum error was and is about 0.8879 ulps on amd64 -01. The fdlibm expf() is not used on i386's (the "optimized" asm version is used), but probably should be since it was already significantly faster than the asm version on athlons. The asm version has the advantage of being more accurate, so keep using it for now. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-12T18:50:06.000000Z K 7 svn:log V 46 Attempt to fix pc98 GENERIC compile breakage. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-12T19:14:21.000000Z K 7 svn:log V 25 Really fix it this time. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-12T19:28:46.000000Z K 7 svn:log V 96 Don't check DESTDIR when making distributeworld; the latter expects DISTDIR. Reported by: nyan END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-12T19:31:30.000000Z K 7 svn:log V 73 Speed up stale catpages hunting by not running sed(1) for every catpage. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-12T19:54:45.000000Z K 7 svn:log V 46 Improved comments for the minimax polynomial. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-12T19:56:35.000000Z K 7 svn:log V 58 Tweaked the minimax polynomial and improved its comments. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-12T20:02:02.000000Z K 7 svn:log V 527 Make the kern.geom.conftxt sysctl more usable by also dumping the MD class. Previously only the DISK class was dumped. The only consumer of this sysctl is libdisk (i.e. sysinstall) and it tests explicitly for instances of the DISK class. Dumping other classes is therefore harmless. By also dumping the MD class regression tests can be written that use the MD class for operations that would normally be done on the DISK class. The sysctl can now be used to test if those operations took an effect. An example is partitioning. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-12T20:06:04.000000Z K 7 svn:log V 134 Imoproved comments for the minimax polynomial. Removed an unused variable. Fixed some wrong comments and some nearby misformatting. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-12T20:12:56.000000Z K 7 svn:log V 528 - Minor fixes to raise WARNS level to 6. - Teach the mount program to call the nmount() syscall directly - Preserve existing method of calling mount() for UFS, until we clean things up. - Preserve existing method of forking and calling external mount programs for mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, reiserfs, smbfs, udf, umapfs, unionfs - devfs, linprocfs, procfs, ext2fs call nmount() syscall directly, since that is all those external mount programs were doing Reviewed by: phk Discussed on: arch END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-12T20:17:08.000000Z K 7 svn:log V 503 Instead of saving the unit number of the md(4) device name, save the whole name. This does not unnecessarily close the door that in some future we want to test on something other than md(4) devices. Also add a "conf" action so that we can check whether a gctl actually did the right thing or not. It's one thing to check that the result strings are as expected, but it doesn't tell us if the end result is correct. This needs a bit more fleshing out, but for now a visual (i.e. manual) check suffices. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-12T20:55:59.000000Z K 7 svn:log V 215 MFC Log: Convert the primary ACL allocator from malloc(9) to using a UMA zone instead. Also introduce an aclinit function which will be used to create the UMA zone for use by file systems at system start up. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-12T20:58:03.000000Z K 7 svn:log V 257 MFC Log: Un-break processing of device major/minor values with fstat -n. We do this by accessing the cdev_priv element of the cdev structure. Looking forward we need a better way to handle this, as this structure shouldn't be frobbed by userspace. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-12T21:00:00.000000Z K 7 svn:log V 1117 Sync with head: -style(9) nits MFC Log: Fix long standing race condition associated with how lockf uses open(2) for mutual exclusion: A brief description of the problem: 1) Proc A picks up non-blocking lock on file X 2) Proc B attempts to pickup lock, fails then waits 3) Proc C attempts to pickup lock, fails then waits 4) Proc A releases lock 5) Proc B acquires lock, release it to pickup a non-blocking version 6) Proc C acquires lock, release it to pickup a non-blocking version 7) Both process B and C race each other to pickup lock again This occurs mainly because the processes do not keep the lock after they have been waiting on it. They drop it, attempt to re-acquire it. (They use the wait to notify when the lock has become available then race to pick it up). This results in additional CPU utilization during the race, and can also result in processes picking locks up out of order. This change attempts to correct this problem by eliminating the test/acquire race and having the operating system handle it. END K 10 svn:author V 6 dwhite K 8 svn:date V 27 2005-11-12T21:21:27.000000Z K 7 svn:log V 466 MFC: src/sys/fs/devfs/devfs_vnops.c 1.128 src/sys/kern/vfs_subr.c 1.652 This is a workaround for a complicated issue involving VFS cookies and devfs. The PR and patch have the details. The ultimate fix requires architectural changes and clarifications to the VFS API, but this will prevent the system from panicking when someone does "ls /dev" while running in a shell under the linuxulator. PR: 88249 Submitted by: "Devon H. O'Dell" END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-12T21:21:46.000000Z K 7 svn:log V 496 MFC Log: Attempt to complete the userspace integration of POSIX.1e extended ACLs. This includes adding support for ACLs into cp(1) and mv(1) userspace utilities. For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination operands, the destination file's ACLs shall reflect the source. For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination operands, and -p has been specified, the ACLs from the source shall be preserved on the destination. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-11-12T21:45:20.000000Z K 7 svn:log V 53 Correct a grammo and capitalize a few abbreviations. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-13T00:08:23.000000Z K 7 svn:log V 1091 Fixed some magic numbers. The threshold for not being tiny was confusing and too small. Use the usual 2**-12 threshold and simplify the algorithm slightly so that this threshold works (now use the threshold for sinhf() instead of one for 1+expm1()). This is just a small optimization. The magic number 22 is log(DBL_EPSILON)/2 plus slop. This is bogus for float precision. Use 9 (~log(FLT_EPSILON)/2 plus less slop than for double precision). The threshold for switching from returning exp(x)/2 to returning exp(x/2)^2/2 was a little smaller than necessary. This was not quite harmless since the exp(x/2)^2/2 case is inaccurate. Fixing it happens to avoid accuracy problems for 2*6 of the 2*151 args that were handled by the exp(x)/2 case. This leaves accuracy problems for about 2*19997 args near the overflow threshold (~89); the maximum error there is 2.5029 ulps. There are also accuracy probles for args in +-[0.5*ln2, 9] -- 2*188885 args with errors of more than 1 ulp, with a maximum error of 1.384 ulps. Fixed a syntax error and naming errors in pseudo-code in comments. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-13T00:41:46.000000Z K 7 svn:log V 1087 Fixed some magic numbers. The threshold for not being tiny was too small. Use the usual 2**-12 threshold. This change is not just an optimization, since the general code that we fell into has accuracy problems even for tiny x. Avoiding it fixes 2*1366 args with errors of more than 1 ulp, with a maximum error of 1.167 ulps. The magic number 22 is log(DBL_EPSILON)/2 plus slop. This is bogus for float precision. Use 9 (~log(FLT_EPSILON)/2 plus less slop than for double precision). The code for handling the interval [2**-28, 9_was_22] has accuracy problems even for [9, 22], so this change happens to fix errors of more than 1 ulp in about 2*17000 cases. It leaves such errors in about 2*1074000 cases, with a max error of 1.242 ulps. The threshold for switching from returning exp(x)/2 to returning exp(x/2)^2/2 was a little smaller than necessary. As for coshf(), This was not quite harmless since the exp(x/2)^2/2 case is inaccurate, and fixing it avoids accuracy problems in 2*6 cases, leaving problems in 2*19997 cases. Fixed naming errors in pseudo-code in comments. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T01:27:57.000000Z K 7 svn:log V 225 - Make size parameter to build_iovec() a size_t, not an int - Add build_iovec_argf() helper function, for help converting old mount options which used the mount_argf() function for the mount() syscall. Discussed with: phk END