‚×u152861 139 1969 211 102 153 206 224 187 290 1674 348 293 471 245 250 172 172 173 1431 165 206 1199 213 253 184 219 506 115 144 378 114 297 212 201 434 192 111 227 200 740 224 224 215 134 219 194 549 205 196 749 991 129 252 212 147 136 114 240 400 189 110 149 152 779 224 357 164 316 171 156 131 221 190 239 216 184 198 818 503 133 740 203 133 168 137 199 205 1540 304 1460 136 1135 134 220 201 287 264 546 194 126 134 140 176 160 424 320 121 348 263 355 320 204 722 207 287 135 249 156 152 146 217 163 249 243 143 208 310 199 136 344 166 288 174 326 120 110 119 254 165 150 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-27T19:09:10.000000Z K 7 svn:log V 1871 Merge kern_acct.c:1.76 from HEAD to RELENG_6: 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. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-27T21:41:58.000000Z K 7 svn:log V 119 Make config(8) understand ORed dependecies in "files*" and improve tracking of known devices. Bump config(8) version. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-27T21:52:30.000000Z K 7 svn:log V 11 Reduction. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-27T22:59:47.000000Z K 7 svn:log V 57 Fix a stupid compiler warining, remove a redundant line. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-27T23:17:00.000000Z K 7 svn:log V 114 - Allow duplicate "machine" directives with the same arguments. - Move existing "machine" directives to DEFAULTS. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-11-28T01:33:19.000000Z K 7 svn:log V 128 Use a separate synopsis line for -u as devinfo will ignore other options when -u is specified. Xref device(9) and devclass(9). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-28T02:58:30.000000Z K 7 svn:log V 92 mqueue.h has been superceded by sys/mqueue.h thanks to David Xu's work. Submitted by: dolt END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-28T03:21:58.000000Z K 7 svn:log V 193 Remove commented out reference to posix4/mqueue.h. It hasn't been installed for 3 years, and now we have another (working) implementation of POSIX message queues elsewhere in the source tree. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-28T04:58:57.000000Z K 7 svn:log V 1580 Use only double precision for "kernel" cosf and sinf (except for returning float). The functions are renamed from __kernel_{cos,sin}f() to __kernel_{cos,sin}df() so that misuses of them will cause link errors and not crashes. This version is an almost-routine translation with no special optimizations for accuracy or efficiency. The not-quite-routine part is that in __kernel_cosf(), regenerating the minimax polynomial with double precision coefficients gives a coefficient for the x**2 term that is not quite -0.5, so the literal 0.5 in the code and the related `hz' variable need to be modified; also, the special code for reducing the error in 1.0-x**2*0.5 is no longer needed, so it is convenient to adjust all the logic for the x**2 term a little. Note that without extra precision, it would be very bad to use a coefficient of other than -0.5 for the x**2 term -- the old version depends on multiplication by -0.5 being infinitely precise so as not to need even more special code for reducing the error in 1-x**2*0.5. This gives an unimportant increase in accuracy, from ~0.8 to ~0.501 ulps. Almost all of the error is from the final rounding step, since the choice of the minimax polynomials so that their contribution to the error is a bit less than 0.5 ulps just happens to give contributions that are significantly less (~.001 ulps). An Athlons, for uniformly distributed args in [-2pi, 2pi], this gives overall speed increases in the 10-20% range, despite giving a speed decrease of typically 19% (from 31 cycles up to 37) for sinf() on args in [-pi/4, pi/4]. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-28T05:35:32.000000Z K 7 svn:log V 255 Changed spelling of the request-to-inline macro name to match the change of the function name. Added my (non-)copyright. In k_tanf.c, added the first set of redundant parentheses to control grouping which was claimed to be added in the previous commit. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-28T05:46:13.000000Z K 7 svn:log V 200 Try to use the "proximity" (~) operator consistently in comments (x ~<= a, not x <= ~a). This got messed up in some places when the comments were moved from e_rem_pio2f.c. Added my (non-)copyright. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-28T06:15:10.000000Z K 7 svn:log V 378 Exploit skew-symmetry to avoid an operation: -sin(x-A) = sin(A-x). This gives a tiny but hopefully always free optimization in the 2 quadrants to which it applies. On Athlons, it reduces maximum latency by 4 cycles in these quadrants but has usually has a smaller effect on total time (typically ~2 cycles (~5%), but sometimes 8 cycles when the compiler generates poor code). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-28T06:24:19.000000Z K 7 svn:log V 152 Apply arch= selection to the qandatoc mode. This fixes link generation with no actual target. Reported by: Tim Witthoeft (tim.witthoeft at gmail.com) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-28T06:26:56.000000Z K 7 svn:log V 157 MFC: Apply arch= selection to the qandatoc mode. This fixes link generation with no actual target. Reported by: Tim Witthoeft (tim.witthoeft at gmail.com) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2005-11-28T06:41:40.000000Z K 7 svn:log V 75 MFC: revision 1.81 Fix panic when we cannot find self-id of probing nodes. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2005-11-28T06:50:04.000000Z K 7 svn:log V 75 MFC: revision 1.81 Fix panic when we cannot find self-id of probing nodes. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-28T07:53:29.000000Z K 7 svn:log V 80 Add manual page for snd_atiixp(4) and hook it up to the build. Reviewed by: ru END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-28T08:32:15.000000Z K 7 svn:log V 1337 Fixed about 50 million errors of infinity ulps and about 3 million errors of between 1.0 and 1.8509 ulps for lgammaf(x) with x between -2**-21 and -2**-70. As usual, the cutoff for tiny args was not correctly translated to float precision. It was 2**-70 but 2**-21 works. Not as usual, having a too-small threshold was worse than a pessimization. It was just a pessimization for (positive) args between 2**-70 and 2**-21, but for the first ~50 million (negative) args below -2**-70, the general code overflowed and gave a result of infinity instead of correct (finite) results near 70*log(2). For the remaining ~361 million negative args above -2**21, the general code gave almost-acceptable errors (lgamma[f]() is not very accurate in general) but the pessimization was larger than for misclassified tiny positive args. Now the max error for lgammaf(x) with |x| < 2**-21 is 0.7885 ulps, and speed and accuracy are almost the same for positive and negative args in this range. The maximum error overall is still infinity ulps. A cutoff of 2**-70 is probably wastefully small for the double precision case. Smaller cutoffs can be used to reduce the max error to nearly 0.5 ulps for tiny args, but this is useless since the general algrorithm for nearly-tiny args is not nearly that accurate -- it has a max error of about 1 ulp. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-28T11:03:59.000000Z K 7 svn:log V 74 universe: don't attempt to compile DEFAULTS and don't compile LINT twice. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-28T11:14:36.000000Z K 7 svn:log V 114 Fix a bug in previous revision: skip LINT if it exists, not NOTES (the source for LINT), as I initially intended. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-28T11:46:20.000000Z K 7 svn:log V 1105 Rearranged the polynomial evaluation some more to reduce dependencies. Instead of echoing the code in a comment, try to describe why we split up the evaluation in a special way. The new optimization is mostly to move the evaluation of w = z*z later so that everything else (except z = x*x) doesn't have to wait for w. On Athlons, FP multiplication has a latency of 4 cycles so this optimization saves 4 cycles per call provided no new dependencies are introduced. Tweaking the other terms in to reduce dependencies saves a couple more cycles in some cases (more on AXP than on A64; up to 8 cycles out of 56 altogether in some cases). The previous version had a similar optimization for s = z*x. Special optimizations like these probably have a larger effect than the simple 2-way vectorization permitted (but not activated by gcc) in the old version, since 2-way vectorization is not enough and the polynomial's degree is so small in the float case that non-vectorizable dependencies dominate. On an AXP, tanf() on uniformly distributed args in [-2pi, 2pi] now takes 34-55 cycles (was 39-59 cycles). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-28T12:46:35.000000Z K 7 svn:log V 116 Take if_baudrate from the parent. This fixes problem with SNMP daemons reporting zero speed for vlan(4) interfaces. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-11-28T13:23:15.000000Z K 7 svn:log V 155 Fix two identical harmless typos in ata error messages: s/issueing/issuing/ PR: kern/89481 Submitted by: John Nielsen Approved by: sos MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-11-28T13:51:36.000000Z K 7 svn:log V 89 Follow the rules for the .Dd macro use: use unabbreviated month names. Submitted by: ru END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-11-28T16:01:57.000000Z K 7 svn:log V 125 Added pc98 support. This problem is only in RELENG_5. Noticed by: NOKUBI Hirotaka < nokubi at ff dot iij4u dot or dot jp > END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T16:30:16.000000Z K 7 svn:log V 413 Restore the previous state after a FILL operation in properties_read() rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost any token we were in the middle of parsing and would have treated the next character as being at the start of a new line instead. PR: kern/89181 Submitted by: Antony Mawer gnats at mawer dot org MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-28T16:47:52.000000Z K 7 svn:log V 18 Xref snd_atiixp.4 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-28T16:53:16.000000Z K 7 svn:log V 47 Autogenerate hardware notes for snd_atiixp(4). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-28T17:47:54.000000Z K 7 svn:log V 285 600004 is a better new version than 700000 based on some future commits to this file. With ru@'s approval, change it to this version. In this case we had to bump the version because the old parser would choke on | in the new 'or' syntax and consider that a device. Approved by: ru@ END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-28T17:48:09.000000Z K 7 svn:log V 21 Add AUTHORS section. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-28T17:51:31.000000Z K 7 svn:log V 204 Version 600004 is better than 700000 given other changes that are in the pipeline. We had to bump the version for 600004 because the old parser got confused and generated bogus output. Approved by: ru@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-28T18:06:21.000000Z K 7 svn:log V 115 Remove two lines of debugging output that accidentally snuck into the commit to fix up kvm support for netstat -m. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-28T18:07:36.000000Z K 7 svn:log V 104 Merge mbuf.c:1.46 from HEAD to RELENG_6: trim accidentally committed debugging printfs from netstat -m. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-28T18:09:03.000000Z K 7 svn:log V 337 Break out functionality in sosend() responsible for building mbuf chains and copying in mbufs from the body of the send logic, creating a new function sosend_copyin(). This changes makes sosend() almost readable, and will allow the same logic to be used by tailored socket send routines. MFC after: 1 month Reviewed by: andre, glebius END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-28T18:47:00.000000Z K 7 svn:log V 99 No one cares about when the manual page first appeared. Mention when the driver appeared instead. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-28T18:56:38.000000Z K 7 svn:log V 18 s/Advance/Avance/ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:03:16.000000Z K 7 svn:log V 134 MF5: Always read RTC_IN to clear any pending interrupt when writing to RTC_STATUSB. Tested by: Uwe Doering gemini at geminix dot org END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-28T19:08:51.000000Z K 7 svn:log V 108 MFC: Added NO_INCS, use it to prevent overwriting of native headers with i386 copies when installing lib32. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:09:08.000000Z K 7 svn:log V 647 When checking to see if a process has exceeded its time limit, flag the process as over the limit when its time is >= to the limit rather than > the limit. Technically, if p->p_rux.rux_runtime.sec == p->p_pcpulimit and p->p_rux.rux_runtime.frac == 0, the process hasn't exceeded the limit yet. However, having the fraction exactly equal to 0 is rather rare, and it is not worth the overhead to handle that edge case. With just the > comparison, the process would have to exceed its limit by almost a second before it was killed. PR: kern/83192 Submitted by: Maciej Zawadzinski mzawadzinski at gmail dot com Reviewed by: bde MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:19:39.000000Z K 7 svn:log V 131 MFC: Include the size of the DL_serpath structures in the total size used in the RTLD_DI_SERINFOSIZE and RTLD_DI_SERINFO requests. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:19:52.000000Z K 7 svn:log V 131 MF6: Include the size of the DL_serpath structures in the total size used in the RTLD_DI_SERINFOSIZE and RTLD_DI_SERINFO requests. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:42:10.000000Z K 7 svn:log V 122 MFC: More fully setup the ATPICs including setting up spurious interrupt handlers if 'device atpic' is not in the kernel. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:43:57.000000Z K 7 svn:log V 42 MFC: Let ether_ioctl() handle SIOCSIFMTU. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T19:45:30.000000Z K 7 svn:log V 126 MFC: Correctly ask the PCI bridge device for its child PCI bus number when trying to determine the BIOS IRQ for a given link. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T20:03:15.000000Z K 7 svn:log V 101 MFC: Always print the trap number for fatal traps and add trap messages for T_XMMFLT and T_RESERVED. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-28T20:18:43.000000Z K 7 svn:log V 456 If we get a stray interrupt, return after logging it. In the extremely rare case of a stray interrupt to an unregistered source (such as a stray interrupt from the 8259As when using APIC), this could result in a page fault when it tried to walk the list of interrupt handlers to execute INTR_FAST handlers. This bug was introduced with the intr_event changes, so it's not present in 5.x or 6.x. Submitted by: Mark Tinguely tinguely at casselton dot net END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-28T21:45:36.000000Z K 7 svn:log V 108 Move zero copy statistics structure before sosend_copyin(). MFC after: 1 month Reported by: tinderbox, sam END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-11-28T23:08:37.000000Z K 7 svn:log V 103 Fix SiS SATA support, the SATA registers was off. Add support for SiS metadata. HW donated by: obrien END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-11-28T23:13:57.000000Z K 7 svn:log V 653 Update DRM to CVS snapshot as of 2005-11-28. Notable changes: - 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. - i915 module Makefile added, as the driver may now be working, but is untested. - Added scripts for copying and preprocessing DRM CVS for inclusion in the kernel. Thanks to Daniel Stone for getting me started on that. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-29T00:11:01.000000Z K 7 svn:log V 894 First step in removing welding between ipfw(4) and dummynet. o Do not use ipfw_insn_pipe->pipe_ptr in locate_flowset(). The _ipfw_insn_pipe isn't touched by this commit to preserve ABI compatibility. o To optimize the lookup of the pipe/flowset in locate_flowset() introduce hashes for pipes and queues: - To preserve ABI compatibility utilize the place of global list pointer for SLIST_ENTRY. - Introduce locate_flowset(queue nr) and locate_pipe(pipe nr). o Rework all the dummynet code to deal with the hashes, not global lists. Also did some style(9) changes in the code blocks that were touched by this sweep: - Be conservative about flowset and pipe variable names on stack, use "fs" and "pipe" everywhere. - Cleanup whitespaces. - Sort variables. - Give variables more meaningful names. - Uppercase and dots in comments. - ENOMEM when malloc(9) failed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-29T00:18:56.000000Z K 7 svn:log V 34 MFC rev 1.40: Improve inittodr(). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-29T00:28:17.000000Z K 7 svn:log V 155 Remove MNT_NODEV mount option. In RELENG_6, MNT_NODEV was a no-op. The presence of MNT_NODEV was confusing the am-utils autoconf scripts. PR: conf/79715 END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-11-29T03:03:34.000000Z K 7 svn:log V 115 Check value returned by g_read_data(9), otherwise we can end in panic(9) if read error happens. MFC after: 1 week END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-11-29T04:53:22.000000Z K 7 svn:log V 52 Add support for the i855GM, tested by an r300 user. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-29T05:31:46.000000Z K 7 svn:log V 42 Add notes about ATI IXP audio controller. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-29T06:40:19.000000Z K 7 svn:log V 17 New SiS support. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-29T08:59:41.000000Z K 7 svn:log V 143 Garbage-collect now unused struct _ipfw_insn_pipe and flush_pipe_ptrs(), thus removing a few XXXes. Document the ABI breakage in UPDATING. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-29T09:37:42.000000Z K 7 svn:log V 308 Drop the -I/usr/include (or any of its variants) from CFLAGS. The sys/sys/stddef.h is here for some time now to fulfil the kernel needs. It also was not reliable due to the exists(@) check: in an empty module directory, "make depend; mv .depend .depend~; make depend" ran mkdep(1) with different arguments. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-29T09:39:41.000000Z K 7 svn:log V 94 Separate the hardware definitions into ipsreg.h so they can be used by future userland tools. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-29T09:51:47.000000Z K 7 svn:log V 19 Unexpand LLADDR(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-29T12:01:26.000000Z K 7 svn:log V 53 Catch up with ip_dummynet.h rev. 1.38 and fix build. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-11-29T12:07:10.000000Z K 7 svn:log V 60 We do nothing with returned error value, so just remove it. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-29T15:25:09.000000Z K 7 svn:log V 686 We couldn't specify the rule for filtering tunnel traffic since an IPv6 support was committed: - Stop treating `ip' and `ipv6' as special in `proto' option as they conflict with /etc/protocols. - Disuse `ipv4' in `proto' option as it is corresponding to `ipv6'. - When protocol is specified as numeric, treat it as it is even it is 41 (ipv6). - Allow zero for protocol as it is valid number of `ip'. Still, we cannot specify an IPv6 over an IPv4 tunnel like before such as: pass ipv6 from any to any But, now, you can specify it like: pass ip4 from any to any proto ipv6 PR: kern/89472 Reported by: Ga l Roualland MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-29T16:33:44.000000Z K 7 svn:log V 131 Correct xref to systat(1) which was mispelled as ststat(1) in 1.5. Submitted by: Björn König bkoenig at cs dot tu-berlin dot de END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-29T16:51:49.000000Z K 7 svn:log V 264 - Axe the PARTITIONING and IOCTLS section as this has been made obsolete now that all that stuff has been abstracted out of the disk drivers with GEOM. - Reference bsdlabel(8) rather than disklabel(8). Ok'd by: phk, scottl (1) Submitted by: Björn König (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-29T17:07:04.000000Z K 7 svn:log V 72 Remove references to rdist(1) and friends. Submitted by: Björn König END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-29T17:11:09.000000Z K 7 svn:log V 223 - We don't install USD docs for games anymore since the games with docs (trek) aren't in the base system anymore. - dm(8) isn't in the base system anymore either, so don't xref it either. Submitted by: Björn König (2) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-29T17:56:11.000000Z K 7 svn:log V 79 obey opt_inet6.h and opt_ipsec.h in kernel build directory. Requested by: hrs END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-29T19:13:28.000000Z K 7 svn:log V 60 Document removal of nodev mount option. Requested by: gleb END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-29T19:39:04.000000Z K 7 svn:log V 40 Let kmod.mk create empty opt_*.h files. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-11-29T20:08:26.000000Z K 7 svn:log V 128 Fix the ata_composite/ata_request leak when using RAID0+1. Submitted by: Michael Butler Minor changes to fit ATA style by me. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-29T20:29:44.000000Z K 7 svn:log V 94 The bridge is capable of sending broadcast packets so enable IFF_BROADCAST Requested by: des END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-29T20:55:53.000000Z K 7 svn:log V 143 o Send management frames at the lowest possible rate. o Include rate in the Rx radiotap code. o Fix RSSI value in the Rx path. o Minor tweaks. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-29T21:07:32.000000Z K 7 svn:log V 120 Use usbd_clear_endpoint_stall_async() instead of usbd_clear_endpoint_stall() in Tx/Rx callbacks. Obtained from: NetBSD END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-29T21:30:16.000000Z K 7 svn:log V 89 Sync with ural: o Send management frames at the lowest possible rate. o Cosmetic tweaks. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-29T21:36:15.000000Z K 7 svn:log V 102 Tell Rx radiotap that hardware leaves FCS at the end of the frame. Obtained from: NetBSD (drochner@) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-11-29T22:54:49.000000Z K 7 svn:log V 723 The DEFAULTS changes caused the user specified config file to be opened much later than before, and it is now after we do a mkdir ../compile/FILE. As a result, if you do 'config DOESNOTEXIST', it now creates the directory ../config/DOESNOTEXIST. It did not do that before. If DEFAULTS does not exist, it still fails early before any permanent changes. This shameless hack restores the old behavior of ensuring the config file actually exists before mkdiring its counterpart directory. Now I can rmdir ../compile/D and it will stay dead, after my fingers keep sabotaging me with 'config D'. (Some of my kernel names started with D, which used to be 1-character unique and my fingers knew this very well...) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-29T23:07:14.000000Z K 7 svn:log V 410 Fix snderr() to not leak the socket buffer lock if an error occurs in sosend(). Robert accidentally changed the snderr() macro to jump to the out label which assumes the lock is already released rather than the release label which drops the lock in his previous change to sosend(). This should fix the recent panics about returning from write(2) with the socket lock held and the most recent LOR on current@. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-30T01:44:22.000000Z K 7 svn:log V 37 Add codec ID for Avance Logic ALC203 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-30T02:23:53.000000Z K 7 svn:log V 643 MFC if_hme.c:1.44, if_hmereg.h:1.7, if_hmevar.h:1.9 to RELENG_6: - Convert hme(4) to use TX side bus_dmamap_load_mbuf_sg(9). - Move hardware counter reading/zeroing to hme_tick(). This saves 8 register access per interrupt. [1] - Use imax macro for getting max. argument between two integers. - Invoke bus_dmamap_sync(9) first before freeing mbuf. - Check driver queue first to reduce locking operation in hme_start_locked() and interrupt handler. - Simplyfy watchdog timer setup in interrupt handler. - Don't log normal errors such as RX overrun. If we have DMA stuck condition, reinitialize the driver and log it. END K 10 svn:author V 8 tmclaugh K 8 svn:date V 27 2005-11-30T04:08:45.000000Z K 7 svn:log V 105 Fix misspelling in Poul-Henning Kamp's email address under AUTHORS, from pkh@ to phk@. Approved by: ade END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-30T04:12:37.000000Z K 7 svn:log V 37 Add manuals for POSIX message queue. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-30T04:14:53.000000Z K 7 svn:log V 72 Symlink mq_send to mq_timedsend. Symlink mq_receive to mq_timedreceive. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-30T04:15:44.000000Z K 7 svn:log V 41 Update conformance and history sections. END K 10 svn:author V 8 tmclaugh K 8 svn:date V 27 2005-11-30T04:19:40.000000Z K 7 svn:log V 101 MFC: Revision 1.60 Misspelling in Poul-Henning Kamp's email address under AUTHORS Approved by: ade END K 10 svn:author V 8 tmclaugh K 8 svn:date V 27 2005-11-30T04:21:59.000000Z K 7 svn:log V 107 MFC: Revision 1.60 Misspelling in Poul-Henning Kamp's email address under AUTHORS Approved by: ade END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-30T04:56:49.000000Z K 7 svn:log V 1446 Fixed the hi+lo approximation to log(2). The normal 17+24 bit decomposition that was used doesn't work normally here, since we want to be able to multiply `hi' by the exponent of x _exactly_, and the exponent of x has more than 7 significant bits for most denormal x's, so the multiplication was not always exact despite a cloned comment claiming that it was. (The comment is correct in the double precision case -- with the normal 33+53 bit decomposition the exponent can have 20 significant bits and the extra bit for denormals is only the 11th.) Fixing this had little or no effect for denormals (I think because more precision is inherently lost for denormals than is lost by roundoff errors in the multiplication). The fix is to reduce the precision of the decomposition to 16+24 bits. Due to 2 bugs in the old deomposition and numerical accidents, reducing the precision actually increased the precision of hi+lo. The old hi+lo had about 39 bits instead of at least 41 like it should have had. There were off-by-1-bit errors in each of hi and lo, apparently due to mistranslation from the double precision hi and lo. The correct 16 bit hi happens to give about 19 bits of precision, so the correct hi+lo gives about 43 bits instead of at least 40. The end result is that expf() is now perfectly rounded (to nearest) except in 52561 cases instead of except in 67027 cases, and the maximum error is 0.5013 ulps instead of 0.5023 ulps. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-30T05:12:03.000000Z K 7 svn:log V 207 Last step to make mq_notify conform to POSIX standard, If the process has successfully attached a notification request to the message queue via a queue descriptor, file closing should remove the attachment. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-30T06:47:18.000000Z K 7 svn:log V 1366 Fixed cosf(x) when x is a "negative" NaNs. I broke this in rev.1.10. cosf(x) is supposed to return something like x when x is a NaN, and we actually fairly consistently return x-x which is normally very like x (on i386 and and it is x if x is a quiet NaN and x with the quiet bit set if x is a signaling NaN. Rev.1.10 broke this by normalising x to fabsf(x). It's not clear if fabsf(x) is should preserve x if x is a NaN, but it actually clears the sign bit, and other parts of the code depended on this. The bugs can be fixed by saving x before normalizing it, and using the saved x only for NaNs, and using uint32_t instead of int32_t for ix so that negative NaNs are not misclassified even if fabsf() doesn't clear their sign bit, but gcc pessimizes the saving very well, especially on Athlon XPs (it generates extra loads and stores, and mixes use of the SSE and i387, and this somehow messes up pipelines). Normalizing x is not a very good optimization anyway, so stop doing it. (It adds latency to the FPU pipelines, but in previous versions it helped except for |x| <= 3pi/4 by simplifying the integer pipelines.) Use the same organization as in s_sinf.c and s_tanf.c with some branches reordered. These changes combined recover most of the performance of the unfixed version on A64 but still lose 10% on AXP with gcc-3.4 -O1 but not with gcc-3.3 -O1. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-30T07:26:36.000000Z K 7 svn:log V 40 Fix compiling for c++, include cdefs.h. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-30T11:51:17.000000Z K 7 svn:log V 1041 Rearranged the polynomial evaluation to reduce dependencies, as in k_tanf.c but with different details. The polynomial is odd with degree 13 for tanf() and odd with degree 9 for sinf(), so the details are not very different for sinf() -- the term with the x**11 and x**13 coefficients goes awaym and (mysteriously) it helps to do the evaluation of w = z*z early although moving it later was a key optimization for tanf(). The details are different but simpler for cosf() because the polynomial is even and of lower degree. On Athlons, for uniformly distributed args in [-2pi, 2pi], this gives an optimization of about 4 cycles (10%) in most cases (13% for sinf() on AXP, but 0% for cosf() with gcc-3.3 -O1 on AXP). The best case (sinf() with gcc-3.4 -O1 -fcaller-saves on A64) now takes 33-39 cycles (was 37-45 cycles). Hardware sinf takes 74-129 cycles. Despite being fine tuned for Athlons, the optimization is even larger on some other arches (about 15% on ia64 (pluto2) and 20% on alpha (beast) with gcc -O2 -fomit-frame-pointer). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-11-30T11:58:01.000000Z K 7 svn:log V 41 MFi386: revision 1.1215 (add savagedrm). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-30T12:37:07.000000Z K 7 svn:log V 123 If bus_dmamap_load() failed, we free the mbuf. We also need to clear the pointer, to avoid double free on next bge_stop(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-30T13:13:53.000000Z K 7 svn:log V 105 MFC: elf_freebsd.c 1.10, ofw_console.c 1.11, ofw_memory.c 1.7, openfirm.c 1.12 Remove unused variables. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-30T13:19:03.000000Z K 7 svn:log V 191 MFC: 1.11 Use an ihandle_t to store the instance handle of an opened device instead of a phandle_t (package handle). Since both are typedefed to unsigned int, this is more or less cosmetic. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-30T13:24:53.000000Z K 7 svn:log V 168 MFC: 1.16 In ofw_parsedev() check the return value of malloc() and protect against a NULL pointer dereference when ofw_parsedev() is called with a NULL path argument. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-30T13:37:22.000000Z K 7 svn:log V 450 MFC: 1.13 - Add a workaround for the fact that OFW doesn't guarantee that devices can be opened multiple times simultaneously but we're expected to be able to do so by the rest of the loader. This fixes booting from disks attached to the on-board SCSI controller of Sun Ultra 1 (previously this triggered a trap) and probably also of AX1115 boards. - While here, remove unused variables and add empty lines where style(9) requires such. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-30T16:03:55.000000Z K 7 svn:log V 101 MFC: Quiet the pci_link(4) devices and only lookup BIOS IRQs for links that are routed via ISA IRQs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-30T16:04:52.000000Z K 7 svn:log V 34 MFC: Add locking and mark MPSAFE. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-30T16:09:10.000000Z K 7 svn:log V 39 Remove superfluous inclusion of upa.h. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-30T16:13:49.000000Z K 7 svn:log V 45 Remove superfluous bzero()'ing of the softc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-30T17:48:23.000000Z K 7 svn:log V 85 Byte copy IF_LLADDR() on stack to align it to be safe for typecasts. Tested by: jhb END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-30T17:55:49.000000Z K 7 svn:log V 69 Style: use S_ISDIR() (submitted by bde@) and eq() where appropriate. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-30T18:15:06.000000Z K 7 svn:log V 332 Teach this to create the "machine" and ${MACHINE_ARCH} (for pc98 only now) symbolic links in the kernel compile directory, rather than relying on config(8) to do this. (The changes to config(8) will be committed separately.) This is aimed towards making the config(8) as lightweight as possible. Idea by: bde (all bugs are mine) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-30T18:34:13.000000Z K 7 svn:log V 226 MFC: Teach rfcomm_sppd(1) about service names, so it is possible to specify service name instead of channel number with -c command option. Supported service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port). END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-11-30T19:07:28.000000Z K 7 svn:log V 25 Kill leading whilespace. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-11-30T19:24:51.000000Z K 7 svn:log V 251 Check for g_read_data(9) errors properly: o The only indication of error condition is NULL value returned by the function; o value pointed to by error argument is undefined in the case when operation completes successfully. Discussed with: phk END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-11-30T19:54:41.000000Z K 7 svn:log V 170 fix dynamic changes in short slottime for 11g sta mode: set the slot time based on the rcvd capabilities, not the existing ones Obtained from: atheros MFC after: 1 week END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-11-30T20:38:03.000000Z K 7 svn:log V 261 - match_var: do not address memory at invalid address (`len' can be greater than strlen(var) + 1) - ReadMakeFile: prevent `fname' memory leak - ReadMakeFile: prevent double free (caused by double fclose) -- ParsePopInput() closes input file Reviewed by: harti END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-11-30T21:08:04.000000Z K 7 svn:log V 224 Check for altq presence during module init, and allow module to work even if altq is not present (just disable the altq bits in that case). PR: 89601 Submitted by: Juraj Lutter MFC after: 3 days END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-11-30T22:15:00.000000Z K 7 svn:log V 107 Don't pass error value pointer to g_read_data(9) at all if we don't have any use of it. Suggested by: pjd END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-11-30T22:54:41.000000Z K 7 svn:log V 625 It is unclear who is wrong and who is right, but when operating on plain file bsdlabel(8) always writes label at a fixed offset from its beginning (512 bytes), regardless of the sector size. At the same time, bsdlabel geom class expects label to be available at the very beginning of the second sector. As a result, images prepared in userland for media with sector size different from 512 bytes (i.e. 2k for cdroms) are not recognized by the tasting mechanism. Solve the problem by always looking for the label at 512-byte offset if we can't find it at the beginning of the second sector and sector size is not 512 bytes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-30T23:47:31.000000Z K 7 svn:log V 110 Avoid using signal 127 and 128 as RT signals, these two signals confuse wait4 interfaces, see PR: kern/19402. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-12-01T00:18:48.000000Z K 7 svn:log V 191 Fixing yet another regression introduced in rev1.37 by preserving cs_local pointer such that local to DOS code page conversion with combined option '-L,-D' works again. Reviewed by: rodrigc END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-01T00:25:50.000000Z K 7 svn:log V 39 set signal queue values for sysconf(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-01T00:49:45.000000Z K 7 svn:log V 152 MFC Revision 1.11: In raise(), use a shortcut to directly send signal to current thread. MFC Revision 1.12: Remove a redundant _get_curthread() call. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-12-01T02:38:44.000000Z K 7 svn:log V 60 MFC 1.66 to RELENG_6 Uncomment em(4) as it's now working. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-12-01T02:43:13.000000Z K 7 svn:log V 56 MFC 1.461 to RELENG_6 Connect em(4) build on sparc64. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-12-01T03:10:12.000000Z K 7 svn:log V 52 Add kernel module loading option for snd_atiixp(4). END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-12-01T03:47:01.000000Z K 7 svn:log V 120 Fix logic error which causes to be printed instead of the actual file name in error message. MFC After: 2 weeks END K 10 svn:author V 3 wes K 8 svn:date V 27 2005-12-01T04:28:07.000000Z K 7 svn:log V 71 Add another 'best quote about XML evar!' courtesy Pav Lucistnik (pav@) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-01T05:59:45.000000Z K 7 svn:log V 152 Quickly fix brokeness in revision 1.157, that change was free()ing stack memory which causes the program to abort, and I can no longer make buildworld. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-12-01T07:56:15.000000Z K 7 svn:log V 146 1. Set timer configuration values for sysconf(). 2. Set overrun limit to INT_MAX, report ERANGE error if overrun will be greater than INT_MAX. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-12-01T12:58:51.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-01T15:56:05.000000Z K 7 svn:log V 115 Add MLINK for execvP(3). PR: docs/89783 Submitted by: Andreas Kohn andreas at syndrom23 dot de MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-12-01T17:08:56.000000Z K 7 svn:log V 217 In make buildenv, spell sh as ${SHELL}. In this case, we don't want to hard code /bin/sh since we're forking it for the user to type commands into. As such, ${SHELL} is the preferred thing users type commands into. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-01T17:36:39.000000Z K 7 svn:log V 106 Clarify that si(4) doesn't support the newer SX+ cards from Specialix/Perle currently. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-01T17:43:09.000000Z K 7 svn:log V 45 MFC: "nocpu" and "nomakeoptions" directives. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-12-01T17:54:33.000000Z K 7 svn:log V 251 Document O_NOCTTY and O_SYNC. O_NOCTTY is a nop on freebsd, while on other systems it prevents a tty from becoming a controlling tty on the open. O_SYNC is the POSIX name for O_FSYNC. The Markup Police may need to tweak my references to standards. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-12-01T18:17:50.000000Z K 7 svn:log V 74 Tweak markup for POSIX standards. Minor wordsmithing. Submitted by: ru@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-12-01T19:16:35.000000Z K 7 svn:log V 195 - Use .fn to markup untimeout in two places it was missing. - Reword a confusing sentence. PR: docs/89810 Submitted by: Marius Nuennerich marius dot nuennerich at gmx dot net MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-01T21:18:04.000000Z K 7 svn:log V 83 Fix the type of "eaddr" to guarantee the required alignment. Suggested by: marcel END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-12-01T21:39:43.000000Z K 7 svn:log V 230 Preserve /etc/sysctl.conf when doing a binary update. This prevents, for instance, the dreaded shared memory problem in PostgreSQL coming back to haunt you after a binary update. PR: 89817 Submitted by: edwin MFC after: 2 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-01T21:46:01.000000Z K 7 svn:log V 29 Install the mqueue.h header. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-01T21:59:24.000000Z K 7 svn:log V 19 Add -q to usage(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-12-01T22:03:34.000000Z K 7 svn:log V 28 Sync usage() with SYNOPSIS. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-12-01T22:14:44.000000Z K 7 svn:log V 156 Make "missing dependency" errors more useful by indicating which port is trying to depend upon the non-existent port. Suggested by: kris MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-12-01T22:14:45.000000Z K 7 svn:log V 68 Revert previous commit; it isn't supposed to be on this branch yet. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-12-02T00:17:33.000000Z K 7 svn:log V 57 Add bluetooth.device.conf(5) man page MFC after: 3 days END