ƒ°o137186 207 117 111 103 154 405 185 379 165 235 283 205 157 119 230 172 122 473 121 118 152 111 142 201 154 192 123 140 137 210 217 160 176 176 139 173 150 174 123 164 163 211 134 144 150 422 268 389 526 115 132 259 133 158 1728 218 153 257 241 354 244 227 134 926 230 395 415 245 116 197 265 188 195 219 219 386 192 142 313 217 241 212 525 554 506 192 114 135 269 168 258 174 973 213 215 136 153 194 127 122 134 130 175 610 358 475 164 447 293 151 306 171 418 199 750 282 269 222 187 174 182 117 129 262 428 229 168 167 246 245 231 158 182 134 372 124 131 203 163 175 228 129 145 167 262 119 233 166 218 124 271 133 134 187 125 132 116 154 139 223 271 132 142 148 594 190 128 157 451 384 249 469 200 125 134 633 140 168 127 445 263 163 435 264 614 142 618 366 526 133 154 133 139 705 399 1395 1461 936 357 190 632 274 412 150 250 221 154 256 K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T07:59:57.000000Z K 7 svn:log V 25 Remove buf->b_dev field. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-04T08:25:03.000000Z K 7 svn:log V 20 Fixed "make clean". END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T08:25:52.000000Z K 7 svn:log V 11 whitespace END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-11-04T08:29:28.000000Z K 7 svn:log V 62 Fix markup: .Dv -> .Va Update document dates. Prodded by: ru END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-04T08:34:57.000000Z K 7 svn:log V 308 Add glibc-style strftime(3) padding specifiers, namely, -(no padding), _(use space as padding), and 0(zero padding). These GNU extensions are widely used ones that is worthy for us to have. Discussed with: stefanf, roam, -current Approved by: murray Prodded by: ports/72722, ports/72723 MFC After: 1 month END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T08:38:07.000000Z K 7 svn:log V 93 De-couple our I/O bio request from the embedded bio in buf by explicitly copying the fields. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-04T08:38:34.000000Z K 7 svn:log V 282 Bump __FreeBSD_version after addition of glibc-style strftime(3) padding specifiers. This helps the port team to decide whether to use local patch for applications that makes use of these GNU extensions (and hopefully we can get rid of these patches finally) Requested by: marcus END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T09:06:54.000000Z K 7 svn:log V 73 Change buf->b_object to buf->b_bufobj->bo_object some whitespace fixes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T09:11:22.000000Z K 7 svn:log V 142 Don't grab the exclusive bit on a root filesystem until we are willing to mount it. Doing so prevented fsck to be run after a refused mount. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T09:17:55.000000Z K 7 svn:log V 190 Add back securelevel check for disks. XXX: This should live in geom_dev.c but we don't have access to the cred there. XXX: XXX: This may not matter anymore since filesystems use geom_vfs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T09:37:50.000000Z K 7 svn:log V 112 Eliminate the embedded struct bio in struct buf. Saves approx 100-170 bytes per buf depending on architecture. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T09:48:18.000000Z K 7 svn:log V 65 Retire b_magic now, we have the bufobj containing the same hint. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T09:57:21.000000Z K 7 svn:log V 27 Remove unused vinum files. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-04T12:33:55.000000Z K 7 svn:log V 135 Adapt to the new ng_timeout/ng_untimeout arguments. These now use the callout instead of the timeout interface. Submitted by: glebius END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T12:46:46.000000Z K 7 svn:log V 80 Ups! Forgot to put "sbin" on the commit line: Remove userland vinum(8) stuff. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T12:57:40.000000Z K 7 svn:log V 30 Remove references to NO_VINUM END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-04T12:57:41.000000Z K 7 svn:log V 378 Remove the remote stuff from make. This actually never worked in our make because the necessary files were not imported with the original import. If somebody really needs it, there is still the devel/pmake port. This is just the first step and removes just everything that is ifdef'ed out. Otherwise the code is unchanged. Checked by: md5 Approved by: no objections on arch@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T12:59:16.000000Z K 7 svn:log V 29 remove vinum startup script. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T13:32:24.000000Z K 7 svn:log V 26 Remove another vinum file END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-04T13:33:29.000000Z K 7 svn:log V 61 Sync up with vinum(8) and rc.d/vinum removal. OK'ed by: phk END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-04T13:34:06.000000Z K 7 svn:log V 19 Remove vinum bits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-04T14:47:15.000000Z K 7 svn:log V 51 Sync up with gdbinit.vinum removal. OK'ed by: phk END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-11-04T15:09:27.000000Z K 7 svn:log V 108 New errata: bsdtar(1) does not detect the end of a media. Reported by: oliver Approved by: re (implicitly) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-04T15:20:26.000000Z K 7 svn:log V 61 MFi386: revision 1.420 (Reduce annoying SCSI probing delay). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-11-04T15:46:59.000000Z K 7 svn:log V 97 Fix braino where I didn't fix the file path from when the line was copied from the test program. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T18:48:52.000000Z K 7 svn:log V 28 Get kernel modules to work. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-04T18:51:30.000000Z K 7 svn:log V 45 Move back up to 5.3-RELEASE Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-04T18:52:55.000000Z K 7 svn:log V 42 New date for 5.3-RELEASE Approved by: re END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T18:59:02.000000Z K 7 svn:log V 114 Implement cpu_set_upcall and cpu_set_upcall_kse. Calculate td_frame and td_pcb the right way in cpu_thread_setup. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:04:30.000000Z K 7 svn:log V 121 Implement cpu_thread_siginfo() and set_mcontext(). Nuke getframe(), and choose which stack to use directly in sendsig(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:07:28.000000Z K 7 svn:log V 65 Use casts to enforce the return type of bswap16() and bswap32(). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-04T19:10:51.000000Z K 7 svn:log V 81 Update the BSD family tree for OpenBSD 3.6 and the new 5.3 date Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-04T19:11:55.000000Z K 7 svn:log V 81 Update the BSD Family tree for OpenBSD 3.6 and the new 5.3 date Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-04T19:12:41.000000Z K 7 svn:log V 44 Oops, correct date for 5.3 Approved by: re END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-11-04T19:12:42.000000Z K 7 svn:log V 77 This commit was manufactured by cvs2svn to create tag 'RELENG_5_3_0_RELEASE'. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-11-04T19:12:43.000000Z K 7 svn:log V 57 Grammatical and spelling improvements. Reviewed by: pjd END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:14:50.000000Z K 7 svn:log V 79 Try to implement atomic operations using swp, instead of disabling interrupts. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:15:43.000000Z K 7 svn:log V 28 Implement get_cyclecount(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:16:31.000000Z K 7 svn:log V 69 Don't barf if no CPU type is defined while compiling kernel modules. END K 10 svn:author V 4 paul K 8 svn:date V 27 2004-11-04T19:18:19.000000Z K 7 svn:log V 70 Add support for following more than one file i.e. tail -f file1 file2 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:18:50.000000Z K 7 svn:log V 115 Use interrupts_disable() and interrupts_restore() as intr_disable() and intr_restore() instead of re-implement it. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:19:21.000000Z K 7 svn:log V 39 Decrease KSTACK_PAGES and UAREA_PAGES. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:19:44.000000Z K 7 svn:log V 49 Directly use __pcpu for PCPU_* instead of pcpup. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-04T19:20:54.000000Z K 7 svn:log V 55 Protect the function declarations with #ifdef _KERNEL. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-04T21:30:18.000000Z K 7 svn:log V 325 Partically backout previous commit. Since _callout_stop_safe() clears out c->c_func, we can't take it after callout_stop(). To take it before we need to acquire callout_lock, to avoid race. This commit narrows down area where lock is held, but hack is still present. This should be redesigned. Approved by: julian (mentor) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-04T22:13:16.000000Z K 7 svn:log V 171 Don't forget to turn off P_SINGLE_BOUNDARY for thread_single(SINGLE_EXIT), otherwise a threaded process which calls execv() will hang in kernel and may can not be killed! END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-04T22:20:21.000000Z K 7 svn:log V 292 - Use stailqueue for sockets instead of socket buffer. Thus remove limit for 20 sockets. - Add possibility to specify file mode for sockets created with '-l'. - Check that socket name in '-l' is absolute. Reviewed by: dwmalone, Andrea Campi Approved by: julian (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-04T23:09:57.000000Z K 7 svn:log V 429 Protect against local flooder of /var/run/log. Do not loop forever in syslog(3) if we are a priveleged program (sshd, su, etc.). - Make syslogd open an additional socket /var/run/logpriv, with 0600 permissions. - In libc, try to use this socket. - Do not loop forever if we are using this socket (partial backout of 1.31) Reviewed by: dwmalone, Andrea Campi Approved by: julian (mentor) MFC after: 1 month END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:16:40.000000Z K 7 svn:log V 18 Update a comment. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:23:18.000000Z K 7 svn:log V 35 archive.h gets built in ${.OBJDIR} END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:26:30.000000Z K 7 svn:log V 161 Clean up the error handling in the write path. In particular, this should solve some problems people have seen with bsdtar not exiting on various write errors. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:29:36.000000Z K 7 svn:log V 36 Revert 1.24: Brain glitch. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:32:04.000000Z K 7 svn:log V 61 Remove the unused archive_string_sprintf() utility function. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-11-05T05:36:56.000000Z K 7 svn:log V 1634 Close a race in swapoff(). Here are the gory details: In order to avoid livelock, swapoff() skips over objects with a nonzero pip count and makes another pass if necessary. Since it is impossible to know which objects we care about, it would choose an arbitrary object with a nonzero pip count and wait for it before making another pass, the theory being that this object would finish paging about as quickly as the ones we care about. Unfortunately, we may have slept since we acquired a reference to this object. Hack around this problem by tsleep()ing on the pointer anyway, but timeout after a fixed interval. More elegant solutions are possible, but the ones I considered unnecessarily complicate this rare case. Also, kill some nits that seem to have crept into the swapoff() code in the last 75 revisions or so: - Don't pass both sp and sp->sw_used to swap_pager_swapoff(), since the latter can be derived from the former. - Replace swp_pager_find_dev() with something simpler. There's no need to iterate over the entire list of swap devices just to determine if a given block is assigned to the one we're interested in. - Expand the scope of the swhash_mtx in a couple of places so that it isn't released and reacquired once for every hash bucket. - Don't drop the swhash_mtx while holding a reference to an object. We need to lock the object first. Unfortunately, doing so would violate the established lock order, so use VM_OBJECT_TRYLOCK() and try again on a subsequent pass if the object is already locked. - Refactor swp_pager_force_pagein() and swap_pager_swapoff() a bit. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:38:15.000000Z K 7 svn:log V 120 Makefile tweaks: * Update Version * Add a missing MLINK * Fix 'distfile' target so it works from a clean checkout END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-05T05:39:37.000000Z K 7 svn:log V 56 Correct error handling on failed writes to the archive. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-05T05:40:45.000000Z K 7 svn:log V 164 Eliminate another unnecessary call to vm_page_busy() that immediately precedes a call to vm_page_rename(). (See the previous revision for a detailed explanation.) END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-05T06:24:05.000000Z K 7 svn:log V 148 During traversal of the inactive queue, try locking the page's containing object before accessing the page's flags or the object's reference count. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-05T06:52:29.000000Z K 7 svn:log V 261 Two changes to vm_pgmoveco(): - Eliminate an initialized but unused variable. - Eliminate an unnecessary call to clear the page's PG_BUSY flag. (The call to vm_page_rename() already clears the page's PG_BUSY flag through its call to vm_page_remove().) END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-05T07:24:11.000000Z K 7 svn:log V 148 Fix support for the Asus-compatible gadgets in Samsung P30/P35 laptops. PR: 73380 Submitted by: Sebastian Schulze Struchtrup END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-11-05T07:35:31.000000Z K 7 svn:log V 134 - Make the header conform to standard rc.d style. - The 'before ipfw' directive seems bogus, and should instead be 'before rcconf'. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-05T08:03:34.000000Z K 7 svn:log V 39 Sync acpi_asus(4) manual with reality. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T09:05:15.000000Z K 7 svn:log V 833 MFp4: - Fix for good (I hope) force-stopping mirrors and some filure cases (e.g. the last good component dies when synchronization is in progress). Don't use ->nstart/->nend consumer's fields, as this could be racy, because those fields are used in g_down/g_up, use ->index consumer's field instead for tracking number of not finished requests. Reported by: marcel - After 5 seconds of idle time (this should be configurable) mark all dirty providers as clean, so when mirror is not used in 5 seconds and there will be power failure, no synchronization on boot is needed. Idea from: sorry, I can't find who suggested this - When there are no ACTIVE components and no NEW components destroy whole mirror, not only provider. - Fix one debug to show information about I/O request, before we change its command. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-11-05T10:18:05.000000Z K 7 svn:log V 136 Check that ee's standard input and output is a terminal. Do not ignore all the signals in range [1..24]. PR: 65892 MFC after: 2 weeks END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-11-05T10:45:23.000000Z K 7 svn:log V 302 When the last line of a file is missing a newline in -f mode, pass a length argument to mbrtowc() that accounts for the terminating newline character we add automatically. Failing to do this caused the loop to unexpectedly run out of characters and incorrectly signal an "Illegal byte sequence" error. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T10:55:04.000000Z K 7 svn:log V 322 - Add a sysctl kern.geom.mirror.idletime, so one can specify after how many seconds of idling, DRITY flags are removed. - If mirror is in idle state or is not open for writing, sleep without timeout when waiting for I/O requests. - Don't use atomic operations, for now sysctls are protected by Giant. - Update debugs. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-05T11:41:36.000000Z K 7 svn:log V 150 Now with the remote job support removed there can be no remote jobs and no jobs that need to be remigrated. Remove the flags and the associated code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T12:31:32.000000Z K 7 svn:log V 24 Remove unused #include. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T12:35:21.000000Z K 7 svn:log V 104 Use shutdown hooks to mark mirrors as clean after all file systems are unmounted. Suggested by: scottl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T12:38:27.000000Z K 7 svn:log V 172 Stop method for swap1 script was introduced, because gmirror needed it. Now gmirror use shutdown hooks to mark mirrors as clean on shutdown, so this is not needed anymore. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T12:42:16.000000Z K 7 svn:log V 96 - Use ->index consumer's field to track number of in-flight requests. - Remove unused #include. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T13:01:25.000000Z K 7 svn:log V 102 Mark raid3 devices as clean on shutdown (after all file systems are unmounted). Suggested by: scottl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T13:12:58.000000Z K 7 svn:log V 126 - Mark all raid3 components as clean after kern.geom.raid3.idletime seconds. - Make kern.geom.raid3.timeout variable tunable. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T17:18:39.000000Z K 7 svn:log V 126 Don't forget to make sure that there are no not-finished requests before marking components as clean. Pointed out by: scottl END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-11-05T18:09:19.000000Z K 7 svn:log V 292 Correct the instructions for automated X setup: use 'configXSetup' instead of 'configXEnvironment', and add 'configXDesktop'. Not applicable to 5.x or 6.x, since the X configuration stuff has been ripped out of sysinstall(8) there. PR: 62665 Submitted by: makham END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-05T18:24:01.000000Z K 7 svn:log V 98 MFi386: rev 1.61 (scottl): Add KTR tracing rev 1.62 (scottl): Optimize (td->pmap, inlines, etc) END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-05T18:25:22.000000Z K 7 svn:log V 48 MFi386 1.238 (jhb): Allow hints to disable cpus END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-05T18:29:10.000000Z K 7 svn:log V 218 Bind to cpu0 for boot() processing. (Note this is reboot, not startup) This means we'll always call the event hooks, device_shutdown etc on the BSP and theoretically means we can de-cruftify the cpu_reset_proxy stuff. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T18:29:45.000000Z K 7 svn:log V 121 In cpu_critical_fork_exit(), make sure to set td_md.md_critnest so that interrupts will be enabled. Spotted out by: jhb END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T18:32:14.000000Z K 7 svn:log V 145 Walk through the snp softc list instead of abusing tp->ts_c to find the snp attached to a tty. This fixes the panic that happens when using snp. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-05T19:00:23.000000Z K 7 svn:log V 117 Restrict the sched_bind to cpu 0 to i386 and amd64 for now. I forgot that alpha still doesn't use logical cpu id's. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-05T19:11:24.000000Z K 7 svn:log V 432 - Make setting of IT_ENTROPY a bit simpler in ithread_update(). - Tweak the updating of the ithread name in ithread_update() so that the '+' and '*' characters for device names that were too short only get added at the end after as many device names as possible were fit into the allocated space. Prior to this, some long devices would result in '+' chars showing up between two different devices rather than at the end. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-05T19:14:02.000000Z K 7 svn:log V 461 - Set the priority of the page zeroing thread using sched_prio() when the thread is created rather than adjusting the priority in the main function. (kthread_create() should probably take the initial priority as an argument.) - Only yield the CPU in the !PREEMPTION case if there are any other runnable threads. Yielding when there isn't anything else better to do just wastes time in pointless context switches (albeit while the system is idle.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-05T19:16:44.000000Z K 7 svn:log V 413 - Add a new MD per-CPU field for Alpha 'pal_id' which is the PAL ID associated with each processor. This ID is inferred from the index of the pcs structure in the hwprb. - Give Alpha CPUs FreeBSD CPU IDs more like other architectures where the boot processor is always CPU 0 and the other processors are numbered 1 ... N. List active CPUs in the system in cpu_mp_announce() as well. Silence on: alpha@ END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T19:48:40.000000Z K 7 svn:log V 97 Call pmap_pte_init_arm9 instead of pmap_pte_init_generic if ARM9_CACHE_WRITE_THROUGH is defined. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T19:50:48.000000Z K 7 svn:log V 19 Implement casuptr. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T19:51:23.000000Z K 7 svn:log V 40 Be more verbose about cache capacities. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T19:52:55.000000Z K 7 svn:log V 173 If we're still running at the physical address, jump to the virtual address instead before calling initarm(). This removes the need to map virtual == physical in initarm(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T19:54:13.000000Z K 7 svn:log V 73 Save a few cycles in context switch. Update comments to reflect reality. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T19:57:10.000000Z K 7 svn:log V 162 Copy the syscall args in a tmp variable instead of directly using the trapframe, as it can be modified in the syscall. Call thread_user_enter() when appropriate. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-05T20:15:06.000000Z K 7 svn:log V 82 Don't change the priority to PUSER when sleeping, just keep the current priority. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-05T20:19:58.000000Z K 7 svn:log V 880 - Store threads on sleep queues in FIFO order rather than sorted by priority. The sleep queues don't get updated when the priority of threads changes, so sleepq_signal() might not always wakeup the highest priority thread. Updating the queues when thread priorities change cannot be easily done due to lock orders, so instead we do an O(n) walk of the queue for a sleepq_signal() operation instead of O(1). On the other hand, adding a thread to a sleep queue now goes from O(n) to O(1) so it ends up as an even tradeoff. The correctness here with regards to priorities is actually fairly important. msleep() gives interactive threads their priority "boost" after they are placed on the queue, but before this fix that "boost" wasn't used to determine the highest priority thread that sleepq_signal() awoke. - Fix up some comments. Inspired by: ups, bde END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-11-05T21:21:29.000000Z K 7 svn:log V 120 Update errata: describe the USB keyboard problem in detail. Based on the patch by: brooks Approved by: re (implicitly) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-05T22:31:20.000000Z K 7 svn:log V 118 Backout previous commit, the P_STOPPED_BOUNDARY flag was already cleared at the begin of thread_single() when needed. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-05T22:38:14.000000Z K 7 svn:log V 44 Note that sysctls documentation is missing. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-05T22:40:33.000000Z K 7 svn:log V 57 Respect TDF_SINTR, don't suspend uninterruptible thread. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T23:48:12.000000Z K 7 svn:log V 99 Disable interrupts for atomic_cmpset_32, this one is just not atomic. Don't export it to userland. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T23:49:21.000000Z K 7 svn:log V 32 Partial support of KSE for arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T23:51:24.000000Z K 7 svn:log V 27 Import a Makefile for arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T23:52:05.000000Z K 7 svn:log V 39 Remove getcontext.S, it is not needed. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T23:53:02.000000Z K 7 svn:log V 35 Fix signalcontext and makecontext. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-05T23:53:54.000000Z K 7 svn:log V 80 Don't define SOFTFLOAT directly in source files, it's now done in the Makefile. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:14:26.000000Z K 7 svn:log V 515 Convert tools/lib32/build.sh into world connectable hooks. This still rates pretty high on the "hack!" scale, but it works for me. Adding -DWANT_LIB32 to the world build command line, or 'WANT_LIB32=yes' to /etc/make.conf will include the 32 bit libraries with the build. I have not made this default behavior. Cross compiling this stuff is an adventure I have not investigated. This is still a WIP. We needed this at work so that we could install from a readonly obj tree - lib32/build.sh wasn't up to that. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:23:36.000000Z K 7 svn:log V 263 Begin an invasion of i386-land by amd64. Expose some of the amd64-specific sysarch functions to allow alternative implementations of the %fs/%gs code for TLS, threads, etc. USER_LDT does not exist on the amd64 kernel, so we have to implement things other ways. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:28:26.000000Z K 7 svn:log V 380 When building the custom i386 libraries for use on amd64 kernels, we can't use the i386_set_ldt() family of routines, because they are not implemented. Instead, use the recently exposed direct access sysarch routines for setting what %fs and %gs point to. Use this for the i386 TLS _set_tp() routine, but only when compiling to run as a 32 bit support binary for amd64 kernels. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-11-06T03:28:27.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:30:53.000000Z K 7 svn:log V 352 Use the recently exposed fs/gs set functions when compiling libthr to run as a 32 bit support library for an amd64 kernel. 32 bit consumers of libthr have zero chance of running on an amd64 kernel since we don't implement the i386_set_ldt() family of functions. Note that this commit doesn't make it actually work, it just removes one more obstacle. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:32:07.000000Z K 7 svn:log V 198 The 32 bit compatability ld-elf32.so.1 cannot use i386_set_ldt() when running on an amd64 kernel. Use the recently exposed direct %fs/%gs set routines instead for the TLS setup of 32 bit binaries. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:33:19.000000Z K 7 svn:log V 57 Cosmetic tweaks to reduce diffs to the i386 counterpart. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-06T03:35:51.000000Z K 7 svn:log V 211 i386_set_ldt() is not available when running 32 bit binaries on amd64 kernels. Use the recently exposed direct-set routines instead. This is only activated for when we compile i386 support libraries on amd64. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-06T05:25:53.000000Z K 7 svn:log V 74 Ooops. ssize_t != int. Thanks to: Oliver Lehmann and Peter Wemm END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-06T05:33:02.000000Z K 7 svn:log V 325 Move a call to wakeup() from vm_object_terminate() to vnode_pager_dealloc() because this call is only needed to wake threads that slept when they discovered a dead object connected to a vnode. To eliminate unnecessary calls to wakeup() by vnode_pager_dealloc(), introduce a new flag, OBJ_DISCONNECTWNT. Reviewed by: tegge@ END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-11-06T06:13:13.000000Z K 7 svn:log V 101 Clean up the comments, rewording, adding missing punctuation and other minor nits. Approved by: jhb END K 10 svn:author V 3 das K 8 svn:date V 27 2004-11-06T07:17:50.000000Z K 7 svn:log V 657 Fix the last known race in swapoff(), which could lead to a spurious panic: swapoff: failed to locate %d swap blocks The race occurred because putpages() can block between the time it allocates swap space and the time it updates the swap metadata to associate that space with a vm_object, so swapoff() would complain about the temporary inconsistency. I hoped to fix this by making swp_pager_getswapspace() and swp_pager_meta_build() a single atomic operation, but that proved to be inconvenient. With this change, swapoff() simply doesn't attempt to be so clever about detecting when all the pageout activity to the target device should have drained. END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-06T09:56:27.000000Z K 7 svn:log V 190 If there aren't any devices to list, output nothing instead of an empty line. This is consistent with other utilities. While I'm here, remove artifacts of the previous list implementation. END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-06T10:21:12.000000Z K 7 svn:log V 177 Update the description of -l to reflect reality. After mdconfig.c 1.25, -l without -u only lists the names, so specifying -u does more than just limit the output to one device. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-11-06T10:47:36.000000Z K 7 svn:log V 127 Fix a double-free in the 'm->m_len < sizeof (struct ip)' sanity check. Bug report by: MFC after: 2 weeks END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-06T11:03:59.000000Z K 7 svn:log V 96 Parse file mode with setmode(3) for consistency with other programs that do this kind of thing. END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-06T11:16:56.000000Z K 7 svn:log V 83 Remove a useless use of cat, strip overzealous punctuation, and clarify some text. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-06T11:24:40.000000Z K 7 svn:log V 86 Annotate what bucket_size[] array does; staticize since it's used only in uma_core.c. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-06T11:33:11.000000Z K 7 svn:log V 25 Remove dangling variable END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-06T11:33:43.000000Z K 7 svn:log V 37 Increase default HZ for i386 to 1000 END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-06T11:41:22.000000Z K 7 svn:log V 169 Properly implement a default version of VOP_GETWRITEMOUNT. Remove improper access to vop_stdgetwritemount() which should and will instead rely on the VOP default path. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-06T11:43:30.000000Z K 7 svn:log V 331 Abstract the logic to look up the uma_bucket_zone given a desired number of entries into bucket_zone_lookup(), which helps make more clear the logic of consumers of bucket zones. Annotate the behavior of bucket_init() with a comment indicating how the various data structures, including the bucket lookup tables, are initialized. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-06T13:07:02.000000Z K 7 svn:log V 136 For file backed md(4) devices output their source file via 'mdconfig -l -u '. Bump version number, as this change breaks ABI/API. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-06T13:16:35.000000Z K 7 svn:log V 76 Be consistent and use 'if (error != 0)' instead of 'if (error)' everywhere. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-11-06T13:24:53.000000Z K 7 svn:log V 75 Sync description of IP portrange sysctls with reality. MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-06T13:38:45.000000Z K 7 svn:log V 154 First there was an -m option. Then Peter killed it and made it the default. Then Brooks and Poul-Henning added it again. Then Ruslan fixed the manpage... END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-11-06T13:56:18.000000Z K 7 svn:log V 151 Back out recent TTYDEF_LFLAG_ECHO invention. This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now, but to minimize diffs with other BSDs. END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-06T14:03:37.000000Z K 7 svn:log V 139 Bump .Dd, replace missing letter, and prefer to use a verb that matches the option letter. Submitted by: ru Should know better by now: dd END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-11-06T14:38:54.000000Z K 7 svn:log V 64 Add ftp8.de.freebsd.org Requested by: vs Approved by: ssouhlal END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-06T17:10:24.000000Z K 7 svn:log V 90 Allow to write random data while testing RAID device, so we can also test data integrity. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-06T17:19:55.000000Z K 7 svn:log V 42 Add description of all available options. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-06T18:15:44.000000Z K 7 svn:log V 275 ANSI'fy nfsd(8) and some minor changes to make it WARNS=6 clean. This commit does not affect the code generated, as proven by md5'ing resulting binaries. Bump WARNS accordingly. Compiled on: sparc64, ia64, i386 Reviewed by: alfred (but blame me if anything goes wrong :-) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-06T18:18:58.000000Z K 7 svn:log V 32 Get closer to unbreaking ext2fs END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-06T18:24:33.000000Z K 7 svn:log V 39 Get even closer to not crashing ext2fs END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-06T18:38:13.000000Z K 7 svn:log V 105 FreeBSD does have uintmax_t, so it can correctly print out very large file sizes. Thanks to: Yar Tikhiy END K 10 svn:author V 6 archie K 8 svn:date V 27 2004-11-06T21:43:16.000000Z K 7 svn:log V 68 MFC: (rev. 1.7) Rename internal structure to fix cut & paste error. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-06T21:48:45.000000Z K 7 svn:log V 83 Eliminate an unnecessary atomic operation. Articulate the rationale in a comment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-06T23:36:09.000000Z K 7 svn:log V 135 When we open /dev/null for stdin/out/err for safety reasons, do it right: we should preserve f_data and f_ops if they are already set. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-11-07T03:55:47.000000Z K 7 svn:log V 37 Fix the release date of 5.3-RELEASE. END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-07T04:32:51.000000Z K 7 svn:log V 54 Make the usage message match reality about -h and -w. END K 10 svn:author V 2 dd K 8 svn:date V 27 2004-11-07T04:34:37.000000Z K 7 svn:log V 76 Reflect that -h takes an argument and belatedly bump .Dd for addition of -h END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T06:58:45.000000Z K 7 svn:log V 169 Add comments to clarify why we need to run shutdown code on the BSP, update an old comment about boot() being MI, and note that splhigh() no longer disables interrupts. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-11-07T11:09:44.000000Z K 7 svn:log V 27 Install in /usr/local/bin. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-07T12:39:28.000000Z K 7 svn:log V 140 Allow fdinit() to be called with a NULL fdp argument so we can use it when setting up init. Make fdinit() lock the fdp argument as needed. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-07T13:40:27.000000Z K 7 svn:log V 69 Avoid second person usage. Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-11-07T13:46:16.000000Z K 7 svn:log V 125 Unbreak c++filt. It was disconnected from the build and never fixed during GCC 3.4.2 work unintentioanlly. Reminded by: bms END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-11-07T13:46:56.000000Z K 7 svn:log V 32 Reconnect c++filt to the build. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T14:35:53.000000Z K 7 svn:log V 175 Don't abuse tp->t_sc, as it is now used by tty drivers. This fixes the panic that occurs when using ppp(4) Reported and tested by: Yann Berthier (yb at sainte-barbe dot org) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T14:36:47.000000Z K 7 svn:log V 38 Don't abuse tp->t_sc in sl(4) either. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-07T15:34:45.000000Z K 7 svn:log V 42 Move fdinit() related stuff from .h to .c END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-11-07T15:44:26.000000Z K 7 svn:log V 95 Bump various entities for 5.3-STABLE and trim the release notes. Approved by: re (implicitly) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-07T15:59:27.000000Z K 7 svn:log V 33 More sensible FILEDESC_ locking. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-07T16:09:56.000000Z K 7 svn:log V 40 Use fget_locked() instead of homerolled END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T16:51:33.000000Z K 7 svn:log V 21 Remove useless code. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T16:53:29.000000Z K 7 svn:log V 59 Implement ffs with clz for Xscale. Idea taken from: NetBSD END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T16:54:54.000000Z K 7 svn:log V 44 MFKernel: Implement ffs with clz on Xscale. END K 10 svn:author V 5 krion K 8 svn:date V 27 2004-11-07T17:01:08.000000Z K 7 svn:log V 128 Document "loader_color" variable. PR: conf/73396 Submitted by: Aleksander Fafula Approved by: scottl END K 10 svn:author V 2 le K 8 svn:date V 27 2004-11-07T17:26:22.000000Z K 7 svn:log V 179 MFC: Give each plex a separate queue where held back bios are put on. This lowers the CPU usage of the worker thread and prevents a possible live lock on non-SMP machines. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-11-07T18:12:57.000000Z K 7 svn:log V 40 Bump &release.manpath.netbsd; to 1.6.2. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-11-07T18:17:38.000000Z K 7 svn:log V 50 Trim the relnotes items added before 5.3-RELEASE. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-11-07T18:17:54.000000Z K 7 svn:log V 51 MFC: Fix a bogus string concatenation. Shell != C. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-07T19:19:35.000000Z K 7 svn:log V 497 Do some re-sorting of TCP pcbinfo locking and assertions: make sure to retain the pcbinfo lock until we're done using a pcb in the in-bound path, as the pcbinfo lock acts as a pseuo-reference to prevent the pcb from potentially being recycled. Clean up assertions and make sure to assert that the pcbinfo is locked at the head of code subsections where it is needed. Free the mbuf at the end of tcp_input after releasing any held locks to reduce the time the locks are held. MFC after: 3 weeks END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T20:21:03.000000Z K 7 svn:log V 98 MFC rev 1.62: Add support for the 'K' sysctl identifier for ACPI thermal temperature conversions. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T20:24:06.000000Z K 7 svn:log V 36 MFC: Bring most of ACPI up to HEAD. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-07T20:38:29.000000Z K 7 svn:log V 65 filedesc0 is an internal detail of the kernel, don't look at it. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T21:22:10.000000Z K 7 svn:log V 355 MFC rev. 1.3: Abstract the handling of dirty stacked registers in ia64_read_reg() and ia64_write_reg() and call these whenever we read or write registers from and to memory. This way we correctly read registers from addresses in the register cache and thus fixes backtraces when the saved registers (such as rp and ar.pfs) are in dirty stacked registers. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T21:37:58.000000Z K 7 svn:log V 288 MFC rev. 1.3: If the argument to the -r flag starts with a ':' or a '|', don't try to make sure it is a device. GDB special cases these prefixes and treats :#### as a tcp port on localhost and executes what ever follows '|'. This allows kgdb to debug via dconschat. Credits to: brooks END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-07T22:16:07.000000Z K 7 svn:log V 156 Introduce fdclose() which will clean an entry in a filedesc. Replace homerolled versions with call to fdclose(). Make fdunused() static to kern_descrip.c END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T22:20:53.000000Z K 7 svn:log V 373 MFC rev. 1.52 (chunk.c) & 1.9 (open_disk.c) Don't barf when we encounter an UUID for GPT partitions. Instead, add the GPT partition on i386 and adm64 as type=gpt, subtype=0 and with the sname set to the UUID. This prevents sysinstall from bombing out. This also makes sure the GPT partition shows up in sysinstall so as to avoid accidental "clobberage". PR: bin/72896 END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T22:33:06.000000Z K 7 svn:log V 107 MFC: Remove hacks to set device flags now that they're no longer needed and clean up some printfs for npx. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T22:34:08.000000Z K 7 svn:log V 33 MFC: Remove now-unused variable. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T22:35:36.000000Z K 7 svn:log V 42 MFC: Print flags for nexus child devices. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T22:49:16.000000Z K 7 svn:log V 537 MFC rev. 1.10: Put the ispfw.ko module on the EFI boot partition when creating a bootable ISO. HP machines (like the rx2600) that (also) have isp(4) may have a non-standard firmware on the controller. Our isp(4) driver is not able to work with those and even panics. This makes installing FreeBSD rather impossible. By adding the ispfw.ko module, we give the user a chance to upload a certified firmware onto the card and so make it possible to either use the isp(4) successfully or otherwise avoid the panic. Missed for 5.3 by: marcel END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-11-07T22:49:20.000000Z K 7 svn:log V 48 Remove trailing whitespace. Pointed out by: ru END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T23:01:36.000000Z K 7 svn:log V 73 Import md bits for mem(4) on arm. While I'm there, cleanup a bit pmap.h. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-07T23:02:15.000000Z K 7 svn:log V 32 Add device mem in config files. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-07T23:11:32.000000Z K 7 svn:log V 348 Add basic critical section tracing to KTR using event type KTR_CRITICAL. This generates a KTR event for each critical section entered and exited. It would be desirable to also log the filename and line number of the source entering or exiting the critical section, but this requires hacking up the critical section API, so I've not done that yet. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-07T23:18:23.000000Z K 7 svn:log V 170 Add power profile support so that the LCD changes brightness levels based on the AC line state. Submitted by: OGAWA Takaya MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T23:30:07.000000Z K 7 svn:log V 68 MFC rev. 1.3: Fix bogon. Create the BSD label in the FreeBSD slice. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T23:33:04.000000Z K 7 svn:log V 339 MFC rev. 1.9+1.10 (add.c) & 1.7+1.8 (create.c) & 1.4+1.5 (destroy.c) & 1.9 (gpt.c) & 1.6 (gpt.h) & 1.8 (migrate.c) & 1.6+1.7 (recover.c) & 1.2+1.3 (remove.c) & 1.11 (show.c) Add byte swapping and UUID encoding/decoding to allow gpt to be compiled on big-endian machines. Obtained from: Dan Markarian END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T23:36:46.000000Z K 7 svn:log V 168 MFC rev. 1.9+1.10 Catch up with the BSD label changes. The partition offsets are relative to the partition now. While here, make sure we skip unused partition entries. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T23:41:26.000000Z K 7 svn:log V 518 MFC rev. 1.7 (gpt.8) & 1.11 (migrate.c) Remove the -k option to migrate. The option causes gpt(8) to preserve the MBR after it is migrated to a GPT. While this was useful during the early days when GPT support was under development, it's something that users can use without knowing what they're getting themselves into. The possible harm outweights the marginal usefulness it now has. [MFC notice: due to the harm that the option can do it is believed that this feature reduction is appropriate on a stable branch] END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-07T23:53:51.000000Z K 7 svn:log V 47 MFC rev. 1.143: Build gpt(8) on all platforms. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-08T00:38:18.000000Z K 7 svn:log V 522 MFC pf.c, 1.21: Fix a panic discovered with some apache2 configure test (that seemed to trigger a socket creation race some some kind). Checking for non-NULL socket and credential is not a bad idea anyway. Unfortunatly too late for the release. Reported & tested by: Gilbert Cao I completly forgot about this when the release was pushed back. Depending on the new maintance policies for RELENG_5_3 it might be a candidate. Let's just not forget ... I hope the MFC reminder works here ... MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-08T00:43:46.000000Z K 7 svn:log V 273 Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc(). Change the spelling of the "catch" option to be consistent with the new options. Implement the "no wait" option. An implementation of the "CPU private" for i386 will be committed at a later date. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-08T03:22:51.000000Z K 7 svn:log V 434 MFC: - Estimate the amount of data in flight in sack recovery and use it to control the packets injected while in sack recovery (for both retransmissions and new data). - Cleanups to the sack codepaths in tcp_output.c and tcp_sack.c. - Add a new sysctl (net.inet.tcp.sack.initburst) that controls the number of sack retransmissions done upon initiation of sack recovery. Submitted by: Mohan Srinivasan END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-08T04:50:02.000000Z K 7 svn:log V 38 Increase default HZ for ia64 to 1000. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-08T04:52:26.000000Z K 7 svn:log V 59 Bind to cpu0 for boot() processing on all platforms again. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-08T06:01:39.000000Z K 7 svn:log V 41 Correct a typo in the previous revision. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-08T06:57:31.000000Z K 7 svn:log V 47 Eliminate an unused argument to vm_pgmoveco(). END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-11-08T07:50:55.000000Z K 7 svn:log V 607 MFC dir.c:1.29, fsck.h:1.32, inode.c:1.36, pass1.c:1.42, pass2.c:1.25 > scottl 2004-09-01 05:48:06 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs dir.c fsck.h inode.c pass1.c pass2.c > Log: > Create DIP_SET() and IBLK_SET() macros to fix lvalue warnings. > > Inspired by: kan > > Revision Changes Path > 1.29 +14 -14 src/sbin/fsck_ffs/dir.c > 1.32 +15 -0 src/sbin/fsck_ffs/fsck.h > 1.36 +18 -14 src/sbin/fsck_ffs/inode.c > 1.42 +3 -3 src/sbin/fsck_ffs/pass1.c > 1.25 +9 -9 src/sbin/fsck_ffs/pass2.c END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-11-08T07:56:38.000000Z K 7 svn:log V 301 Forced commit - previous commit was MFC of Makefile:1.16 > scottl 2004-09-01 08:26:39 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs Makefile > Log: > Move back to WARNS=2 > > Revision Changes Path > 1.16 +1 -1 src/sbin/fsck_ffs/Makefile END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-11-08T08:10:36.000000Z K 7 svn:log V 1296 MFC dir.c:1.30, fsck.h:1.33, fsutil.c:1.25, inode.c:1.37, main.c:1.42, pass1.c:1.43, pass2.c:1.26, pass3.c:1.15, pass4.c:1.15, pass5.c:1.40 > truckman 2004-10-08 20:44:48 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs dir.c fsck.h fsutil.c inode.c main.c > pass1.c pass2.c pass3.c pass4.c pass5.c > Log: > Eliminate linked list used to track inodes with an initial link > count of zero and instead encode this information in the inode state. > Pass 4 performed a linear search of this list for each inode in > the file system, which performs poorly if the list is long. > > Reviewed by: sam & keramida (an earlier version of the patch), mckusick > MFC after: 1 month > > Revision Changes Path > 1.30 +2 -3 src/sbin/fsck_ffs/dir.c > 1.33 +15 -15 src/sbin/fsck_ffs/fsck.h > 1.25 +1 -3 src/sbin/fsck_ffs/fsutil.c > 1.37 +2 -0 src/sbin/fsck_ffs/inode.c > 1.42 +0 -8 src/sbin/fsck_ffs/main.c > 1.43 +5 -16 src/sbin/fsck_ffs/pass1.c > 1.26 +5 -1 src/sbin/fsck_ffs/pass2.c > 1.15 +3 -3 src/sbin/fsck_ffs/pass3.c > 1.15 +8 -11 src/sbin/fsck_ffs/pass4.c > 1.40 +2 -0 src/sbin/fsck_ffs/pass5.c END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-11-08T08:21:02.000000Z K 7 svn:log V 1362 MFC dir.c:1.30, fsck.h:1.33, fsutil.c:1.25, inode.c:1.37, main.c:1.42, pass1.c:1.43, pass2.c:1.26, pass3.c:1.15, pass4.c:1.15, pass5.c:1.4 with minor changes to match RELENG_4 code. > truckman 2004-10-08 20:44:48 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs dir.c fsck.h fsutil.c inode.c main.c > pass1.c pass2.c pass3.c pass4.c pass5.c > Log: > Eliminate linked list used to track inodes with an initial link > count of zero and instead encode this information in the inode state. > Pass 4 performed a linear search of this list for each inode in > the file system, which performs poorly if the list is long. > > Reviewed by: sam & keramida (an earlier version of the patch), mckusick > MFC after: 1 month > > Revision Changes Path > 1.30 +2 -3 src/sbin/fsck_ffs/dir.c > 1.33 +15 -15 src/sbin/fsck_ffs/fsck.h > 1.25 +1 -3 src/sbin/fsck_ffs/fsutil.c > 1.37 +2 -0 src/sbin/fsck_ffs/inode.c > 1.42 +0 -8 src/sbin/fsck_ffs/main.c > 1.43 +5 -16 src/sbin/fsck_ffs/pass1.c > 1.26 +5 -1 src/sbin/fsck_ffs/pass2.c > 1.15 +3 -3 src/sbin/fsck_ffs/pass3.c > 1.15 +8 -11 src/sbin/fsck_ffs/pass4.c > 1.40 +2 -0 src/sbin/fsck_ffs/pass5.c Tested by: scrappy END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-08T10:46:47.000000Z K 7 svn:log V 843 Add optional device vnode bypass to DEVFS. The tunable vfs.devfs.fops controls this feature and defaults to off. When enabled (vfs.devfs.fops=1 in loader), device vnodes opened through a filedescriptor gets a special fops vector which instead of the detour through the vnode layer goes directly to DEVFS. Amongst other things this allows us to run Giant free read/write to device drivers which have been weaned off D_NEEDGIANT. Currently this means /dev/null, /dev/zero, disks, (and maybe the random stuff ?) On a 700MHz K7 machine this doubles the speed of dd if=/dev/zero of=/dev/null bs=1 count=1000000 This roughly translates to shaving 2usec of each read/write syscall. The poll/kqfilter paths need more work before they are giant free, this work is ongoing in p4::phk_bufwork Please test this and report any problems, LORs etc. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-08T12:17:12.000000Z K 7 svn:log V 264 MFC: Don't treat # as a comment in interpreter specification line. This is magic and no other operating system do so (i.e. Solaris, Tru64, Linux, AIX, HP-UX, Irix, MacOS X, NetBSD). Discussed on: current@ Reported by: S³awek ¯ak END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-08T12:43:23.000000Z K 7 svn:log V 98 Use more intuitive pointer for fdinit() and fdcopy(). Change fdcopy() to take unlocked filedesc. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-08T12:52:21.000000Z K 7 svn:log V 536 MFC pf_if.c, 1.6: Reactivate skipping over bogus IPCP addresses on ppp interfaces. Be more careful with the skip condition this time. Addresses are only not taken into account if: - The interface is POINTTOPOINT - There is no route installed for the address - The user specified noalias (:0) and - We are looking at an IPv4 address. This should be enough paranoia to not cause any false positives. PR: misc/69954 Discussed with: yongari Another forgotten MFC :-( ... 5.4R then ... END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-08T14:44:54.000000Z K 7 svn:log V 181 Initialize struct pr_userreqs in new/sparse style and fill in common default elements in net_init_domain(). This makes it possible to grep these structures and see any bogosities. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-08T16:16:04.000000Z K 7 svn:log V 316 Another missing ! in front of IFQ_DRV_IS_EMPTY, this time in an even more sensitive, but less excercised location (the watchdog). While here use the *_start_locked function directly to avoid drop, grab, drop lock. I have to be very careful with future ALTQ patches! Found & reviewed by: rwatson MFC after: 3 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-08T16:54:26.000000Z K 7 svn:log V 55 Add support for gadgets on Asus L4R and M6R notebooks. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-08T16:59:01.000000Z K 7 svn:log V 157 Someone (sanpei-san?) sent me this entry some time ago. Add COREGA FEtherII PCC-TXD to the FEther PCC-TXD entry (since they appear to be handled the same). END K 10 svn:author V 3 des K 8 svn:date V 27 2004-11-08T18:05:43.000000Z K 7 svn:log V 128 Document why rlim_t needs to be a signed type. Define RLIM_INFINITY as INT64_MAX instead of hand-rolling it. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2004-11-08T18:08:16.000000Z K 7 svn:log V 62 This code builds cleanly at WARNS level 6. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-08T18:15:11.000000Z K 7 svn:log V 163 Catch up to rev 1.52 of sys/kern/kern_condvar.c. cv_signal() and cv_broadcast() no longer require that the interlock mutex be held when called. Reminded by: das END