ƒ°112000 198 356 354 145 675 149 304 149 185 143 309 202 239 260 286 154 451 212 222 242 187 449 148 179 150 539 128 422 261 149 112 133 128 150 147 117 235 313 387 127 201 236 206 516 139 201 459 142 126 120 242 912 313 698 342 145 162 135 117 162 221 153 444 198 227 208 233 320 121 185 143 282 168 207 148 158 360 226 144 135 660 483 235 120 169 420 183 105 161 206 308 326 236 302 212 276 222 395 269 143 139 159 314 130 672 252 137 228 156 252 179 143 1839 514 235 206 200 163 2000 1182 494 226 186 239 150 377 672 164 152 158 152 171 118 191 699 291 375 147 233 145 313 250 216 122 285 122 147 126 114 147 167 180 166 511 119 530 253 286 405 187 237 175 318 145 741 201 143 463 400 140 145 265 179 143 266 182 375 294 155 141 137 132 691 372 569 119 259 179 211 301 407 260 234 221 575 180 181 220 293 K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-08T19:55:59.000000Z K 7 svn:log V 263 Augment the devstat structure with 3 new fields and bump the DEVSTAT_VERSION. Two fields are sequence numbers for integrity check when we switch devstat to use mmap to export data rather than sysctl, the last field is to mark this as an allocated devstat entry. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-08T19:58:57.000000Z K 7 svn:log V 261 Introduce a device driver for /dev/devstat, this will allow us to mmap the device statistics structures into userland instead of using sysctl. Introduce new devstat_new_entry() function which allocates the devstat structure an calls devstat_add_entry() on it. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-08T20:00:11.000000Z K 7 svn:log V 53 Allocate devstat structure with devstat_new_entry(). END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-03-08T20:07:01.000000Z K 7 svn:log V 582 Add a config-file flag of 'U' or 'u' to indicate that the pid-file will contain the pid for a process group. This means the file must contain a negative value (as would be needed in the 'kill' commmand). I still need to write man-page update before MFC-ing. This started by rewriting the get_pid() routine. Later I looked at what OpenBSD has, and included a few ideas from their send_signal() routine. So, parts of this change are from OpenBSD, even though OpenBSD does not actually have a 'U' flag. PR: bin/28435 Reviewed by: no objections on freebsd-arch MFC after: 3 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-08T21:32:59.000000Z K 7 svn:log V 57 Allocate the devstat structure with devstat_new_entry(). END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-03-08T21:44:21.000000Z K 7 svn:log V 211 Correct names for fxp devices. Sort data by devid in fxp_ident_table. PR: kern/48699 Submitted by: Sergey A. Osokin Obtained from: NetBSD (the device strings, that is) MFC after: 4 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-08T21:44:46.000000Z K 7 svn:log V 57 Allocate the devstat structure with devstat_new_entry(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-08T21:46:43.000000Z K 7 svn:log V 93 Retire devstat_add_entry() as a public function and bump __FreeBSD_version to mark this act. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-03-08T21:54:32.000000Z K 7 svn:log V 48 Fix module build by adding options to Makefile. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-03-08T22:06:20.000000Z K 7 svn:log V 213 Remove a panic(); if the zone allocator can't provide more timewait structures, reuse the oldest one. Also move the expiry timer from a per-structure callout to the tcp slow timer. Sponsored by: DARPA, NAI Labs END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-03-08T22:07:52.000000Z K 7 svn:log V 106 Remove check for t_state == TCPS_TIME_WAIT and introduce the tw structure. Sponsored by: DARPA, NAI Labs END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-03-08T22:12:32.000000Z K 7 svn:log V 143 Discard the packet if the netisr queue is null instead of panicing, for the benefit of modules which are compiled differently than the kernel. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-03-08T22:45:12.000000Z K 7 svn:log V 167 Fixes for the Russian translations of the messages. PR: bin/48035, bin/48036 Submitted by: Sergey A.Osokin Reviewed by: ache MFC after: 4 weeks END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-03-09T00:29:40.000000Z K 7 svn:log V 193 The processing of files given on the command-line will work a little better if we return the entire worklist, instead of just the last entry. A minor fix to revision 1.57. MFC after: 15 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-09T01:40:55.000000Z K 7 svn:log V 62 Hold the proc lock while accessing p_procsig in trapsignal(). END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-03-09T02:08:30.000000Z K 7 svn:log V 355 Update the DRM to latest from DRI CVS. This is approximately the version included in XFree86 4.3, but includes some fixes. Notable changes include Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting support for Radeons, and vblank syncing support for r128, radeon, and mga. The gamma driver was removed due to lack of any users. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-03-09T02:27:12.000000Z K 7 svn:log V 118 New release note: IP fragment reassembly improvement. Modified release note: Fix punctuation glitch in bzip2 note. END K 10 svn:author V 6 robert K 8 svn:date V 27 2003-03-09T02:28:04.000000Z K 7 svn:log V 126 Remove a function prototype for `crc' and an associated comment which were useless for at least seven years and eight months. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-03-09T02:30:29.000000Z K 7 svn:log V 148 MFC: IP fragment reassembly improvements, fix punctuation for bzip2 note, belatedly clarify matcd(4) removal status. Approved by: re (implicitly) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-09T02:56:54.000000Z K 7 svn:log V 95 MFp4: Add the standard "the {fgetws,fputws} function will fail if" text to the Errors section. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-03-09T03:19:52.000000Z K 7 svn:log V 356 Fix interactions between entries for a specific file vs entries for a filename pattern, and also wrt filenames given on the command line. Now if a file is listed as a specific entry, it will not *also* be processed by an entry specifying a pattern. And filename-patterns will now only match existing files (ignoring directories, etc). MFC after: 3 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-09T04:27:46.000000Z K 7 svn:log V 52 Cosmetic change, make it QUEUE_MACRO_DEBUG friendly END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-03-09T04:28:04.000000Z K 7 svn:log V 86 Minor markup fixes, which have the nice side effect of a diff reduction with CURRENT. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-03-09T08:07:17.000000Z K 7 svn:log V 58 MFC: 1.118, 1.121, 1.124. Quirks for various USB devices END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T09:28:45.000000Z K 7 svn:log V 446 When a DEV class consumer is orphan'ed we need to wait for all the outstanding requests to return before we unravel the mesh. It is very important that the stuff below us plays nice and don't overlook a couple of outstanding bio's, because until they remember the geom event thread is blocked. At an expense in code here this could be made more robust, but I actually _want_ a robust failure in this case so any offending drivers can be fixed. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T09:48:50.000000Z K 7 svn:log V 36 Try to clarify how orphaning works. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T09:58:36.000000Z K 7 svn:log V 329 Add u_int nstart, nend counters to consumer and providers so we will not have to examine the stats structure to tell if we have outstanding I/O requests. Making them u_int improves the chance of atomic updates to them, but risks roll-over. Since the only interesting property is if they are equal or not, this is not an issue. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T09:59:48.000000Z K 7 svn:log V 168 Don't abuse the statistics counters for detecting if we have outstanding I/O requests, instead use the new dedicated fields in the consumer and provider to track this. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T10:01:16.000000Z K 7 svn:log V 57 Don't use statistics counters to detect outstanding I/O. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T10:02:31.000000Z K 7 svn:log V 20 Stamp out Danglish. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T10:04:21.000000Z K 7 svn:log V 41 Remove unneeded #include of geom_stats.h END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-03-09T10:12:58.000000Z K 7 svn:log V 35 Build the drm module also on pc98. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-03-09T10:15:11.000000Z K 7 svn:log V 57 Merged from sys/dev/sio/sio.c revisions 1.387 and 1.388. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-03-09T10:18:15.000000Z K 7 svn:log V 54 Merged from sys/dev/syscons/syscons.c revision 1.396. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-03-09T10:20:16.000000Z K 7 svn:log V 24 MFi386: revision 1.1079 END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T10:28:05.000000Z K 7 svn:log V 142 Add one little hack to allow us to make MAJOR_AUTO be zero: Let the console driver ask for major 256 and magically change this to mean zero. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T10:29:20.000000Z K 7 svn:log V 220 Define MAJOR_AUTO as zero, which means that leaving out an initialization of d_maj means "allocate major number automatically". Keep the definition of MAJOR_AUTO to make life easier for cross-branch source maintainers. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T11:03:45.000000Z K 7 svn:log V 294 Note that MAJOR_AUTO is now the default if d_maj is not initialized. This is more robust and prevents the hijacking of /dev/console for the typical mistake. Remove unneeded MAJOR_AUTO uses, it is only needed explicitly now if the driver source has cross-branch compatibility to old releases. END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-03-09T11:14:34.000000Z K 7 svn:log V 31 Add missing module dependency. END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-03-09T11:19:18.000000Z K 7 svn:log V 104 Fix duplicate sc_dying usage. All drivers which depend on ucom interfaces should use only one sc_dying. END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-03-09T11:33:26.000000Z K 7 svn:log V 139 Fix page fault with FTDI's USB serial device. Fix lost characters counting. Move setting receiver state to proper place on ucomstopread(). END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2003-03-09T11:50:27.000000Z K 7 svn:log V 109 Fix device freeze to reduce output packet size. And make this value configurable by kernel config or sysctl. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-09T15:08:47.000000Z K 7 svn:log V 423 Print FYI messages on stderr. Previously, they were printed on stdout, and due to buffering they would sometimes come out after the actual error message when mkheaders() failed due to an unknown device, so you'd get an error messages followed by 20 or 30 lines of harmless warnings. There are lots of other warning messages in config(8) that are printed on stdout, but these were the most egregious (at least with LINT). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-03-09T19:56:21.000000Z K 7 svn:log V 44 style.Makefile(5) police. Reviewed by: des END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-03-09T20:06:38.000000Z K 7 svn:log V 105 style.Makefile(5) police (I've tried to keep to the spirit of the original formatting) Reviewed by: des END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-03-09T20:38:56.000000Z K 7 svn:log V 366 Remove some unnecessary actions by the zero-copy setup and teardown code. Remove an incorrect comment. (Incrementing an object's reference count does not prevent a process from exiting. The real concern here is that the physical page must not be deleted until transmission is complete. That is already handled by the VM system and sf_buf_free().) Tested by: ken END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-09T20:42:49.000000Z K 7 svn:log V 50 Don't call make_dev() before we are ready for it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-09T21:39:52.000000Z K 7 svn:log V 35 Get rid of the randomizing factor. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-09T21:41:30.000000Z K 7 svn:log V 29 Make usage() match SYNOPSIS. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-03-09T21:56:55.000000Z K 7 svn:log V 147 Post KerberosIV de-orbit: Clean up Kerberos5. We dont need KerberosIV compatiblity mode anymore. Rename the k5foo utils to kfoo (after repo-copy). END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-03-09T22:49:48.000000Z K 7 svn:log V 814 Add a a sysctl, hw.kbd.keymap_restrict_change, which acts a bit like secure level but which restricts changes to the keymap. Its values impose the following restrictions: 0: No restriction - this is the default. 1: Only root can change restricted keys (like boot, panic, ...) 2: Only root can change restricted keys and regular keys. Other users still can change accents and function keys. 3: Only root can change restricted keys, regular keys and accents. 4: Only root can change any of the keymap (restricted keys, regular keys, accents and function keys). Unfortunately, the keyboard's accent map is cleared when a new keymap is loaded, which makes the distinction between level 3 and level 4 less useful. The MAC guys might like to make this a policy? No objections from: -audit about 6 moths ago END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-03-10T01:58:31.000000Z K 7 svn:log V 217 Fix two rounds of breakages and cleanup. Remove the sccdebug sysctl while I'm here and garbage collect dead code (ssc_clone). Define d_maxsize as DFLTPHYS for now because that's what it will be if we don't define it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-03-10T02:18:25.000000Z K 7 svn:log V 605 MFC: If d_foo == NULL, then set it to nofoo. This makes a few checks in the tree like (sc->d_foo != NULL) sc->d_foo(...); obsolete. Given the lateness of the hour before the release, those are not cleaned up. This allows one to more easily share drivers between branches since you can use the c99 initializers .d_foo = drv_foo; w/o the need to have explicit nofoo entries. No version bump is done on -stable since I'm piggy backing on the release version bump because we are so close. Again, minimal change. This has booted on a couple of test machines, and it appears safe. Approved by: re@ (jhb) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-03-10T06:55:48.000000Z K 7 svn:log V 247 MFC the latest fix which deals with the newly created login.conf.db, and proactively with the *.db files to come. This is a slightly improved version of the comment, which more clearly explains the purpose of the update. Approved by: re (murray) END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-10T08:20:14.000000Z K 7 svn:log V 53 Dont use r_bmio on Cyrix chips if not set from BIOS. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-10T08:20:57.000000Z K 7 svn:log V 70 Remove the enclose_print() call, it is already called from ata-disk.c END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-10T09:15:08.000000Z K 7 svn:log V 43 Silence warning caused by OPIE brokenness. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-10T09:15:26.000000Z K 7 svn:log V 25 Somewhat better wording. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-10T09:19:08.000000Z K 7 svn:log V 70 This module is not WARNS-clean, due to brokenness in OpenSSL headers. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-10T10:54:36.000000Z K 7 svn:log V 128 MFp4: Pentium-optimised implementation of wcscmp(). Performs significantly better than the code generated by gcc in many cases. END K 10 svn:author V 3 dcs K 8 svn:date V 27 2003-03-10T13:47:43.000000Z K 7 svn:log V 61 We were low on regex jokes. Now we are *really* low on them. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-10T17:03:57.000000Z K 7 svn:log V 351 Now that we have WITNESS_WARN(), we only call witness_list() from the ddb 'show locks' command. Thus, move witness_list() to the #ifdef DDB section and remove extra checks for calling this function outside of DDB. Also, witness_list() now returns void instead of returning an int. Reported by: Steve Ames Prodded by: davidxu END K 10 svn:author V 6 archie K 8 svn:date V 27 2003-03-10T17:55:48.000000Z K 7 svn:log V 102 MFC: (rev. 1.45) Fix use-after-free bug that could break fragment reassembly. Approved by: re (bmah) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-10T19:39:53.000000Z K 7 svn:log V 134 Make malloc and mbuf allocation mode flags nonoverlapping. Under INVARIANTS whine if we get incompatible flags. Submitted by: imp END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-03-10T19:43:56.000000Z K 7 svn:log V 112 Don't error out the build if removing a "stale" symlink fails. Pointy hat for breaking my installworld: nectar END K 10 svn:author V 4 fanf K 8 svn:date V 27 2003-03-10T19:58:37.000000Z K 7 svn:log V 139 At the risk of serious physical abuse from markm, add another regex joke, but s/regex/regular expression/g for terminological consistency. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-10T20:24:54.000000Z K 7 svn:log V 227 PHCC[1]: I had commented the #ifdef INVARIANTS checks out to make sure I ran this code in all kernels and forgot to comment the #ifdefs back in before I committed. Spotted by: bmilekic [1] PHCC = Pointy Hat Correction Commit END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-03-10T21:55:00.000000Z K 7 svn:log V 29 Remove trainling whitespace. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-03-10T23:25:54.000000Z K 7 svn:log V 92 "Or" is expressed with 2 separate config lines. Reported by: Stijn Hoop END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-10T23:34:12.000000Z K 7 svn:log V 51 Fix yet another fallout of our M_* song and dance. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-03-10T23:41:41.000000Z K 7 svn:log V 189 If we run out of consumers while orphaning them, and the provider's geom is withering, destroy the provider when done. This was exposed by the recent change to geom_dev's orphaning logic. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-11T00:07:53.000000Z K 7 svn:log V 72 Fix threaded process job control bug. SMP tested. Reviewed by: julian END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-11T00:10:22.000000Z K 7 svn:log V 110 Fix long standing job control bug. SIGTSTP shouldn't be ignored. Special instructions tested: suspend stop $$ END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-03-11T01:38:17.000000Z K 7 svn:log V 53 Update Radeon PCI IDs and naming from pciids.sf.net. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-03-11T01:41:33.000000Z K 7 svn:log V 66 usbdevs entry for Asahi Optical OPTIO 230 digital camera. Regen. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-03-11T01:55:11.000000Z K 7 svn:log V 267 Quirk for Pentax Optio 230 USB camera. Note that other products probably use the underlying AsahiOptical USB chip and thus this quirk may need to be generalized in the future. PR: kern/46369 Submitted by: Tim Vanderhoek MFC After: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-03-11T02:07:17.000000Z K 7 svn:log V 133 Quirk for SanDisk ImageMate II compact flash reader PR: kern/47877 Submitted by: Mike Durian MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-11T02:59:50.000000Z K 7 svn:log V 48 Fix signal delivering bug for threaded process. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-11T03:16:02.000000Z K 7 svn:log V 39 Lock proc lock before changing p_flag. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-11T06:01:44.000000Z K 7 svn:log V 563 This is a force-commit for: kern_sig.c 1.215 kern_thread.c 1.103 kern_exit.c 1.199 proc.h 1.302 Orignal code would suspend an already suspended thread, if user presses ^Z while a threaded program is running. Also there is a race between job control and thread_exit(), the new code tests job control requesting before thread exits, in wait() syscall, be sure to check child process is fully stopped, this avoids a later SIGCHILD and returns STOPPED status twice for a threaded child proc. A thread_stopped() function is added for common code in several places. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-11T06:14:03.000000Z K 7 svn:log V 389 - Regularize variable usage in cluster_read(). - Issue the io that we will later block on prior to doing cluster read ahead so that it is more likely to be ready when we block. - Loop issuing clustered reads until we've exhausted the seq count supplied by the file system. - Use a sysctl tunable "vfs.read_max" to determine the maximum number of blocks that we'll read ahead. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-11T08:20:58.000000Z K 7 svn:log V 142 Don't parse the proxy URL unless we're actually going to use it. No real functional difference, but debugging output will be less confusing. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-11T08:21:16.000000Z K 7 svn:log V 28 Clarify that -r implies -R. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-11T08:21:51.000000Z K 7 svn:log V 77 Clean up the ETA logic a bit and make sure it works for restarted transfers. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-03-11T09:12:55.000000Z K 7 svn:log V 323 Make uhci_waitintr() robust to interrupts being enabled, even though it is expected that they will not be enabled at the time that it is called. This is reported to work around a problem in RELENG_4 where the kernel panics on boot if FAST_IPSEC and crypto support are enabled. Tested by: Scott Johnson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-03-11T09:16:51.000000Z K 7 svn:log V 87 Reset SIGTSTP handler to default both for parent and child process. Submitted by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-11T11:14:34.000000Z K 7 svn:log V 14 No tabs here. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-11T11:35:24.000000Z K 7 svn:log V 69 Fix style bugs in the previous commit (which weren't in bde's patch) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-11T11:37:07.000000Z K 7 svn:log V 114 Revert rev. 1.244 change -- only build kgzip(8) on i386. (The cross-release needs will be satisfied another way.) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-11T11:45:43.000000Z K 7 svn:log V 216 Convert kgzip(8) to be an i386 cross-tool. This is needed for cross-releasing i386 on different architectures. This version provides an i386 version of , and handles endianness. Tested on: alpha, sparc64 END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-03-11T11:46:51.000000Z K 7 svn:log V 228 Partial sync with FireWire driver in current. - Improve SBP device probing. - Fix several SBP related problems. - Simplify ORB queue management. Approved by: re (murray) if_fwe related changes are still waiting for approval. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-11T12:09:25.000000Z K 7 svn:log V 144 FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch up with this further by excluding /modules from the (default) kern.module_path. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-11T13:48:58.000000Z K 7 svn:log V 210 Make this work on different endianness machines. Tested on: sparc64 : FreeBSD/i386 bootstrap loader, Revision 1.1 : (ru@panther.freebsd.org, Tue Mar 11 05:31:14 PST 2003) : Loading /boot/defaults/loader.conf END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-03-11T15:08:30.000000Z K 7 svn:log V 117 Additional AC97 Codec ids. PR: kern/48907 Submitted by: Colin Perkins Approved by: re (murray) END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-03-11T15:15:41.000000Z K 7 svn:log V 181 MFC rev 1.88: Replicate OSS behaviour when rate settings fails. Submitted by: Chun-Ying Huang PR: kern/26563, kern/48927 Approved by: re (murray) END K 10 svn:author V 8 takawata K 8 svn:date V 27 2003-03-11T16:49:06.000000Z K 7 svn:log V 124 Add _HID of IrDA module and Pen tablet on Tablet PC Acer Travel Mate C100. Sponsored by: ACER ,Alpha Omega, MYCOM , Synnex END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-03-11T17:13:33.000000Z K 7 svn:log V 302 Remove bogus UNLOCK in if_wi.c. Since we no longer WILOCK() in the attach routine, calling WIUNLOCK in the error case of one of the ifs for that routine is now bogus. This should have been removed when the WILOCK() was removed, but wasn't. Submitted by: "Harti Brandt" END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-03-11T17:19:37.000000Z K 7 svn:log V 173 Back out rev 1.60, taking the pointy hat away from nectar as 'rm -f' doesn't need to be prefixed with '-'. Keep the pointy hat for myself for not reading the code closely. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T18:42:20.000000Z K 7 svn:log V 51 add simple program to dump ubsec driver statistics END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T18:43:24.000000Z K 7 svn:log V 47 correct output byte count statistic collection END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T18:49:50.000000Z K 7 svn:log V 67 use relative pathname to driver-private file (instead of absolute) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T18:51:50.000000Z K 7 svn:log V 221 Sync recent changes from current: o add #ifdef to ubsecvar.h for ubsecstats tool o add 5801 and 5802 pci id's that fell of the track somewhere o correct collection of output bytes statistic Approved by: re (murray, jhb) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T19:16:42.000000Z K 7 svn:log V 38 manual page for rndtest driver/module END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T19:26:16.000000Z K 7 svn:log V 579 FIPS 140-2 rng data tester for h/w crypto devices. This driver periodically monitors the entropy data harvested by crypto drivers to verify it complies with FIPS 140-2. If data fails any test then the driver discards it and commences continuous testing of harvested data until it is deemed ok. Results are collected in a statistics block and, optionally, reported on the console. In normal use the overhead associated with this driver is not noticeable. Note that drivers must (currently) be compiled specially to enable use. Obtained from: original code by Jason L. Wright END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-03-11T19:43:38.000000Z K 7 svn:log V 158 Use bus_space_handle_t to represent host port and virtual addresses; bus_addr_t may not be appropriate. Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T19:56:16.000000Z K 7 svn:log V 45 Trim leading "../" sequences from filenames. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T20:00:37.000000Z K 7 svn:log V 135 Use the KTR_LOCK mask for logging events via KTR in lockmgr() rather than KTR_LOCKMGR. lockmgr locks are locks just like other locks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T20:01:51.000000Z K 7 svn:log V 64 Use a shorter and less redundant name for the sysctl tree lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T20:02:57.000000Z K 7 svn:log V 159 Axe the useless MTX_SLEEPABLE flag. mutexes are not sleepable locks. Nothing used this flag and WITNESS would have panic'd during mtx_init() if anything had. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T20:07:22.000000Z K 7 svn:log V 87 Retire the KTR_LOCKMGR bit and use it to log eventhandler messages instead as KTR_EVH. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-11T20:12:39.000000Z K 7 svn:log V 52 Fix and sync SYNOPSIS and usage(). Prodded by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T20:17:00.000000Z K 7 svn:log V 1745 Rework the eventhandler locking for hopefully the last time. The scheme used popped into my head during my morning commute a few weeks ago, but it is also very similar (though a bit simpler) to a patch that mini@ developed a while ago. Basically, each eventhandler list has a mutex and a run count. During an eventhandler invocation, the mutex is held while we traverse the list but is dropped while we execute actual handlers. Also, a runcount counter is incremented at the start of an invocation and decremented at the end of an invocation. Adding to the list is not a big deal since the reference of a thread currently executing the handlers remains valid across an add operation. Whether or not new handlers are executed by threads currently executing the handlers for a given list is indeterminate however. The harder case is when a handler is removed from the list. If the runcount is zero, the handler is simply removed from the list directly. If the runcount is not zero, then another thread is currently executing the handlers of this list, so the priority of this handler is set to a magic value (currently -1) to mark it as dead. Dead handlers are not executed during an invocation. If the runcount is zero after it is decremented at the end of an invocation, then a new eventhandler_prune_list() function is called to remove dead handlers from the list. Additional minor notes: - All the common parts of EVENTHANDLER_INVOKE() and EVENTHANDLER_FAST_INVOKE() have been merged into a common _EVENTHANDLER_INVOKE() macro to reduce duplication and ease maintenance. - KTR logging for eventhandlers is now available via the KTR_EVH mask. - The global eventhander_mutex is no longer recursive. Tested by: scottl (SMP i386) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T20:54:37.000000Z K 7 svn:log V 421 Do the lock order check skip for the LOP_TRYLOCK case after the check for recursing on a lock instead of before. This fixes a bug where WITNESS could get a little confused if you did an sx_tryslock() on a sx lock that you already had an slock on. WITNESS would still function correctly but it could result in weirdness in the output of 'show locks'. This also makes it possible for mtx_trylock() to recurse on a lock. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-03-11T21:13:51.000000Z K 7 svn:log V 138 Sync several manual pages with current. This includes: - Spelling fixes. - Grammar fixes. - The .Nm utility. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2003-03-11T21:33:43.000000Z K 7 svn:log V 113 Use floating point arithmetic to compute the ETA to avoid integer overflow during slow transfers of large files. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T21:38:49.000000Z K 7 svn:log V 107 Adjust style of #ifdef's and #endif's to be more consistent and in line with recent additions to style(9). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T21:53:12.000000Z K 7 svn:log V 71 Trim useless "../" leading strings from filenames passed into witness. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T22:07:35.000000Z K 7 svn:log V 1906 - Split the itismychild() function into two functions: insertchild() adds a witness to the child list of a parent witness. rebalancetree() runs through the entire tree removing direct descendants of witnesses who already have said child witness as an indirect descendant through another direct descendant. itismychild() now calls insertchild() followed by rebalancetree() and no longer needs the evil hack of having static recursed variable. - Add a function reparentchildren() that adds all the direct descendants of one witness as direct descendants of another witness. - Change the return value of itismychild() and similar functions so that they return 0 in the case of failure due to lack of resources instead of 1. This makes the return value more intuitive. - Check the return value of itismychild() when defining the static lock order in witness_initialize(). - Don't try to setup a lock instance in witness_lock() if itismychild() fails. Witness is hosed anyways so no need to do any more witness related activity at that point. It also makes the code flow easier to understand. - Add a new depart() function as the opposite of enroll(). When the reference count of a witness drops to 0 in witness_destroy(), this function is called on that witness. First, it runs through the lock order tree using reparentchildren() to reparent direct descendants of the departing witness to each of the witness' parents in the tree. Next, it releases it's own child list and other associated resources. Finally it calls rebalanacetree() to rebalance the lock order tree. - Sort function prototypes into something closer to alphabetical order. As a result of these changes, there should no longer be 'dead' witnesses in the order tree, and repeatedly loading and unloading a module should no longer exhaust witness of its internal resources. Inspired by: gallatin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T22:14:21.000000Z K 7 svn:log V 1088 - Change witness_displaydescendants() to accept the indentation level as a parameter instead of using the level of a given witness. When recursing, pass an indent level of indent + 1. - Make use of the information witness_levelall() provides in witness_display_list() to use an O(n) algorithm instead of an O(n^2) algo to decide which witnesses to display hierarchies from. Basically, we only display a hierarchy for witnesses with a level of 0. - Add a new per-witness flag that is reset at the start of witness_display() for all witness's and is set the first time a witness is displayed in witness_displaydescendants(). If a witness is encountered more than once in the lock order tree (which happens often), witness_displaydescendants() marks the later occurrences with the string "(already displayed)" and doesn't display the subtree under that witness. This avoids duplicating large amounts of the lock order tree in the 'show witness' output in DDB. All these changes serve to make 'show witness' a lot more readable and useful than it was previously. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-03-11T22:15:10.000000Z K 7 svn:log V 401 Rename vfs_stdsync function to vfs_stdnosync which matches more closely what function is really doing. Update all existing consumers to use the new name. Introduce a new vfs_stdsync function, which iterates over mount point's vnodes and call FSYNC on each one of them in turn. Make nwfs and smbfs use this new function instead of rolling their own identical sync implementations. Reviewed by: jeff END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T22:20:43.000000Z K 7 svn:log V 133 sync with current: reduce default maxbatch setting from 5 to 1 Reviewed by: re (sort of, consider this part of my previous request) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T22:23:19.000000Z K 7 svn:log V 94 gack; revert previous commit; not only did I read things backward but I was in the wrong tree END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-03-11T22:31:35.000000Z K 7 svn:log V 142 Another hunk of -current syncs: - Spelling fixes. - Grammar fixes. - The .Nm utility - Kill whitespace at EOL/EOF Approved by: re (blanket) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-11T22:33:42.000000Z K 7 svn:log V 58 Trim an extra blank line that snuck into the last commit. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T22:47:06.000000Z K 7 svn:log V 284 o add crypto driver glue for using the new rndtest driver/module; this is conditional in each driver on foo_RNDTEST being defined_ o bring HIFN_DEBUG and UBSEC_DEBUG out to be visible options; they control the debugging printfs that are set with hw.foo.debug (e.g. hw.hifn.debug) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T22:54:44.000000Z K 7 svn:log V 579 FIPS 140-2 rng data tester for h/w crypto devices. This driver periodically monitors the entropy data harvested by crypto drivers to verify it complies with FIPS 140-2. If data fails any test then the driver discards it and commences continuous testing of harvested data until it is deemed ok. Results are collected in a statistics block and, optionally, reported on the console. In normal use the overhead associated with this driver is not noticeable. Note that drivers must (currently) be compiled specially to enable use. Obtained from: original code by Jason L. Wright END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-03-11T22:54:45.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-11T23:20:43.000000Z K 7 svn:log V 60 fix module building; drivers now require opt_{ubsec,hifn}.h END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-03-12T02:55:20.000000Z K 7 svn:log V 66 Do not depend on namespace pollution, explicitly include sys/sx.h END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-12T03:55:01.000000Z K 7 svn:log V 60 MFp4: Pentium/Athlon-optimised implementation of wmemchr(). END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-12T06:08:48.000000Z K 7 svn:log V 79 correct malloc flag argument Reported by: Kris Kennaway END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-12T06:41:49.000000Z K 7 svn:log V 26 MFp4: Make `spanp' const. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-12T06:46:16.000000Z K 7 svn:log V 99 MFp4: Reduce code size by 26 bytes by only aligning the jump targets that are at the top of loops. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-03-12T07:38:37.000000Z K 7 svn:log V 605 - Added support for multiple page directory pages to pmap_pinit and pmap_release. - Merged pmap_release and pmap_release_free_page. When pmap_release is called only the page directory page(s) can be left in the pmap pte object, since all page table pages will have been freed by pmap_remove_pages and pmap_remove. In addition, there can only be one reference to the pmap and the page directory is wired, so the page(s) can never be busy. So all there is to do is clear the magic mappings from the page directory and free the page(s). Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 5 seanc K 8 svn:date V 27 2003-03-12T09:28:44.000000Z K 7 svn:log V 196 Update sendfile.2 to include a TUNING section that documents the various tunables that are applicable to sendfile(2). Update tuning.7 to mention a reference to sendfile.2. Approved by: keramida END K 10 svn:author V 3 kjc K 8 svn:date V 27 2003-03-12T10:28:26.000000Z K 7 svn:log V 282 clean up the en driver since it will survice for a while by Harti Brandt's effort. remove the DMA test to detect problems of the first generation PCI chipsets back in 1998. it is no longer needed and has been the source of the false alarm that the driver uses too much stack space. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-03-12T10:36:53.000000Z K 7 svn:log V 50 Put back including sys/devicestat.h for 4-stable. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-03-12T10:59:00.000000Z K 7 svn:log V 135 Sync with FireWire driver in current. - Improve if_fwe RX buffer management. - Improve fwmem timeout handling. Approved by: re (jhb) END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-12T10:59:35.000000Z K 7 svn:log V 53 Dont hang the channel on enclosures without sensors. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-12T11:10:04.000000Z K 7 svn:log V 220 In wait1(), remove the zombie process from zombproc before removing it from its pgrp to avoid leaving zombies around with p_pgrp == NULL. This bug was apparent as a NULL-dereference in the pid selection code in fork1(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-12T11:24:41.000000Z K 7 svn:log V 157 Acquire sched_lock around use of FOREACH_KSEGRP_IN_PROC, accesses to kg_nice and calls to sched_nice() in getpriority() and setpriority() (really donice()). END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-03-12T11:55:46.000000Z K 7 svn:log V 118 Update Judaic calendar for this year. PR: 48297 Submitted by: Josef Grosch Approved by: re END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-12T12:05:17.000000Z K 7 svn:log V 30 Cleanup the probe code a bit. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-03-12T14:18:14.000000Z K 7 svn:log V 187 Document the fact that hdestory calls free on the keys added with hsearch(.., ENTER). Make the example reflect this. PR: 49951 Submitted by: Peter Jeremy END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-12T14:29:15.000000Z K 7 svn:log V 31 Record the BOG death here too. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-12T14:31:36.000000Z K 7 svn:log V 56 Record the sudden death of bsd.kern.mk and bsd.sgml.mk. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-12T14:32:46.000000Z K 7 svn:log V 35 Simplify the assignment statement. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-12T14:37:01.000000Z K 7 svn:log V 23 Update for FILE v3.41. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-03-12T14:45:22.000000Z K 7 svn:log V 55 correct two more flag misuses; m_tag* use malloc flags END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-12T14:47:12.000000Z K 7 svn:log V 75 MFC: Dont hang the channel on enclosures without sensors. Approved by: re END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-03-12T15:11:25.000000Z K 7 svn:log V 86 Correct CS4205 base vendor id. Reported by: Christophe Juniet and Mark Santcroos. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-12T15:45:52.000000Z K 7 svn:log V 74 Correct the last commit, only look for subfunctions on the same PCI slot. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-12T16:14:55.000000Z K 7 svn:log V 418 - Avoid dropping the proc lock around a simple permissions check and just hold hold it across the check to avoid extra lock operations in the common case. - Copy in the new args to a temporary pargs structure before we drop the reference to the old one. Thus, if the copyin() fails, the process arguments are unchanged rather than being deleted. Also, p_args is no longer NULL during the sysctl operation. END K 10 svn:author V 6 glewis K 8 svn:date V 27 2003-03-12T16:59:30.000000Z K 7 svn:log V 24 Happy birthday to me :) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-03-12T17:20:24.000000Z K 7 svn:log V 433 Add initial support for IC Book Labs Dreadnought x16 Pro 16-ports card. Since this card is based on 16750 UART, modify sio(4) a bit to ignore 16750-specific 7th bit of MCR when probing card. This allows card to be detected and attached as 16550A-compatible device. More work needs to be done in order to enable nice 16750-specific features such as larger fifo buffer and higher speeds. Sponsored by: IC Book Labs MFC after: 2 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-03-12T17:56:03.000000Z K 7 svn:log V 156 Correct clock frequency for the IC Book Labs' cards, so that it's possible to use speeds higher than 115200. Sponsored by: IC Book Labs MFC after: 2 weeks END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-03-12T19:22:57.000000Z K 7 svn:log V 193 Ditch a static global and the mutex that protected it. Achieve the desired strptime(3) reentrancy by adding an extra argument to _strptime() instead. Approved by: markm (mentor) MFC: 4 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-03-12T20:17:40.000000Z K 7 svn:log V 312 - Various little style fixes. - If SYSCTL_OUT() fails in sysctl_kern_proc_args(), return the error instead of ignoring it if we have new arguments for the process. - If the new arguments for a process are too long, return ENOMEM instead of returning success but not doing the actual copy. Submitted by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2003-03-12T20:18:32.000000Z K 7 svn:log V 95 Initial import of David Gay's gdtoa library for conversion between strings and floating point. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-03-12T20:18:32.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r112158, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-03-12T20:18:33.000000Z K 7 svn:log V 79 This commit was manufactured by cvs2svn to create tag 'gdtoa-vendor-v20030305'. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-03-12T20:20:22.000000Z K 7 svn:log V 225 Local patches: - include extra system headers and add appropriate #defines - use a spinlock to synchronize parts of gdtoa - protect exported symbols with leading underscores Reviewed by: bde (briefly), mike (mentor), obrien END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-03-12T20:27:28.000000Z K 7 svn:log V 53 Implement the Limited Transmit algorithm (RFC 3042). END K 10 svn:author V 3 das K 8 svn:date V 27 2003-03-12T20:30:00.000000Z K 7 svn:log V 648 Replace our ancient dtoa/strtod implementation with the gdtoa package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien END K 10 svn:author V 3 das K 8 svn:date V 27 2003-03-12T20:31:05.000000Z K 7 svn:log V 108 Document strtof() and strtold(). Update vendor license. Reviewed by: bde (briefly), mike (mentor), obrien END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-03-12T20:44:06.000000Z K 7 svn:log V 51 Document the net.inet.tcp.rfc3042 sysctl variable. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-03-12T22:08:16.000000Z K 7 svn:log V 366 MFC: Syncs and diff reductions with -current. This includes: - Remove an instance of pseudo-device. - Add an EXAMPLES section to boot0cfg.8. - A few spelling fixes. - The .Nm utility. - Eliminate hard sentence breaks. - Fix some mdoc(7) markup. - Change phk's email address to @FreeBSD.org. - Mark up files and pathnames with .Pa macro. Approved by: re (blanket) END K 10 svn:author V 3 das K 8 svn:date V 27 2003-03-12T23:13:16.000000Z K 7 svn:log V 307 - When the VM daemon is out of swap space and looking for a process to kill, don't block on a map lock while holding the process lock. Instead, skip processes whose map locks are held and find something else to kill. - Add vm_map_trylock_read() to support the above. Reviewed by: alc, mike (mentor) END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-03-13T00:30:31.000000Z K 7 svn:log V 48 Pass the correct malloc flags to m_tag_alloc(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-13T00:54:53.000000Z K 7 svn:log V 53 Back out previous. The locking here needs a rethink. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-13T00:57:47.000000Z K 7 svn:log V 172 Tidy up previous change: move comment about obtaining an exclusive reference where it belongs, and remove a blank line to make it more obvious what the comment applies to. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-03-13T01:43:45.000000Z K 7 svn:log V 87 Add support for RFC 3390, which allows for a variable-sized initial congestion window. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-03-13T01:44:58.000000Z K 7 svn:log V 51 Document the net.inet.tcp.rfc3390 sysctl variable. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-03-13T03:10:59.000000Z K 7 svn:log V 169 Sync a few more manual pages with current: - Update hm's email address to @FreeBSD.org - The .Nm utility - Use .Pa for file names and paths. Approved by: re (blanket) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-13T05:49:09.000000Z K 7 svn:log V 90 MFp4: Catch up to recent __dtoa() interface changes and removal of cvt()'s last argument. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T06:17:59.000000Z K 7 svn:log V 281 - Tune down read_max. For single disks we get no gain out of reading more than a MAXPHYS size block ahead. Having this set too high just leaves other processes starved for IO and screws up interactive response. Let the users with RAID set it higher when they need it. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-03-13T06:29:44.000000Z K 7 svn:log V 198 Make sure we actually have a dev before dereferencing in case someone botches and sends us a NULL pointer. The other code in this file seems to expect it to be able to handle it behaving this way. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-13T06:29:53.000000Z K 7 svn:log V 63 MFp4: Implementations of the wcstof() and wcstold() functions. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T07:04:11.000000Z K 7 svn:log V 48 - Lock the buf before inspecting its contents. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T07:05:22.000000Z K 7 svn:log V 44 - Lock bufs before inspecting their flags. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T07:07:16.000000Z K 7 svn:log V 39 - Lock the buf before clearing flags. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T07:19:23.000000Z K 7 svn:log V 597 - Remove a race between fsync like functions and flushbufqueues() by requiring locked bufs in vfs_bio_awrite(). Previously the buf could have been written out by fsync before we acquired the buf lock if it weren't for giant. The cluster_wbuild() handles this race properly but the single write at the end of vfs_bio_awrite() would not. - Modify flushbufqueues() so there is only one copy of the loop. Pass a parameter in that says whether or not we should sync bufs with deps. - Call flushbufqueues() a second time and then break if we couldn't find any bufs without deps. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T07:22:53.000000Z K 7 svn:log V 278 - Remove a dead check for bp->b_vp == vp in vtruncbuf(). This has not been possible for some time. - Lock the buf before accessing fields. This should very rarely be locked. - Assert that B_DELWRI is set after we acquire the buf. This should always be the case now. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-03-13T07:31:45.000000Z K 7 svn:log V 475 - Add a lock for protecting against msleep(bp, ...) wakeup(bp) races. - Create a new function bdone() which sets B_DONE and calls wakup(bp). This is suitable for use as b_iodone for buf consumers who are not going through the buf cache. - Create a new function bwait() which waits for the buf to be done at a set priority and with a specific wmesg. - Replace several cases where the above functionality was implemented without locking with the new functions. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-13T07:55:53.000000Z K 7 svn:log V 27 Add pci id# for the sis648 END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-03-13T09:02:19.000000Z K 7 svn:log V 162 In m_dup_pkthdr(), convert the supplied `how' argument into malloc flags when passing it into m_tag_copy_chain(), as m_tag* functions use malloc, not mbuf flags. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-13T09:04:55.000000Z K 7 svn:log V 87 Dont call dma->free unless dma is there. Spotted by: Ian Dowse END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-13T09:09:10.000000Z K 7 svn:log V 118 Dont free the stats struct, this has been changed by the new stat code. Spotted by: Ian Dowse END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-03-13T09:12:17.000000Z K 7 svn:log V 208 Remove the check for more than one open if one is a write op. This allows using DVD+RW and DVD-RW as random storage, provided the 32K blocksize is honoured for DVD-RW (DVD+RW has built in read-modify-write). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-03-13T10:51:53.000000Z K 7 svn:log V 312 o Partially revert rev. 1.103, fix 'ipfw show': dynamically adjust a width of fields for packets and bytes counters. PR: bin/47196 Reviewed by: -audit Not objected by: luigi, des o Use %llu instead of deprecated %qu convert specification for ipfw packets and bytes counters. Noted by: des MFC after: 1 month END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-03-13T11:18:53.000000Z K 7 svn:log V 167 Document return type of wordfree() (void). Reduce the space between struct member names and the corresponding comments so the lines don't wrap on 80-column terminals. END K 10 svn:author V 3 hsu K 8 svn:date V 27 2003-03-13T11:46:57.000000Z K 7 svn:log V 141 Greatly simplify the unlocking logic by holding the TCP protocol lock until after FIN_WAIT_2 processing. Helped with debugging: Doug Barton END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-03-13T11:47:31.000000Z K 7 svn:log V 129 Complete the endianness support -- sparc64 can now do i386. Tested on: sparc64 -> i386, i386 -> sparc64 Debugged by: elfdump(1) END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-03-13T12:44:06.000000Z K 7 svn:log V 480 This corrects a longstanding endian bug in processing LLC/SNAP encoded frames. A comment in if_atm.h suggests that both macros, that for extracting the ethertype and that for inserting it, handle their argument in host byte order. In fact, the inserting macro treated its argument as an opposite host order short and the calling code feeds it the result of htons(). This happens to work on i386, but fails on sparc. Make the macro use real host endianess. Reviewed by: kjc, atm@ END K 10 svn:author V 5 tobez K 8 svn:date V 27 2003-03-13T15:14:56.000000Z K 7 svn:log V 86 Fix two minor mismatch reporting output errors. Reviewed by: phk MFC After: 3 weeks END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-03-13T17:10:54.000000Z K 7 svn:log V 89 Memory allocated with contigmalloc() should be freed with contigfree(), not with free(). END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-03-13T17:18:48.000000Z K 7 svn:log V 127 Grab Giant around calls to contigmalloc() and contigfree() so that drivers converted to be MP safe don't have to deal with it. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-03-13T18:05:37.000000Z K 7 svn:log V 196 Sync with -current: - Clean up mdoc(7) formatting. - MFC the BUGS section and some reordering of sections in fmtcheck.3 - Some grammar fixes. - Use .Fn where required. Approved by: re (blanket) END