‚Í>132841 159 153 2684 179 165 206 179 160 176 203 255 204 962 138 140 261 176 155 186 360 265 141 219 145 156 452 115 137 156 500 205 226 102 534 236 106 145 479 128 246 408 135 115 168 221 191 196 216 230 522 513 202 507 225 111 332 171 501 236 386 244 195 641 144 399 132 192 112 183 282 353 205 160 181 184 139 223 126 115 135 179 201 190 113 245 175 138 117 175 222 299 310 177 185 139 141 133 137 475 200 123 205 136 120 242 176 143 142 139 152 148 206 168 253 195 131 489 136 191 117 117 284 220 146 454 117 163 177 209 544 148 305 151 2598 164 289 97 481 237 169 294 332 454 409 219 173 361 950 416 327 159 164 154 161 190 172 232 199 168 304 K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-29T15:06:19.000000Z K 7 svn:log V 61 Document /usr/ports/UPDATING and have a brief pointer re x11 END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-07-29T15:25:40.000000Z K 7 svn:log V 2585 Rework the way slab header storage space is calculated in UMA. - zone_large_init() stays pretty much the same. - zone_small_init() will try to stash the slab header in the slab page being allocated if the amount of calculated wasted space is less than UMA_MAX_WASTE (for both the UMA_ZONE_REFCNT case and regular case). If the amount of wasted space is >= UMA_MAX_WASTE, then UMA_ZONE_OFFPAGE will be set and the slab header will be allocated separately for better use of space. - uma_startup() calculates the maximum ipers required in offpage slabs (so that the offpage slab header zone(s) can be sized accordingly). The algorithm used to calculate this replaces the old calculation (which only happened to work coincidentally). We now iterate over possible object sizes, starting from the smallest one, until we determine that wastedspace calculated in zone_small_init() might end up being greater than UMA_MAX_WASTE, at which point we use the found object size to compute the maximum possible ipers. The reason this works is because: - wastedspace versus objectsize is a see-saw function with local minima all equal to zero and local maxima growing directly proportioned to objectsize. This implies that for objects up to or equal a certain objectsize, the see-saw remains entirely below UMA_MAX_WASTE, so for those objectsizes it is impossible to ever go OFFPAGE for slab headers. - ipers (items-per-slab) versus objectsize is an inversely proportional function which falls off very quickly (very large for small objectsizes). - To determine the maximum ipers we'll ever need from OFFPAGE slab headers we first find the largest objectsize for which we are guaranteed to not go offpage for and use it to compute ipers (as though we were offpage). Since the only objectsizes allowed to go offpage are bigger than the found objectsize, and since ipers vs objectsize is inversely proportional (and monotonically decreasing), then we are guaranteed that the ipers computed is always >= what we will ever need in offpage slab headers. - Define UMA_FRITM_SZ and UMA_FRITMREF_SZ to be the actual (possibly padded) size of each freelist index so that offset calculations are fixed. This might fix weird data corruption problems and certainly allows ARM to now boot to at least single-user (via simulator). Tested on i386 UP by me. Tested on sparc64 SMP by fenner. Tested on ARM simulator to single-user by cognet. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-29T15:35:45.000000Z K 7 svn:log V 84 Change a couple of comments so that GCC doesn't think that they contain tri-graphs. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-07-29T16:54:42.000000Z K 7 svn:log V 71 Bump the date in .Dd for the recent '+' flag commit. Requested by: ru END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T17:51:32.000000Z K 7 svn:log V 113 Get the current year number straight and remove one instance of trailing whitespace. Time travel spoiled by: ru END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T18:02:28.000000Z K 7 svn:log V 87 Use newly added __used attribute to keep static function symbol from being eliminated. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T18:04:06.000000Z K 7 svn:log V 68 Make lookup_host function invocation parameter match its prototype. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T18:05:20.000000Z K 7 svn:log V 84 Call nmatch function with parameters casted to types the function actually expects. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T18:07:08.000000Z K 7 svn:log V 110 Use newly added __used attribute to keep static function symbols from being eliminated by compiler optimizer. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-29T18:18:26.000000Z K 7 svn:log V 158 Document new control messages NGM_PPPOE_GETMODE, NGM_PPPOE_SETMODE. Note that sysctl net.graph.nonstandard_pppoe is deprecated. Approved by: julian (mentor) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-07-29T18:36:35.000000Z K 7 svn:log V 109 The signal number has to be less than NSIG strictly. PR: misc/69768 Submitted by: bronek MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-29T18:56:31.000000Z K 7 svn:log V 869 Advance the state of pmap locking on alpha, amd64, and i386. - Enable recursion on the page queues lock. This allows calls to vm_page_alloc(VM_ALLOC_NORMAL) and UMA's obj_alloc() with the page queues lock held. Such calls are made to allocate page table pages and pv entries. - The previous change enables a partial reversion of vm/vm_page.c revision 1.216, i.e., the call to vm_page_alloc() by vm_page_cowfault() now specifies VM_ALLOC_NORMAL rather than VM_ALLOC_INTERRUPT. - Add partial locking to pmap_copy(). (As a side-effect, pmap_copy() should now be faster on i386 SMP because it no longer generates IPIs for TLB shootdown on the other processors.) - Complete the locking of pmap_enter() and pmap_enter_quick(). (As of now, all changes to a user-level pmap on alpha, amd64, and i386 are performed with appropriate locking.) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-07-29T20:08:40.000000Z K 7 svn:log V 45 Correct typo in a comment. Approved by: jhb END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-07-29T20:09:25.000000Z K 7 svn:log V 47 Correct a documentation bug. Approved by: jhb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-29T20:27:59.000000Z K 7 svn:log V 168 Fill some informations about zombie processes as well. Before this change every zombie process were reported as an owner of PID 0 in ps(1) output. Reviewed by: julian END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-29T20:38:19.000000Z K 7 svn:log V 84 Syscall kill(2) called for a zombie process should return 0. Obtained from: Darwin END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-29T21:49:34.000000Z K 7 svn:log V 63 Remove obsolete ASM_FINAL_SPEC definition. Reported by: green END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T22:51:54.000000Z K 7 svn:log V 94 Add support for multibyte characters, based on Bruno Haible's work in the util-linux package. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-29T23:32:41.000000Z K 7 svn:log V 267 Re-word the COMPATIBILITY section, taking care to use the word "deprecated" to describe the 4.4BSD extension of accepting arguments outside the range of unsigned char. This gives us freedom to remove this extension when we remove the interface in FreeBSD 6. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-30T00:02:20.000000Z K 7 svn:log V 172 Fix printing of stats by printing an unsigned value as unsigned. ANSIfy function prototypes. Remove unnecessary returns. Submitted by: David Hill END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-30T00:02:42.000000Z K 7 svn:log V 49 Mark as WARNS 6 now that sign cleanups are done. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-30T00:08:15.000000Z K 7 svn:log V 126 Stop the practice of installing external headers into GCC-specific directory. Install FlexLexer.h into /usr/include directly. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-30T00:10:52.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-30T00:33:09.000000Z K 7 svn:log V 64 Clean up local memcpy implementation to take void * parameters. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-30T00:59:40.000000Z K 7 svn:log V 359 Add support for the Synaptics Touchpad mouse driver. I reworked the submitted version with style cleanups and changes to comments. I also modified the ioctl interface. This version only has one ioctl (to get the Synaptics-specific config parameters) since this is the only information a user might want. Submitted by: Arne Schwabe END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-30T01:30:05.000000Z K 7 svn:log V 23 Minor message cleanup. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-30T02:46:12.000000Z K 7 svn:log V 40 Fix comment. Thanks to: Johan Karlsson END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-30T02:59:58.000000Z K 7 svn:log V 59 Improve portability to FreeBSD 4. Thanks to: Barry Bouwsma END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-30T04:14:47.000000Z K 7 svn:log V 402 Conditionalize the bzip2/gzip compression/decompression code on the existence of the relevant libraries (actually, the existence of the include files). This will allow the library to be easily ported to systems that don't have these libraries. (Of course, it also means that clients using the library on such systems will not be able to take advantage of the automatic compression format detection.) END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-30T04:27:20.000000Z K 7 svn:log V 112 Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimization breaks boot in spectacular ways otherwise. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-30T07:56:53.000000Z K 7 svn:log V 130 Fix -O builds with gcc 3.4 by defining ffs as __builtin_ffs instead of creating an inline function that just calls __builtin_ffs. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T08:03:46.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-30T08:12:09.000000Z K 7 svn:log V 442 Pull up latest mdoc(7) changes: : 2004-05-10 Werner LEMBERG : : * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread, : doc-str-Lb-librt): Reset font. : (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'. : Provide `doc-str-Lb' to reset font. : * tmac/groff_mdoc.man: Updated. : 2004-07-08 Thomas Klausner : : * tmac/doc-syms (doc-str-St--p1003.1-2004): New string. : * tmac/groff_mdoc.man: Updated. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-30T08:12:09.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132873, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-30T08:14:00.000000Z K 7 svn:log V 15 Sync with FSF. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-30T08:16:37.000000Z K 7 svn:log V 54 MFC: Sync with HEAD (pull up latest mdoc(7) changes). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T08:19:22.000000Z K 7 svn:log V 386 - Add '-S' option, which allow to specify sector size for transparent provider. - Bump version number. This allows for a quite interesting trick. One can setup a stripe with stripe size of 512 bytes and create transparent provider on top of it with sector size equal to * 512. The result will be something like RAID3 without parity disk (every access will touch all disks). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-30T08:31:29.000000Z K 7 svn:log V 37 Update to the 2004 Edition of POSIX. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-30T08:43:16.000000Z K 7 svn:log V 148 Document the behaviour of the "-o file" option when "file" is a directory (downloaded file(s) are created inside the directory). MFC after: 3 days END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-07-30T09:10:28.000000Z K 7 svn:log V 315 Get rid of another lockmgr(9) consumer by using sx locks for the user maps. We always acquire the sx lock exclusively here, but we can't use a mutex because we want to be able to sleep while holding the lock. This is completely equivalent to what we were doing with the lockmgr(9) locks before. Approved by: alc END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-30T09:42:04.000000Z K 7 svn:log V 42 Fix new compiler error (s/bcopy/memcpy/). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-30T10:58:06.000000Z K 7 svn:log V 23 Check for read errors. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-30T11:08:02.000000Z K 7 svn:log V 76 Fix handling of msync(2) for character special files. Submitted by: nvidia END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-30T11:09:18.000000Z K 7 svn:log V 128 Fix a memory leak in the device pager which is exposed by the NVIDIA OpenGL driver. Submitted by: nvidia (possibly also tegge) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-30T11:33:52.000000Z K 7 svn:log V 95 Fix mdoc(7) and grammar errors from previous commit. Requested, submitted and reviewed by: ru END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-07-30T13:33:09.000000Z K 7 svn:log V 103 Fix the reset sequence for sx4/sx4000 type controllers, it could hang the chip in an indefinite state. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-07-30T14:50:52.000000Z K 7 svn:log V 123 Fix a copy and paste error. Do not include errors.c in libgcc_int.a, it is only used by build tools. Submitted by: grehan END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-07-30T16:44:29.000000Z K 7 svn:log V 138 MFia64: Fix -O builds with gcc 3.4 by defining ffs as __builtin_ffs instead of creating an inline function that just calls __builtin_ffs. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-30T16:57:42.000000Z K 7 svn:log V 429 Open a socket for a data transfer in active mode using euid of the current user, not root. This will allow neat things like matching anonymous FTP data traffic with a single ipfw(8) rule: ipfw add ... tcp from any to any uid ftp Note that the control connection socket still belongs to the user ftpd(8) was started from, usually root. PR: bin/65928 Submitted by: Eugene Grosbein MFC after: 1 month END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-30T17:13:00.000000Z K 7 svn:log V 420 o Assertions to catch that stuff that shouldn't happen is not happening. o In the rwlock code: move a duplicated check inside an if..else to after the if...else clause. o When initializing a static rwlock move the initialization check inside the lock. o In thr_setschedparam.c: When breaking out of the trylock...retry if busy loop make sure to reset the mtx pointer to null if the mutex is nolonger in a queue. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-30T17:18:57.000000Z K 7 svn:log V 109 Add a comment to explain that the loop around the call to bind(2) is not a hack, but it has a clear purpose. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-30T17:19:35.000000Z K 7 svn:log V 414 Finish cleanup of rc.d/netif. It's now possible to start/stop more than one interface from the command line: # /etc/rc.d/netif start bfe0 xl0 It's also possible to restart an interface(s): # /etc/rc.d/netif restart bfe0 This required some changes to rc.subr(8) so that if the start/stop commands are overidden the rest of the command line (after the start/stop/etc... cmd) is passed through to the subroutines. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-30T17:27:23.000000Z K 7 svn:log V 132 Kill casts to (uid_t) obviously left from the K&R era. Prototyping library functions in header files has rendered them superfluous. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-30T17:30:07.000000Z K 7 svn:log V 19 Ditto for (gid_t). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T19:55:12.000000Z K 7 svn:log V 239 Allow to create slices on providers from class LABEL and class NOP. This is really ugly way to do this, but there is no other way for now. It allows to mount root file system from providers which belong to those classes. Approved by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T19:59:36.000000Z K 7 svn:log V 79 Nuke geom_mirror class. New geom_mirror class is in the way. Approved by: phk END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-30T20:25:12.000000Z K 7 svn:log V 408 - Add pmap locking to ia64's pmap_enter() and pmap_enter_quick(). (This brings ia64 to parity with alpha, amd64, and i386 in this area.) - Prevent a race in pmap_find_pte(): If pmap_find_pte() sleeps in uma_zalloc(), another thread could allocate a pte at the same address. Instead, sleep at a higher level and retry the lookup before retrying the allocation. Reviewed and tested by: marcel@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-30T20:31:02.000000Z K 7 svn:log V 143 Giant is no longer required by vm_waitproc() and vmspace_exitfree(). Eliminate it acquisition and release around vm_waitproc() in kern_wait(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-30T20:38:30.000000Z K 7 svn:log V 293 - Push down the acquisition and release of Giant into pmap_protect() on those architectures without pmap locking. - Eliminate the acquisition and release of Giant from vm_map_protect(). (Translation: mprotect(2) runs to completion without touching Giant on alpha, amd64, i386 and ia64.) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-30T21:42:39.000000Z K 7 svn:log V 151 Clean up some more casts. Note that the an_fudge alignment hack for struct an_ltv_stats needs to be fixed. It has been here since this was imported. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-30T21:43:21.000000Z K 7 svn:log V 102 Drop WARNS down to 3 since sparc64 still has justified complaints about bad casts. Noticed by: johan END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-30T22:08:52.000000Z K 7 svn:log V 548 Put a version element in the VFS filesystem configuration structure and refuse initializing filesystems with a wrong version. This will aid maintenance activites on the 5-stable branch. s/vfs_mount/vfs_omount/ s/vfs_nmount/vfs_mount/ Name our filesystems mount function consistently. Eliminate the namiedata argument to both vfs_mount and vfs_omount. It was originally there to save stack space. A few places abused it to get hold of some credentials to pass around. Effectively it is unused. Reorganize the root filesystem selection code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T22:50:21.000000Z K 7 svn:log V 52 Remove the old geom_mirror class. Approved by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T23:13:45.000000Z K 7 svn:log V 306 Add GEOM_MIRROR class which provide RAID1 functionality and has many useful features. The gmirror(8) utility should be used for control of this class. There is no manual page yet, but I'm working on it with keramida@. Many useful tests provided by: simon (thank you!) Some ideas from: scottl, simon, phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-30T23:18:53.000000Z K 7 svn:log V 40 Connect GEOM_MIRROR class to the build. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-30T23:40:38.000000Z K 7 svn:log V 100 Set the access counts of a subdisk correctly when attaching it to a plex that already has subdisks. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T00:37:14.000000Z K 7 svn:log V 20 Dump correct field. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T00:51:33.000000Z K 7 svn:log V 91 - Check if 'slice' argument was given. - Check if disk isn't already the mirror component. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T00:54:44.000000Z K 7 svn:log V 189 Add '-p' option for 'insert' command which allows to specify priority of the new component. Version number wasn't bumped (it should be), because I think there are no geom_mirror users yet. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-31T01:00:50.000000Z K 7 svn:log V 260 Use #include rather than the explicit externs in the example. The externs haven't been needed in about 10 years, so there's no reason to have them other than for hysterical raisins. And the California Rasins haven't been around for a long time... END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T01:17:20.000000Z K 7 svn:log V 112 Allow slice creation on providers from MIRROR class. This should allow mounting root file system from a mirror. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-31T01:41:41.000000Z K 7 svn:log V 64 1. Use correct alignment mask, -15 != ~15 2. Make end of frames END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-31T01:53:21.000000Z K 7 svn:log V 85 Macro optimize, this increases context switch speed about 2% on my athlon64 machine. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-31T03:44:46.000000Z K 7 svn:log V 92 Bump __FreeBSD_version to reflect the removal of kmem_alloc_pageable(). Requested by: pjd@ END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-31T04:33:13.000000Z K 7 svn:log V 47 Fix some particularly bad style(9) violations. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-31T06:19:26.000000Z K 7 svn:log V 130 Add support for multibyte characters, loosely based on Bruno Haible's work in the util-linux packages, but with some minor fixes. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-31T06:22:01.000000Z K 7 svn:log V 34 Add standard DIAGNOSTICS section. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-31T06:22:57.000000Z K 7 svn:log V 23 Check for read errors. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-31T06:42:05.000000Z K 7 svn:log V 43 Add pmap locking to pmap_object_init_pt(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T09:20:27.000000Z K 7 svn:log V 87 Use SHLIBDIR instead of LIBDIR. This should fix buildworld breakage. Reported by: des END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-07-31T10:29:29.000000Z K 7 svn:log V 108 Fix the panic (""memory modified after free") when ata_getparam() fails and retries. Found by: Nate Lawson END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T11:22:03.000000Z K 7 svn:log V 98 Destroy synchronization geom immediately. This should fix unloading without stopping all mirrors. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T13:03:38.000000Z K 7 svn:log V 21 Remove unused field. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-31T14:02:29.000000Z K 7 svn:log V 148 Turn on PCB_FULLCTX for set_mcontext, functions like kse_switchin needs to fully restore asynchronous context which did not come from fast syscall. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-31T14:03:14.000000Z K 7 svn:log V 83 Convert a couple of bogus null statements to the right form. (Heading to WARNS=2.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-31T14:03:59.000000Z K 7 svn:log V 46 Kill an unused variable (heading to WARNS=2.) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-31T14:14:55.000000Z K 7 svn:log V 21 Remove unused field. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-31T14:18:26.000000Z K 7 svn:log V 79 Save context in kernel fashion, so it can be restored by kse_switchin syscall. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-31T14:22:02.000000Z K 7 svn:log V 129 Printf(3) off_t values through conversion to intmax_t since we've got et al now. (This makes ftpd(8) WARNS=2 clean.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-31T14:46:41.000000Z K 7 svn:log V 206 Kill a small herd of casts to off_t where they were not needed. Thank Fortune, the C compiler can figure out by itself the proper conversion for assignments, comparisons, and prototyped function arguments. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-31T15:03:17.000000Z K 7 svn:log V 217 Change ``(foo *)0'' to ``NULL'' where it's possible (and it appears possible throughout ftpd(8) source.) It is not a mere issue of style: Null pointers in C seem to have been mistaken one way or another quite often. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-07-31T15:07:33.000000Z K 7 svn:log V 85 ftpd(8) seems to be WARNS=2 clean now. Tested on: i386, ia64, amd64, sparc64, alpha END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T15:13:08.000000Z K 7 svn:log V 93 Allow for capital letters as size suffixes. Inspired by: le Approved by: green (maintainer) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-07-31T15:14:28.000000Z K 7 svn:log V 43 Help simon out and add a HARDWARE section. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-31T18:49:53.000000Z K 7 svn:log V 49 Expand the license referenced indirectly inline. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-07-31T20:47:57.000000Z K 7 svn:log V 40 Add copyright notices. Prodded by: imp END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-07-31T20:58:50.000000Z K 7 svn:log V 44 MFC: Add copyriht notices. Prodded by: imp END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T21:08:17.000000Z K 7 svn:log V 382 Handle spoil event in dedicated function: g_mirror_spoiled(). The different between the new function and g_mirror_orphan() (which was used previously) is that syncid is bumped immediately, instead of on first write, because when consumer was spoiled, it means, that its provider was opened for writing, so we can't trust that its data will be valid when it will be connected again. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-07-31T21:32:55.000000Z K 7 svn:log V 103 Fix a stupid error in my previous commit, which broke operation of many nodes. Pointy hat to: glebius END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-31T21:34:21.000000Z K 7 svn:log V 32 Propagate size changes upwards. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-31T22:10:51.000000Z K 7 svn:log V 112 If there are no valid components after the timeout, just destroy device. There is probably nothing to wait for. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-07-31T23:51:04.000000Z K 7 svn:log V 41 Specify the locking for some proc fields END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-01T01:04:57.000000Z K 7 svn:log V 23 Import sendmail 8.13.1 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-01T01:04:57.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132943, 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 2004-08-01T01:04:58.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'sendmail-vendor-v8_13_1'. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-01T01:16:16.000000Z K 7 svn:log V 46 Resolve conflicts from sendmail 8.13.1 import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-01T01:16:59.000000Z K 7 svn:log V 45 Reflect changes in sendmail 8.13 source tree END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-01T01:18:40.000000Z K 7 svn:log V 42 Update notes after sendmail 8.13.1 import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-01T01:20:44.000000Z K 7 svn:log V 55 Update release notes to reflect sendmail 8.13.1 import END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-01T02:08:39.000000Z K 7 svn:log V 52 Add code to implement register structure converter. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-01T04:57:04.000000Z K 7 svn:log V 109 Add missing thread suspension/resumption code, fix a bug in pt_thr_sstep, don't overwrite other debug flags. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-08-01T06:36:03.000000Z K 7 svn:log V 73 Document EXTSRCDIR. Submitted by: Pawel Worach END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-01T06:42:44.000000Z K 7 svn:log V 158 Add some minor changes related to PCMCIA attribute memory mapping (which I apparently forgot to commit earlier). Acquire NDIS_LOCK() in ndis_linksts_done(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-01T09:01:50.000000Z K 7 svn:log V 102 - Launch main provider when there are no more disks in NEW state. - Log syncid bump at debug level 1. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-08-01T09:19:41.000000Z K 7 svn:log V 36 Comment some of the 'io' functions. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T11:40:54.000000Z K 7 svn:log V 394 Break out the MI part of the /dev/[k]mem and /dev/io drivers into their own directory and module, leaving the MD parts in the MD area (the MD parts _are_ part of the modules). /dev/mem and /dev/io are now loadable modules, thus taking us one step further towards a kernel created entirely out of modules. Of course, there is nothing preventing the kernel from having these statically compiled. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T11:46:00.000000Z K 7 svn:log V 42 Announce the memory device module update. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-08-01T12:31:38.000000Z K 7 svn:log V 99 Change the default to switch on DMA on ATAPI devices if they can do UDMA2 (ATA33) mode and beyond. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-01T13:00:04.000000Z K 7 svn:log V 24 MFi386: revision 1.501. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-01T13:01:36.000000Z K 7 svn:log V 24 MFi386: revision 1.1167 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-01T14:31:45.000000Z K 7 svn:log V 188 Turn off PREEMPTION by default while it gets debugged. It's been causing 4 weeks of problems including deadlocks and instant panics. Note that the real bugs are likely in the scheduler. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T18:12:25.000000Z K 7 svn:log V 125 Remove local hack that was not supposed to be committed. Spotted by: Antoine Brodin - antoine dot brodin at laposte dot net END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T18:22:44.000000Z K 7 svn:log V 52 YA oops. Remove code that was being tested locally. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-08-01T18:47:42.000000Z K 7 svn:log V 357 Implement basic support for EHCI interrupt pipes. This is unlikely to be particularly correct or optimal, but it seems to be enough to allow the attachment of USB2 hubs and USB2 devices connected via USB2 hubs. None of the split transaction support is implemented in our USB stack, so USB1 peripherals will definitely not work when connected via USB2 hubs. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T18:51:44.000000Z K 7 svn:log V 23 Remove extraneous ';'. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-01T18:52:40.000000Z K 7 svn:log V 67 Include for exit(), use prototypes and bump WARNS to 6. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-01T19:02:49.000000Z K 7 svn:log V 80 C standard does not permit empty initializer list. Thanks to: Stefan Farfeleder END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-01T19:08:04.000000Z K 7 svn:log V 114 - Add a HARDWARE section which lists supported devices. - Minor cleanup of the device lists when I'm here anyway. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-01T19:26:42.000000Z K 7 svn:log V 449 Make the HARDWARE section better suited to the upcoming auto generated Hardware Notes: - Only include text related the device listings and hardware support in the HARDWARE section. - Make the HARDWARE section preamble text have a call to the Nm macro, so the driver name will appear in the Hardware Notes. - Add the manufacturer name to each item in the device list, where appropriate. - Clean trailing punctuation characters from the lists. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-01T19:29:21.000000Z K 7 svn:log V 54 Add a HARDWARE section which lists supported devices. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-01T19:30:56.000000Z K 7 svn:log V 207 For the "portable" distribution, the configure script will overwrite "Makefile," so I'm moving all the FreeBSD build machinery to "Makefile.freebsd", with the default "Makefile" containing a single include. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T19:37:34.000000Z K 7 svn:log V 57 Add the I/O device for those architectures that have it. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-01T20:04:31.000000Z K 7 svn:log V 2502 Big mess 'o changes: - Give ndiscvt(8) the ability to process a .SYS file directly into a .o file so that we don't have to emit big messy char arrays into the ndis_driver_data.h file. This behavior is currently optional, but may become the default some day. - Give ndiscvt(8) the ability to turn arbitrary files into .ko files so that they can be pre-loaded or kldloaded. (Both this and the previous change involve using objcopy(1)). - Give NdisOpenFile() the ability to 'read' files out of kernel memory that have been kldloaded or pre-loaded, and disallow the use of the normal vn_open() file opening method during bootstrap (when no filesystems have been mounted yet). Some people have reported that kldloading if_ndis.ko works fine when the system is running multiuser but causes a panic when the modile is pre-loaded by /boot/loader. This happens with drivers that need to use NdisOpenFile() to access external files (i.e. firmware images). NdisOpenFile() won't work during kernel bootstrapping because no filesystems have been mounted. To get around this, you can now do the following: o Say you have a firmware file called firmware.img o Do: ndiscvt -f firmware.img -- this creates firmware.img.ko o Put the firmware.img.ko in /boot/kernel o add firmware.img_load="YES" in /boot/loader.conf o add if_ndis_load="YES" and ndis_load="YES" as well Now the loader will suck the additional file into memory as a .ko. The phony .ko has two symbols in it: filename_start and filename_end, which are generated by objcopy(1). ndis_open_file() will traverse each module in the module list looking for these symbols and, if it finds them, it'll use them to generate the file mapping address and length values that the caller of NdisOpenFile() wants. As a bonus, this will even work if the file has been statically linked into the kernel itself, since the "kernel" module is searched too. (ndiscvt(8) will generate both filename.o and filename.ko for you). - Modify the mechanism used to provide make-pretend FASTCALL support. Rather than using inline assembly to yank the first two arguments out of %ecx and %edx, we now use the __regparm__(3) attribute (and the __stdcall__ attribute) and use some macro magic to re-order the arguments and provide dummy arguments as needed so that the arguments passed in registers end up in the right place. Change taken from DragonflyBSD version of the NDISulator. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-01T20:09:08.000000Z K 7 svn:log V 67 Correct the explanation of the -X option. Thanks to: Pav Lucistnik END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-08-01T20:39:33.000000Z K 7 svn:log V 192 Another stupid error from my side. PPPOE_NONSTANDARD was first defined in enum {}, and then redefined with #define. No warnings from compiler, though. Submitted by: bz Pointy hat to: glebius END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-01T20:41:58.000000Z K 7 svn:log V 6 Typo. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-08-01T20:45:54.000000Z K 7 svn:log V 388 Import of a BSD-licensed version of `patch', which will eventually replace the version we currently have in src/gnu/usr.bin/patch/. Among other things, this version includes a --posix option for strict POSIX conformance. This version is the current source from OpenBSD as of today. It is their 3.5-release, plus a few updates to patch.c and pch.c that they made about three weeks ago. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-08-01T20:45:54.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r132977, 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 2004-08-01T20:45:55.000000Z K 7 svn:log V 73 This commit was manufactured by cvs2svn to create tag 'OPENBSD_20040801'. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-01T21:15:29.000000Z K 7 svn:log V 199 In ndis_alloc_bufpool() and ndis_alloc_packetpool(), the test to see if allocating pool memory succeeded was checking the wrong pointer (should have been looking at *pool, not pool). Corrected this. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-01T21:33:47.000000Z K 7 svn:log V 237 UUCP's uucico(8) has not been in the base system for some time now, so reflect this in the default. The uucp uid is a bit funny, and is used by mtree in /var/spool for locks, so we can't remove it without thinking about it a bit harder. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-01T22:24:07.000000Z K 7 svn:log V 361 After changing LIBDIR to SHLIBDIR, because of dependencies problems, new problem shows up: symblic links (.so) are created under /usr/lib/ now, instead of under /lib/geom/ where geom(8) looks for them. Introduce a workaround to fix this by teaching geom(8) to open libraries via /lib/geom/.so. instead of /lib/geom/.so. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-01T22:25:12.000000Z K 7 svn:log V 314 The watchdog callout executes with the (non-sleepable) ifnet lock held now, but it's possible for ndis_reset_nic() to sleep (sometimes the MiniportReset() method returns NDIS_STATUS_PENDING and we have to wait for completion). To get around this, execute the ndis_reset_nic() routine in the NDIS_TASKQUEUE thread. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-01T22:44:40.000000Z K 7 svn:log V 123 Remove unnecessary use of the __ia64__ conditional. This slightly improves maintainability and generally avoids confusion. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-01T23:02:00.000000Z K 7 svn:log V 78 Comment kse_create() and make a few minor code cleanups Reviewed by: davidxu END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-08-01T23:58:04.000000Z K 7 svn:log V 265 Second part of ALTQ driver modifications, covering: an(4), ath(4), hme(4), ndis(4), vr(4) and wi(4) Please help testing: http://people.freebsd.org/~mlaier/ALTQ_driver/ Tested by: Vaidas Damosevicius (an, ath, wi) Roman Divacky (vr) Submitted by: yongari (hme) END K 10 svn:author V 5 green K 8 svn:date V 27 2004-08-02T00:18:36.000000Z K 7 svn:log V 855 * Add a "how" argument to uma_zone constructors and initialization functions so that they know whether the allocation is supposed to be able to sleep or not. * Allow uma_zone constructors and initialation functions to return either success or error. Almost all of the ones in the tree currently return success unconditionally, but mbuf is a notable exception: the packet zone constructor wants to be able to fail if it cannot suballocate an mbuf cluster, and the mbuf allocators want to be able to fail in general in a MAC kernel if the MAC mbuf initializer fails. This fixes the panics people are seeing when they run out of memory for mbuf clusters. * Allow debug.nosleepwithlocks on WITNESS to be disabled, without changing the default. Both bmilekic and jeff have reviewed the changes made to make failable zone allocations work. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-02T00:37:40.000000Z K 7 svn:log V 323 - Fix unloading by the same way it is done in my other classes: set gp->softc to NULL and return ENXIO when it is NULL, so GEOM will not panic or hang, but unload one device on every 'unload'. This make 'unload' command usable, but it have to be executed + 1 times. - Made use of 'pp' variable. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-08-02T01:27:35.000000Z K 7 svn:log V 229 MFC 1.61,1.62: Restore part of the word that got (accidentally) removed. Removed whitespace at EOL. Document the behaviour of the "-o file" option when "file" is a directory (downloaded file(s) are created inside the directory). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-02T01:38:27.000000Z K 7 svn:log V 63 Add what appears to be a missing '*/' at the end of a comment. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-08-02T01:49:22.000000Z K 7 svn:log V 70 Bump __FreeBSD_version to designate uma_zone functions changing type. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-02T02:07:20.000000Z K 7 svn:log V 59 Fix the build by providing 'PHYS_TO_DMAP' and 'M_MEMDESC'. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-02T02:07:56.000000Z K 7 svn:log V 66 Document machdep.enable_panic_key. Submitted by: Craig Rodrigues END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-08-02T02:37:29.000000Z K 7 svn:log V 95 Kernel traps were not being passed to trap_fatal in some circumstances. Spotted by: gallatin END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-08-02T02:37:30.000000Z K 7 svn:log V 76 This commit was manufactured by cvs2svn to create branch 'unlabeled-1.47.2'. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-08-02T03:05:09.000000Z K 7 svn:log V 136 G5 support: handle the case where the OpenFirmware memory array uses 64 bits for the phys address, but only 32 for the virtual address. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-08-02T03:06:21.000000Z K 7 svn:log V 103 Add PowerPC bridge instruction flag to the assembler to help out with test code written in the loader. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-02T03:07:42.000000Z K 7 svn:log V 76 Document incorrect handling of multibyte characters with -I and -J options. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-02T03:31:05.000000Z K 7 svn:log V 211 Eliminate the acquisition and release of Giant around the call to pmap_mincore() in mincore(2). Either pmap locking exists (alpha, amd64, i386, ia64) or pmap_mincore() is unimplemented (arm, powerpc, sparc64). END