ƒ°118212 197 446 126 264 162 146 463 213 221 608 1195 586 175 136 203 336 316 108 202 490 137 209 261 361 148 127 142 151 150 277 168 787 182 1173 395 572 161 123 170 251 149 146 315 137 137 137 151 444 127 258 231 156 125 1272 382 471 167 419 229 457 443 281 140 554 317 165 384 152 148 182 320 251 157 247 194 216 224 165 137 190 167 475 251 138 182 178 155 186 365 114 128 122 216 108 114 124 469 245 136 475 152 195 223 1047 209 145 180 155 206 209 120 121 123 107 410 184 251 516 132 339 196 664 236 691 114 257 222 126 736 237 176 277 144 310 436 551 182 117 138 128 121 163 139 263 131 130 166 565 410 158 254 178 323 179 255 280 437 169 432 308 665 161 184 160 160 162 160 134 188 325 302 107 142 216 198 136 149 149 336 1884 189 165 229 117 144 170 239 335 229 164 203 914 302 554 130 109 745 170 K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-07-30T15:22:37.000000Z K 7 svn:log V 348 When generating the zone stats make sure to handle the master zone ("UMA Zone") carefully, because it does not have pcpu caches allocated at all. In the UP case, we did not catch this because one pcpu cache is always allocated with the zone, but for the MP case, we were getting bogus stats for this zone. Tested by: Lukas Ertl END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-30T15:58:08.000000Z K 7 svn:log V 32 Make this compile with WARNS=6. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-30T16:02:50.000000Z K 7 svn:log V 169 Fix what was a common idiom in PDP-11 days: declare a local int and use the address of that int for read(2). While this happens to work on LE, it surely is wrong on BE. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-30T16:15:49.000000Z K 7 svn:log V 68 Fix the code with respect to the assumption that sizeof(long) == 4. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-30T16:22:53.000000Z K 7 svn:log V 54 Add and document the hw.acpi.ec.poll_timeout tunable. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-07-30T16:27:51.000000Z K 7 svn:log V 370 Return 1 from pmap_protect_tte() instead of 0. When used with tsb_foreach(), 0 signals to terminate the tsb traversal, so when tsb_foreach() was used in pmap_protect() (which only happens when the area to be protected is larger than PMAP_TSB_THRESH = 16MB), only the first tsb entry in the specified range would be protected. Reported by: Andrew Belashov END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-30T17:20:33.000000Z K 7 svn:log V 120 Use ACPI_FLUSH_CPU_CACHE() instead of wbinvd(). Verified .o with md5. Pointed out by: Mark Santcroos END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-07-30T18:53:59.000000Z K 7 svn:log V 128 tty whacking should occur early, but not so early that the required commands are not on a mounted file system. Noticed by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-07-30T18:55:04.000000Z K 7 svn:log V 515 The introduction of vm object locking has caused witness to reveal a long-standing mistake in the way a portion of a pipe's KVA is allocated. Specifically, kmem_alloc_pageable() is inappropriate for use in the "direct" case because it allows a preceding vm map entry and vm object to be extended to support the new KVA allocation. However, the direct case KVA allocation should not have a backing vm object. This is corrected by using kmem_alloc_nofault(). Submitted by: tegge (with the above explanation by me) END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-07-30T18:55:15.000000Z K 7 svn:log V 1096 Plug a race and a leak in UMA. 1) The race has to do with zone destruction. From the zone destructor we would lock the zone, set the working set size to 0, then unlock the zone, drain it, and then free the structure. Within the window following the working-set-size set to 0 and unlocking of the zone and the point where in zone_drain we re-acquire the zone lock, the uma timer routine could have fired off and changed the working set size to something non-zero, thereby potentially preventing us from completely freeing slabs before destroying the zone (and thus leaking them). 2) The leak has to do with zone destruction as well. When destroying a zone we would take care to free all the buckets cached in the zone, but although we would drain the pcpu cache buckets, we would not free them. This resulted in leaking a couple of bucket structures (512 bytes each) per cpu on SMP during zone destruction. While I'm here, also silence GCC warnings by turning uma_slab_alloc() from inline to real function. It's too big to be an inline. Reviewed by: JeffR END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-07-30T19:31:11.000000Z K 7 svn:log V 493 MFC (1.24: pass in the constraints on the V parameter so that the char versions can be given different, non-bogus constraints). This is part of making some RELENG_3 kernels work when compiled by gcc-3.3. I started out only wanting them to compile, but had to test them for delicate changes like this. This change makes no difference for LINT compiled by the RELENG_3 compiler, except for vfs_cluster.o where it gives some differences related to register selection near an atomic_add_char(). END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-07-30T19:53:40.000000Z K 7 svn:log V 83 Add two files (early.sh and gbde) that previously were not hooked up to the build. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-07-30T20:05:20.000000Z K 7 svn:log V 44 Apply some sort of order to the FILES list. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-07-30T20:09:22.000000Z K 7 svn:log V 105 Make this at least compile on 64 bit platforms. Its been breaking the alpha tinderbox for far too long. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-07-30T20:16:04.000000Z K 7 svn:log V 243 Fixed style bugs in rev.1.94 before MFCing it (for large C asm statements, use "\n\" instead of "\" at the end of each source line, and don't use semicolons). Fixed some older style bugs on the same lines (mainly English errors in comments). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-30T20:42:15.000000Z K 7 svn:log V 223 When complaining about a sleeping thread owning a mutex, display the thread's pid to make debugging easier for people who don't want to have to use the intended tool for these panics (witness). Indirectly prodded by: kris END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-30T20:59:36.000000Z K 7 svn:log V 16 Whitespace nit. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-07-30T22:11:36.000000Z K 7 svn:log V 106 Enforce -fno-strict-aliasing to override the converse that is implied by -O2 and -Os. Reviewed by: peter END K 10 svn:author V 2 pb K 8 svn:date V 27 2003-07-30T22:50:37.000000Z K 7 svn:log V 398 Remove test in pipe_write() which causes write(2) to return EAGAIN on a non-blocking pipe in cases where select(2) returns the file descriptor as ready for write. This in turns causes libc_r, for one, to busy wait in such cases. Note: it is a quick performance fix, a more complex fix might be required in case this turns out to have unexpected side effects. Reviewed by: silby MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-30T23:11:37.000000Z K 7 svn:log V 41 Use correct signal when calling sigexit. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-07-31T00:43:09.000000Z K 7 svn:log V 116 MFC: all lpr/lpc/* changes to use __FBSDID(), and to fix 'sccsid' lines to consistently match style(9) guidelines. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-31T01:05:34.000000Z K 7 svn:log V 165 In cpu_thread_setup(), set md_pcbpaddr to the physical address of the pcb. We use the physical address for context switching. While here, fix a nearby style(9) bug. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:25:05.000000Z K 7 svn:log V 266 Add #include "opt_kstack_pages.h" and "opt_kstack_max_pages.h" to remain in sync with the backend machdep code. When cpu_thread_init() does not have the same idea of KSTACK_PAGES as the thing that created the kstack, all hell breaks loose. Bad alc! no cookie! :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:26:40.000000Z K 7 svn:log V 54 Cosmetic: fix disorder of opt_kstack_pages.h include. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:27:18.000000Z K 7 svn:log V 33 KSTACK_PAGES is a global option. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:28:41.000000Z K 7 svn:log V 48 Remove leftover relic of pmap_new_thread() etc. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:29:09.000000Z K 7 svn:log V 57 Cosmetic: fix some disorder of #include "opt_...." files END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:31:32.000000Z K 7 svn:log V 56 Deal with 'options KSTACK_PAGES' being a global option. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-31T01:36:24.000000Z K 7 svn:log V 182 When ktracing context switches, make sure we record involuntary switches. Otherwise, when we get a evicted from the cpu, there is no record of it. This is not a default ktrace flag. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-31T01:45:35.000000Z K 7 svn:log V 76 Bump __FreeBSD_version to indicate GCC 3.3.1-pre import. Reminded by: kris END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-31T02:11:04.000000Z K 7 svn:log V 690 Enhance i386_set_ldt to allow application to dynamic allocate or free a LDT entry. The function has following prototype: int i386_set_ldt(int start_sel, union descriptor *descs, int num_sels); Added Features: o If start_sel is 0, num_sels is 1 and the descriptor pointed to by descs is legal, then i386_set_ldt() will allocate a descriptor and return its selector numbe o If num_descs is 1, start_sels is valid, and descs is NULL, then i386_set_ldt() will free that descriptor (making it available to be real- located again later). o If num_descs is 0, start_sels is 0 and descs is NULL then, as a special case, i386_set_ldt() will free all descriptors. Reviewed by: julian END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-31T02:13:48.000000Z K 7 svn:log V 86 Update manual for i386_set_ldt to reflect newly added features. Submitted by: julian END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-07-31T03:39:51.000000Z K 7 svn:log V 1074 Make sure that when the PV ENTRY zone is created in pmap, that it's created not only with UMA_ZONE_VM but also with UMA_ZONE_NOFREE. In the i386 case in particular, the pmap code would hook a special page allocation routine that allocated from kernel_map and not kmem_map, and so when/if the pageout daemon drained the zones, it could actually push out slabs from the PV ENTRY zone but call UMA's default page_free, which resulted in pages allocated from kernel_map being freed to kmem_map; bad. kmem_free() ignores the return value of the vm_map_delete and just returns. I'm not sure what the exact repercussions could be, but it doesn't look good. In the PAE case on i386, we also set-up a zone in pmap, so be conservative for now and make that zone also ZONE_NOFREE and ZONE_VM. Do this for the pmap zones for the other archs too, although in some cases it may not be entirely necessarily. We'd rather be safe than sorry at this point. Perhaps all UMA_ZONE_VM zones should by default be also UMA_ZONE_NOFREE? May fix some of silby's crashes on the PV ENTRY zone. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-31T05:27:00.000000Z K 7 svn:log V 299 In set_mcontext(), store the (user) stack pointer and the thread pointer in the PCB of the corresponding thread if it's not the current thread. This is needed for thr_create() to setup the newly created thread from the context provided by the application. This commit finalizes supporting libthr. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-07-31T05:34:20.000000Z K 7 svn:log V 476 Allocate the S/G list in the tag, not on the stack. The enforces the rule that while many maps can exist and be loaded per tag, bus_dmamap_load() and friends can only be called on one map at a time from the tag. This is enforced via the mutex arguments in the tag. Fixing this bug means that s/g lists can be arbitrarily long in length, and also removes an ugly GNU-ism from the code. No API or ABI change is incurred. Similar changes for other platforms is forthcoming. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-07-31T06:18:24.000000Z K 7 svn:log V 69 The upper end of the range of arc4random(3) is 2**32-1, not 2**31-1. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-07-31T06:18:34.000000Z K 7 svn:log V 31 Cross-reference arc4random(3). END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-07-31T07:13:54.000000Z K 7 svn:log V 79 Revert last delta, sys/conf/kern.pre.mk,v 1.33 does the job. OK'ed by: scottl END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-07-31T07:28:58.000000Z K 7 svn:log V 159 From now on, Alpha releases will come with NO_FLOPPIES. Approved by: consensus on freebsd-alpha A replacement (miniboot.iso) is currently under development. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-07-31T07:47:25.000000Z K 7 svn:log V 57 Make the experimental platforms tinderbox extra verbose. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-07-31T07:52:06.000000Z K 7 svn:log V 54 Braino in previous commit: lists are comma-separated. END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-07-31T08:20:24.000000Z K 7 svn:log V 219 Have a go at unbreaking the tinderbox by fixing a debug printf. The other option would be to remove it, but I can imagine it may be useful for the forseeable future as we fiddle with segments in KSE and thr libraries, END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-31T08:26:58.000000Z K 7 svn:log V 41 sysctlbyname needs size_t type, not int. END K 10 svn:author V 3 suz K 8 svn:date V 27 2003-07-31T08:34:36.000000Z K 7 svn:log V 45 MFC 1.11: fixed wrong parameter descriptions END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-31T08:50:01.000000Z K 7 svn:log V 41 Fix some typos, correctly jump into UTS. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-31T09:03:36.000000Z K 7 svn:log V 55 Set GSBASE for kse. Finally make libkse work on AMD64. END K 10 svn:author V 2 hm K 8 svn:date V 27 2003-07-31T09:13:22.000000Z K 7 svn:log V 352 Fix bug in find_matching_entry_incoming(): the loop checking the allowed incoming remote telephone numbers and subaddresses ignored the configured list completely since it was always terminated by a break at the end of the first run (which was a leftover from the implementation of subaddresses). Submitted by: Christian Ullrich END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-07-31T10:24:36.000000Z K 7 svn:log V 33 o Fix a typo in previous commit. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-07-31T10:36:36.000000Z K 7 svn:log V 163 MFC rev. 1.67 and 1.68: do not overwrite saved interrupt priority level by alloc_hash(), use a separate variable. Restore interrupt priority level before return. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-07-31T11:50:01.000000Z K 7 svn:log V 136 - Correct the path to the dot.nsmbrc sample file. - Add FreeBSD CVS tag. PR: docs/35649 Submitted by: roam Approved by: ceri (mentor) END K 10 svn:author V 2 pb K 8 svn:date V 27 2003-07-31T12:40:56.000000Z K 7 svn:log V 65 Add a regression test for the big pipe bug. Suggested by: silby END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-07-31T13:36:57.000000Z K 7 svn:log V 28 Make this compile on alpha. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-31T14:20:07.000000Z K 7 svn:log V 1176 Make the driver to work with firmware version 4.1.12 (other 4.X.Y should also do it). Three problems have been encountered: 1. The initialisation command does not work in interrupt mode. Whether this is a firmware bug or a feature is not clear. The original Fore drivers execute the initialize command always in polling mode, so it appears that this behaviour is expected. When we detect a 4.X.Y firmware do busy wait on the command status. 2. The command code of the GET_PROM command has changed. This is an unofficial command anyway. What was GET_PROM in 3.X.Y is CLEAR_STATS in 4.X.Y (although unimplemented in the firmware). We need to use the correct code depending on the firmware. 3. The 4.X.Y firmware can set the error flag in the command status without also setting the completion flag (as the documenation says). Check both variants. An additional field in the per-card structure fu_ft4 is TRUE when we have detected a 4.X.Y firmware. Otherwise it is false. The behaviour of the driver when using a 3.X.Y firmware should be identical to the previous behaviour. This change will enable traffic shaping of (at least one) CBR channels. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-31T14:26:07.000000Z K 7 svn:log V 287 Make firmware version 4.1.12 the default for download to PCA-200E adapters. The old firmware (3.0.1) can still be used by specifying the '-3' option to fore_dnld. Document the -r option that resets the adapter prior to the download. Ther newer firmware version allows traffic shaping. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-31T14:52:44.000000Z K 7 svn:log V 376 Implement a traffic shaping option for the PCA200 for CBR channels. This is controlled by a per-adapter sysctl hw.atm.hfaX.shape. When set to 0, no shaping occures. When set to 1 at most 1 channel is shaped. When set to 2 all CBR channels are shaped. Note, that the latter may actually not work, because of the adapter supporting the shaping of only one PDU at the same time. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-07-31T16:55:44.000000Z K 7 svn:log V 76 Record the missing module dependency ("amd" on "cam"). Reviewed by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-31T17:27:52.000000Z K 7 svn:log V 326 Add a one-shot callout facility to db_printf() that executes the registered callout when a specified number of lines have been output. This can be used to implement pagers for ddb commands that output a lot of text. A simple paging function is included that automatically rearms itself when fired. Reviewed by: bde, julian END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-31T17:29:42.000000Z K 7 svn:log V 136 Update the 'ps', 'show pci', and 'show ktr' ddb commands to use the new pager callout instead of homerolling their own paging facility. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-07-31T18:35:43.000000Z K 7 svn:log V 360 Remove a suser() check in the mac_biba policy: the MAC Framework itself already checks suser on a network interface relabel, so don't dup it here. Rely solely on the Biba definition of privilege, which is already tested. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Submitted by: Andrew Reisse END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-31T18:50:58.000000Z K 7 svn:log V 350 Add a new function to look for a spinlock's instance when it is held by another thread. We use the td_oncpu member of the other field to locate it's associated CPU and then search the that CPU's list of spin locks contained in its per-CPU data. This is not always safe and may in fact panic or just not work, but it is useful in at least one case. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-31T18:52:18.000000Z K 7 svn:log V 188 If a spin lock is held for too long and WITNESS is enabled, then call witness_display_spinlock() to see if we can find out where the current owner of the spin lock last acquired the lock. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-07-31T19:41:32.000000Z K 7 svn:log V 45 If ${GCC_CPU}-c.c exists, we need to use it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-07-31T20:00:06.000000Z K 7 svn:log V 457 Improve consistency with the Biba policy -- rename mac_mls_subject_equal_ok() to mac_mls_subject_privileged(), which more consistently reflects the fact that this is really about our notion of privilege in the MLS policy. Since we don't use suser() for privilege in MLS, remove the suser check from the ifnet relabel ioctl, and replace it with an MLS privilege check. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T20:46:33.000000Z K 7 svn:log V 224 When dumping swap information, drop the "Type" field which displays a constant string of little information these days. This removes the need to #include which is due to become a kernel only include file. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T20:53:04.000000Z K 7 svn:log V 73 Unifdef -UDEBUG_SWAPINFO The kernel data structures are about to change. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-07-31T21:09:11.000000Z K 7 svn:log V 286 Take the same approach for i386 as that for ia64 and amd64. Use the userland version of [gs]etcontext to switch between a thread and the UTS scheduler (and back again). This also fixes a bug in i386 _thr_setcontext() which wasn't properly restoring the context. Reviewed by: davidxu END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T21:20:08.000000Z K 7 svn:log V 60 Remove options processing for dumping swapdevice radix map. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-07-31T21:29:04.000000Z K 7 svn:log V 51 This file hasn't been used for some time; nuke it. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T21:30:28.000000Z K 7 svn:log V 90 Retire the SWIF_DUMP_TREE code, this is in the way for a rework of the swap_pager layout. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-07-31T21:34:36.000000Z K 7 svn:log V 227 MFC: all changes to use __FBSDID(), and to fix 'sccsid' lines to consistently match style(9) guidelines in lpr/filters* and lpr/lptest. This include Makefile changes so these programs can find lp.cdefs.h in lpr/common_source. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T21:38:32.000000Z K 7 svn:log V 158 Disable and lobotomize the kvm image reading swapinfo code, the kernel layout is about to change. The sysctl based method still returns correct information. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T21:42:12.000000Z K 7 svn:log V 65 Remove various unused variables, prototypes and local variables. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T21:44:31.000000Z K 7 svn:log V 154 Remove unnecssary includes. These were probably not cleaned up back in whatever murky past these files were split into separate files. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-31T22:06:36.000000Z K 7 svn:log V 98 Use FSBase to map kse, GCC generates code which uses %fs to access TLS data. Reminded by: marcel END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-31T22:19:28.000000Z K 7 svn:log V 123 Remove unused stuff. Move used stuff to swap_pager.c where it belongs. This file no longer exports anything to userland. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-01T00:03:26.000000Z K 7 svn:log V 131 MFC: all remaining changes for lpr/* to use __FBSDID(), and to fix 'sccsid' lines so they consistently match style(9) guidelines. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-01T00:06:41.000000Z K 7 svn:log V 73 Remove a 'From:' that snuck into an sccsid comment line as part of -v1.3 END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-01T02:13:25.000000Z K 7 svn:log V 40 - Detect full of DMA channel correctly. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-01T02:21:54.000000Z K 7 svn:log V 98 Remove Giant from writev(2). Eliminate trivial style differences between writev(2) and readv(2). END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-01T02:24:39.000000Z K 7 svn:log V 70 - Disable faking T_DIRECT as T_RBC because we have PIM_NO_6_BYTE now. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2003-08-01T02:25:32.000000Z K 7 svn:log V 377 Add printer support to puc(4) driver. - Move isa/ppc* to sys/dev/ppc (repo-copy) - Add an attachment method to ppc for puc - In puc we need to walk the chain of parents. Still to do, is to make ppc(4) & puc(4) work on other platforms. Testers wanted. PR: 38372 (in spirit done differently) Verified by: Make universe (if I messed up a platform please fix) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-01T04:51:21.000000Z K 7 svn:log V 153 Clean up fwdev. Allocate iso DMA channel dynamically. This allows us to have more /dev/fw* than number of DMA channels for asyn. transactions and etc. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2003-08-01T05:02:55.000000Z K 7 svn:log V 41 Forgot an added file in the last commit. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-01T05:28:43.000000Z K 7 svn:log V 87 Fix ordering bug created by previous commit. While here, make ppc(4) dependent on isa. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-01T07:21:34.000000Z K 7 svn:log V 83 Write the preserved registers to (and read them from) struct reg and struct fpreg. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T07:24:31.000000Z K 7 svn:log V 63 The rc files have been repo-copied to a separate subdirectory. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T07:55:13.000000Z K 7 svn:log V 94 Use PNG instead of GIF; add WWWOWN and WWWGRP variables to the Makefile; add a shortcut icon. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-08-01T09:04:32.000000Z K 7 svn:log V 269 When using crunchgen, blow away MAKEFLAGS. This fixes make -j <#> -P from passing the -P flag to crunchgen which seems to confuse crunchgen horribly. This is the preferable solution to modifing crunchgen to unset the MAKEFLAGS environment variable. Submitted by: gad@ END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-08-01T10:02:58.000000Z K 7 svn:log V 18 MFC noted: rue(4) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-08-01T11:03:38.000000Z K 7 svn:log V 36 Fix to keep consistent description. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-01T11:31:19.000000Z K 7 svn:log V 31 Spell "file system" correctly. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-08-01T13:29:58.000000Z K 7 svn:log V 123 MFC: The "-i" option to limit the scope of operation to the ARP entries on a particular interface. arp.8 1.21 arp.c 1.46 END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-08-01T13:40:57.000000Z K 7 svn:log V 16 MFC: arp(8) -i. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-08-01T13:46:22.000000Z K 7 svn:log V 22 MFC noted: arp(8) -i. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-08-01T13:48:12.000000Z K 7 svn:log V 32 Grammar: Add a missing article. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-08-01T14:05:06.000000Z K 7 svn:log V 376 Invalidate the remote directory cache on commands altering the remote directory contents. Not applicable directly to CURRENT since the latter uses the contributed lukemftp as the default ftp client. Luke Mewburn has applied this fix to his ftp client, too, so CURRENT's will get fixed upon the next import of lukemftp. Submitted by: demon Reviewed by: lukem (at) netbsd.org END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-01T15:45:14.000000Z K 7 svn:log V 148 Attempt to simplify #ifdef logic for MAC_ALWAYS_LABEL_MBUF. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-01T16:10:48.000000Z K 7 svn:log V 44 Add comment point o2micro people to NEWCARD END K 10 svn:author V 3 das K 8 svn:date V 27 2003-08-01T16:23:24.000000Z K 7 svn:log V 382 Fix jot so that 'jot -r -w %d 1 1 4' never prints 4. Previously, it would print it with probability 1/2**32. It seems that the correct behavior is to print 4 with probability 1/4, but I'd like to avoid breaking POLA until all the range inconsistencies in jot can be fixed in one pass. See PR for details. PR: 54878 Submitted by: David Brinegar END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-01T17:00:49.000000Z K 7 svn:log V 57 Fix kernel build -- 'c' was the unused var, not 'lines'. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-01T17:19:12.000000Z K 7 svn:log V 98 Workaround for gcc on alpha/ia64. (warning: `xferq' might be used uninitialized in this function) END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-01T17:26:41.000000Z K 7 svn:log V 125 Use strncmp() and not strcmp() here to properly match installed ports. Submitted by: Harold Gutch END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-08-01T17:33:59.000000Z K 7 svn:log V 954 Add facilities for tuning the "em" driver's interrupt delays without recompiling the driver. See the comments near the top of "if_em.h" for descriptions of these delays. Four new loader tunables control the system-wide default values: hw.em.tx_int_delay hw.em.rx_int_delay hw.em.tx_abs_int_delay hw.em.rx_abs_int_delay The tunables are specified in microseconds. The valid range is 0-67108 usec., and 0 means that the timer is disabled. There are also four new sysctls (actually, a set of four for each "em" device in the system) to query and change the interrupt delays after the system is up: hw.em0.tx_int_delay hw.em0.rx_int_delay hw.em0.tx_abs_int_delay (not present for 82542/3/4 adapters) hw.em0.rx_abs_int_delay (not present for 82542/3/4 adapters) It seems to be OK to change these values even while the adapter is passing traffic. Approved by: Prafulla Deuskar MFC after: 4 weeks END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-01T17:42:27.000000Z K 7 svn:log V 111 Only free the pcpu cache buckets if they are non-NULL. Crashed this person's machine: harti Pointy-hat to: me END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-01T17:54:11.000000Z K 7 svn:log V 53 I'll maintain dhclient from now on. Ok'd by: murray END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-01T19:51:43.000000Z K 7 svn:log V 88 Update the comment at the head of kmem_alloc_nofault() to describe its purpose and use. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-08-01T20:28:20.000000Z K 7 svn:log V 58 Add ip6 and icmp6 displays to systat. MFC after: 2 weeks END K 10 svn:author V 3 dds K 8 svn:date V 27 2003-08-01T21:07:24.000000Z K 7 svn:log V 113 MFC version 1.3 PR: misc/25585 Submitted by: Walter Briscoe Approved by: schweikh (mentor) END K 10 svn:author V 3 dds K 8 svn:date V 27 2003-08-01T21:10:37.000000Z K 7 svn:log V 116 MFC version 1.30 Fixed .Nm element, updated HISTORY section, added AUTHORS section. Approved by: schweikh (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T21:15:28.000000Z K 7 svn:log V 28 Re-add support for patches. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T21:16:31.000000Z K 7 svn:log V 29 powerpc still needs a patch. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T21:17:43.000000Z K 7 svn:log V 31 Use a more generic patch name. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T21:18:17.000000Z K 7 svn:log V 15 powerpc patch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-01T21:31:36.000000Z K 7 svn:log V 317 Add hw.pci.irq_override_mask, which is a mask of interrupts that are considered to be good to try when it otherwise has no clue about which interrupts to try. This is a band-aide and we really should try to balance the IRQs that we arbitrarily pick, but it should help some people that would otherwise get bad IRQs. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-01T21:43:20.000000Z K 7 svn:log V 91 New release notes: dhclient(8) -i, systat(1) ip6/icmp6, NO_FLOPPIES for alpha/amd64/ia64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-01T21:45:56.000000Z K 7 svn:log V 158 Define PCI_MAXHDRTYPE to be 2. We know about header types 0, 1 and 2. Update the MI device scanning code to use PCI_MAXHDRTYPE rather than the hard coded 2. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-01T21:50:09.000000Z K 7 svn:log V 423 The MI code was modified to filter the devices based on its header type. We know about header types 0, 1 and 2. Ignore the rest in the MD i386 code when we're looking for bridges. You cannot look at the vendor tag. And if you don't you certainly can't look at function > 0 if the device isn't there. The new soekris boards' GEODE cpu has issues with the old way. This is reported to have fixed it. MFC After: 2 days END K 10 svn:author V 3 des K 8 svn:date V 27 2003-08-01T21:54:35.000000Z K 7 svn:log V 40 Parts of the patch have been committed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-01T22:17:12.000000Z K 7 svn:log V 243 The END() must expand to the .endp directive with the same name as on the corresponding .proc directive, or the .endp must not have a name at all. While here, remove an artificial dependency in Ovfork.S by performing manual register renaming. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-08-02T00:26:30.000000Z K 7 svn:log V 101 Fix a dumbass mistake. I had the 'set' and 'get' reversed in the fpsetround/fpgetround macro pairs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-02T00:49:36.000000Z K 7 svn:log V 568 Override the default stubs for getcontext(2) and swapcontext(2) so that we can flush the register stack prior to entering the kernel. This avoids having dirty registers and saves us from having to manually write them to the backing store from within the kernel. In that respect, flushing the RSE is both functionally required as well as performance optimal. On average we had 18 dirty registers when getcontext(2) was called from libthr. Since libthr does not switch back to a context created by getcontext(2), not having dealt with the dirty registers was harmless. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-02T01:12:31.000000Z K 7 svn:log V 140 Don't use uint64_t. Use unsigned long instead. One is supposed to use ucontext_t without having to include headers other than . END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-08-02T01:55:03.000000Z K 7 svn:log V 596 Dump the HPET information block. What is the HPET I hear you ask? It is the High Precision Event Timer that is supposed to supplement and eventually replace the 8254 timer and the RTC periodic interrupts. Among other things, it is 64 bit (can be run in 32 bit mode for 32 bit cpus), and is suitable as a replacement for the ACPI timer on SMP systems (the specs are much better) and as a replacement for the ITC based synthetic clock for on ia64 systems. It seems IA64 and AMD64 systems tend to have this. It is likely to start showing up in i386 systems if it isn't already on some of them. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-08-02T01:58:33.000000Z K 7 svn:log V 20 Hoo sed I kan spel? END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-02T04:18:56.000000Z K 7 svn:log V 164 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in sf_buf_init(). (See revision 1.140 of kern/sys_pipe.c for a detailed rationale.) Submitted by: tegge END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-02T05:05:34.000000Z K 7 svn:log V 129 Eliminate an abuse of kmem_alloc_pageable() in bufinit() by using VM_ALLOC_NOOBJ to allocate the bogus page. Reviewed by: tegge END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-02T05:14:17.000000Z K 7 svn:log V 33 PC98 uses different mask of IRQ. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-02T05:48:03.000000Z K 7 svn:log V 643 Version 0.9.5.2: o correct BSSID setup in ah_writeAssocid for 5211 and 5212 (fixes reception of broadcast frames after association) o correct transmit retry counts returned by 5211 in ah_procTxDesc o add missing regulatory domain support that caused use of 11b channels to be disallowed with some cards (e.g. mini-pci cards in certain IBM laptops) o miscellaneous fixes to regulatory domain support o increase size of 5212 ANI table to avoid overflow o add monitor mode o remove OS_QSORT support o fix handling of HAL_RXDESC_INTREQ in ah_setupRxDesc o rewrite 5212 descriptor handling for portability o FreeBSD: track alq_open API change END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-02T05:48:03.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r118339, 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-08-02T05:48:04.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'ath-vendor-sys-V0_9_5_2'. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-02T06:14:15.000000Z K 7 svn:log V 184 o remove bmisshack no longer needed with the BSSID fix in v0.9.5.2 of the hal o add monitor mode support o fix short preamble handling in beacon setup (noop) o correct resume handling END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-02T06:16:59.000000Z K 7 svn:log V 52 update to reflect bugs fixed in v0.9.5.2 of the hal END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-02T06:17:01.000000Z K 7 svn:log V 217 - Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in pmap_mapdev(). See revision 1.140 of kern/sys_pipe.c for a detailed rationale. Submitted by: tegge - Remove GIANT_REQUIRED from pmap_mapdev(). END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-08-02T06:52:36.000000Z K 7 svn:log V 340 Relax the check for bad LDTE allocations. It turns out that there is code that blindly allocates LDTEs starting at slot 6 and I quess it doesn't really matter to us if they overwrite the BSDI syscall slot, since it isn't a BSDI binary. Also add some code to help track down other such users (commented out for now). Reviewed by: deischen@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-02T08:22:03.000000Z K 7 svn:log V 455 Don't hardcode unit 0 for the current device if we're loaded from an EFI file system. When booting from a CD and there's already an EFI system partition on the disk, setting the current device to unit 0 will select the harddisk. This invariably breaks installing FreeBSD when other operating systems have been installed before. We obviously want to do the same when we're booting over the network. Maybe later. Based on a patch (from memory) from: arun END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-08-02T09:00:50.000000Z K 7 svn:log V 90 New release notes: puc(4) printer support em(4) support for tuning the interrupt delays END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-02T09:23:03.000000Z K 7 svn:log V 24 MFi386: revision 1.449. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-02T09:25:25.000000Z K 7 svn:log V 45 Merged from sys/dev/ppc/ppc.c revision 1.42. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-02T09:33:58.000000Z K 7 svn:log V 35 puc(4) printer also works on pc98. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-02T09:36:49.000000Z K 7 svn:log V 30 MFi386: sort. OK'ed by: nyan END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-02T09:40:53.000000Z K 7 svn:log V 71 Grab Giant in physio() since non-giant drivers are starting to appear. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-02T09:41:31.000000Z K 7 svn:log V 46 Merged from sys/dev/sio/sio.c revision 1.400. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-02T09:45:10.000000Z K 7 svn:log V 170 Grab Giant in bufdonebio() since drivers may not hold it. This only protects the "struct buf" consumers (ie: DEV_STRATEGY()), but does not protect BIO_STRATEGY() users. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-02T10:11:58.000000Z K 7 svn:log V 39 Kick Giant compatibility one layer up. END K 10 svn:author V 2 pb K 8 svn:date V 27 2003-08-02T11:02:53.000000Z K 7 svn:log V 39 MFC: rev 1.37, fix "write from stdin". END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-08-02T13:25:31.000000Z K 7 svn:log V 74 Support the Titan VScom PCI-200HV2 2 port serial card. MFC after: 3 days END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-08-02T14:41:54.000000Z K 7 svn:log V 472 MFC 1.173 (don't hide the name of tmpstk); 1.172+1.174: (clear the bss before using it, and use up to date comments about this). Adjustments for RELENG_4 (n/a in -current). locore.s: Don't staticize tmpstk since it is needed in swtch.s. Adjust comments some more to cover the BDE_DEBUGEGR case. swtch.s: Don't hide the name of tmpstk here either. This is part of making RELENG_4 kernels work when compiled by gcc-3.3. Fixing bss clearing is the only nontrivial part. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-08-02T14:54:49.000000Z K 7 svn:log V 317 MFC locore.s 1.172-1.174 (don't hide the name of tmpstk, and clear the bss properly) with adjustments for RELENG_3. The adjustments are the same as for RELENG_4. This is part of some making RELENG_3 kernels work when compiled by gcc-3.3. Fixing bss clearing and ATOMIC_ASM constrains are the only nontrivial parts. END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-08-02T16:45:32.000000Z K 7 svn:log V 63 fix braino in last commit. Beaten with clue-stick by: Davidxu END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-02T17:08:21.000000Z K 7 svn:log V 161 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in proc_rwmem(). See revision 1.140 of kern/sys_pipe.c for a detailed rationale. Submitted by: tegge END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-02T17:35:00.000000Z K 7 svn:log V 86 Both 'c' an 'lines' are unused, the bogus init of lines was accidentally left behind. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-02T18:21:02.000000Z K 7 svn:log V 231 - Boot-only CD-ROM support (bootonly.iso). Submitted by: jhb, ru - Moved the creation of the ports distribution to release.7. - Call MFS root floppy mfsroot.flp even on a small PC98 disk. Submitted by: jhb Reviewed by: ru, jhb END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-02T18:46:02.000000Z K 7 svn:log V 88 There's already the elink.ko module available, don't embed it here. Reviewed by: markm END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-02T19:26:09.000000Z K 7 svn:log V 162 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in pmap_mapdev(). See revision 1.140 of kern/sys_pipe.c for a detailed rationale. Submitted by: tegge END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2003-08-02T20:36:28.000000Z K 7 svn:log V 182 Fix a tip about how to create an empty file[1]. Remove tip about retired kget(8). Fix a typo. PR: conf/54334 Submitted by: Mark Huizer MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-02T22:29:10.000000Z K 7 svn:log V 341 Fix truss on ia64. The syscall arguments are written to the trap frame, occupying scratch registers r16 and up. We don't have to save any scratch registers for syscalls, so we have plenty of room there. Consequently, when we fetch the registers from the process, we automaticly have all the arguments and don't need to read them seperately. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-02T22:39:10.000000Z K 7 svn:log V 73 -15 is incorrect to be used to align stack to 16 bytes, use ~15 instead. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-02T22:40:27.000000Z K 7 svn:log V 334 When INVARIANTS is on and we're in uma_zalloc_free(), we need to make sure that uma_dbg_free() is called if we're about to call uma_zfree_internal() but we're asking it to skip the dtor and uma_dbg_free() call itself. So, if we're about to call uma_zfree_internal() from uma_zfree_arg() and skip == 1, call uma_dbg_free() ourselves. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-02T23:03:37.000000Z K 7 svn:log V 215 Fix an 'bad file descriptor' error which would come up when using the 'C' flag on an entry that also specifies 'user:group' info. Submitted by: Riccardo Torrini in -current MFC after: 4 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T02:23:39.000000Z K 7 svn:log V 571 This patch address two problems. 1st one is relatively minor: according our own manpage, upper and lower classes must be sorted, but currently not. 2nd one is serious: tr '[:lower:]' '[:upper:]' (and vice versa) currently works only if upper and lower classes have exact the same number of elements. When it is not true, like for many ISO8859-x locales which have bigger amount of lowercase letters, tr may do nasty things. See this page http://www.opengroup.org/onlinepubs/007908799/xcu/tr.html for detailed description of desired tr behaviour in such cases. END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T03:51:27.000000Z K 7 svn:log V 68 POSIX requires 'c-c' must conform collate and be in collation order END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T04:18:07.000000Z K 7 svn:log V 91 Remove charcoll() stabilization added in 1.16, it gains nothing but conflicts with ranges. END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T04:28:10.000000Z K 7 svn:log V 67 Remove collate_range_cmp() stabilization, it conflicts with ranges END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T04:36:09.000000Z K 7 svn:log V 67 Remove collate_range_cmp() stabilization, it conflicts with ranges END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T04:40:40.000000Z K 7 svn:log V 69 Remove __collate_range_cmp() stabilization, it conflicts with ranges END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T04:47:34.000000Z K 7 svn:log V 67 Remove collate_range_cmp() stabilization, it conflicts with ranges END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T05:20:31.000000Z K 7 svn:log V 41 Remove commented out and never used code END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-03T05:55:21.000000Z K 7 svn:log V 96 Always put an entry for ::1. It may avoid useless DNS lookup for localhost. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-03T06:08:48.000000Z K 7 svn:log V 232 Revise obj_alloc(). Most notably, use the object's lock to prevent two concurrent invocations from acquiring the same address(es). Also, in case of an incomplete allocation, free any allocated pages. In collaboration with: tegge END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-03T06:17:06.000000Z K 7 svn:log V 209 Go ahead and allow ports as high as 0xfff to be used for pccard devices. Only some devices support above 0x400, but since you have to explicitly enable this range, you are assumed to know what you are doing. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-03T07:50:19.000000Z K 7 svn:log V 12 Style sync. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-03T07:53:50.000000Z K 7 svn:log V 47 Deal with GCC annoyingly defining _BIG_ENDIAN. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-03T09:27:39.000000Z K 7 svn:log V 123 Move extern declaration of the various pagerops from vm_pager.c to vm_pager.h where the various pagers will also see them. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-03T10:39:29.000000Z K 7 svn:log V 105 Fix the cdev kld example. PR: 52954 Submitted by: Priit Piipuu Reviewed by: phk END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-03T11:07:06.000000Z K 7 svn:log V 44 MFC Rev. 1.21 Fix broken -a functionality. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-08-03T11:43:13.000000Z K 7 svn:log V 55 Note that AS4100 needs DC adapter for RCM to function. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-08-03T11:49:25.000000Z K 7 svn:log V 55 Note that AS4100 needs DC adapter for RCM to function. END K 10 svn:author V 2 pb K 8 svn:date V 27 2003-08-03T13:04:57.000000Z K 7 svn:log V 244 MFC rev 1.141: remove test in pipe_write() which causes write(2) to return EAGAIN on a non-blocking pipe in cases where select(2) returns the file descriptor as ready for write. This in turns causes libc_r, for one, to busy wait in such cases. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-03T13:35:31.000000Z K 7 svn:log V 1790 Change the layout policy of the swap_pager from a hardcoded width striping to a per device round-robin algorithm. Because of the policy of not attempting to retain previous swap allocation on page-out, this means that a newly added swap device almost instantly takes its 1/N share of the I/O load but it takes somewhat longer for it to assume it's 1/N share of the pages if there is plenty of space on the other devices. Change the 8G total swapspace limitation to 8G per device instead by using a per device blist rather than one global blist. This reduces the memory footprint by 75% (typically a couple hundred kilobytes) for the common case with one swapdevice but NSWAPDEV=4. Remove the compile time constant limit of number of swap devices, there is no limit now. Instead of a fixed size array, store the per swapdev structure in a TAILQ. Total swap space is still addressed by a 32 bit page number and therefore the upper limit is now 2^42 bytes = 16TB (for i386). We still do not allocate the first page of each device in order to give some amount of protection to any bsdlabel at the start of the device. A new device is appended after the existing devices in the swap space, no attempt is made to fill in holes left behind by swapoff (this can trivially be changed should it ever become a problem). The sysctl vm.nswapdev now reflects the number of currently configured swap devices. Rename vm_swap_size to swap_pager_avail for consistency with other exported names. Change argument type for vm_proc_swapin_all() and swap_pager_isswapped() to be a struct swdevt pointer rather than an index. Not changed: we are still using blists to manage the free space, but since the swapspace is no longer fragmented by the striping different resource managers might fare better. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-03T13:39:59.000000Z K 7 svn:log V 97 Remove the NSWAPDEV option, we have no upper limit on how many swap devices we can have anymore. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-03T14:53:52.000000Z K 7 svn:log V 73 I accidentally hit undo before committing, fix the resulting off-by-one. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-03T15:06:00.000000Z K 7 svn:log V 137 - Removed vestiges of the IA64 boot floppy support. - Fixed the bootable CD-ROM support for IA64. Reviewed by: marcel Tested by: marcel END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-03T15:17:28.000000Z K 7 svn:log V 22 style.Makefile(5)'ize END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-03T17:52:54.000000Z K 7 svn:log V 52 MFC 1.25, 1.26: ip6fw does not handle ESP correctly END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T19:28:23.000000Z K 7 svn:log V 77 Restore including of "collate.h", for its own prototype (mis)match detection END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T19:44:36.000000Z K 7 svn:log V 145 Rename collate_range_cmp() to stable_collate_range_cmp() to indicate that it is not the common variant. Remove doubtful microoptimization there. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-03T21:22:42.000000Z K 7 svn:log V 242 Name swap_pager_find_dev() more correctly swp_pager_finde_dev(). Use ->bio_children to count child buffers, rather than abuse the bio_caller1 pointer. Expand the relevant bits of waitchainbuf() inline, this clarifies the code a little bit. END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T22:02:49.000000Z K 7 svn:log V 135 1) Fix -C - it was broken since introduced, wrong array sorted 2) Fix last (repeated) char after [:class:], it was \0 in original code END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-08-03T22:19:43.000000Z K 7 svn:log V 71 Microoptimization of prev. patch: do strdup() only if (cflag || Cflag) END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-08-03T23:47:39.000000Z K 7 svn:log V 107 realpath(3) bug fix: There was an off-by-one error in computing the size of the resulting canonical path. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-04T00:08:39.000000Z K 7 svn:log V 818 Fix handling of external interrupts: we weren't calling ast() when interrupting user mode. The net effect of this bug is that a clock interrupt does not cause rescheduling and processes are not preempted. It only takes a "while (1);" to render the machine useless. This bug was introduced by the context changes and EPC syscall code. Handling of ASTs was moved to C for clarity and ease of maintenance, but was not added for the external interrupt case. This needs to be revisited. We now have calls to do_ast() in trap(), break_syscall() and ivt_External_Interrupt(). A single call in exception_restore covers these 3 places without duplication. This is where we handled ASTs prior to the overhaul, except that the meat has been moved to do_ast(), a C function. This was the goal to begin with. Pointy hat: marcel END K 10 svn:author V 3 jdp K 8 svn:date V 27 2003-08-04T00:17:16.000000Z K 7 svn:log V 209 Use the revision ID from PCI configuration space to identify Intel 8255x chips more precisely. The information was obtained from Intel's Open Source Software Developer Manual for the 8255x. MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-04T00:31:01.000000Z K 7 svn:log V 457 In ufs_chmod(), use privilege only when required in the following cases: - Setting sticky bit on non-directory - Setting setgid on a file with a group that isn't in the effective or extended groups of the authorizing credential I.e., test the requirement first, then do the privilege test, rather than doing the privilege test regardless of the need for privilege. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-04T00:57:28.000000Z K 7 svn:log V 37 New release/errata notes: SA-03:08. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-04T01:01:32.000000Z K 7 svn:log V 16 MFC: SA-03:08. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-04T02:13:05.000000Z K 7 svn:log V 648 Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e support routines in kern_acl.c: - Define ACL_OVERRIDE_MASK and ACL_PRESERVE_MASK centrally in acl.h: the mode bits that are (and aren't) stored in the ACL. - Add acl_posix1e_acl_to_mode(): given a POSIX.1e extended ACL, generate a compatibility mode (only the bits supported by the POSIX.1e ACL). - acl_posix1e_newfilemode(): Given a requested creation mode and default ACL, calculate the mode for the new file system object (only the bits supported by the POSIX.1e ACL). PR: 50148 Reported by: Ritz, Bruno Obtained from: TrustedBSD Project END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-04T02:39:14.000000Z K 7 svn:log V 78 fix disordering of filenames. Place the dev/ppc files in alphabetical order. END