ı]194763 191 1924 222 418 1187 446 147 367 167 393 636 392 819 155 111 374 531 277 235 217 916 170 857 113 245 129 147 149 131 108 206 108 301 125 165 172 158 228 191 154 204 163 140 114 372 217 482 127 130 191 251 219 230 321 174 270 168 597 187 235 217 315 98 241 109 113 274 202 242 180 217 159 400 653 163 215 178 274 113 224 223 113 307 265 113 202 112 161 568 211 129 185 182 169 129 224 473 626 215 366 199 308 189 226 191 402 174 244 244 211 132 149 152 291 109 160 779 202 189 232 261 167 176 98 474 362 157 108 157 441 387 230 557 184 217 185 119 290 177 1018 134 336 1059 300 105 374 105 586 1676 108 129 275 164 450 291 241 182 98 172 377 264 246 186 187 149 355 462 265 283 361 342 197 719 241 522 160 203 193 116 158 178 375 263 137 164 200 129 178 146 896 261 350 K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-23T20:36:59.676699Z K 7 svn:log V 1827 - Initialize the ifnet structure, especially if_dname, before probing the PHYs as some PHY drivers use it (but probably shouldn't). How gem(4) has worked with brgphy(4) on powerpc without this so far is unclear to me. - Introduce a dying flag which is set during detach and checked in gem_ioctl() in order to prevent active BPF listeners to clear promiscuous mode which may lead to the tick callout being restarted which will trigger a panic once it's actually gone. - In gem_stop() reset rather than just disable the transmitter and receiver in order to ensure we're not unloading DMA maps still in use by the hardware. [1] - The blanking time is specified in PCI clocks so we should use twice the value when operating at 66MHz. - Spell some 2 as ETHER_ALIGN and a 19 as GEM_STATUS_TX_COMPLETION_SHFT to make the actual intentions clear. - As we don't unload the peak attempts counter ignore its overflow interrupts. - Remove a stale setting of a variable to GEM_TD_INTERRUPT_ME which isn't used afterwards. - For optimum performance increment the TX kick register in multiples of 4 if possible as suggested by the documentation. - Partially revert r164931; drivers should only clear the watchdog timer if all outstanding TX descriptors are done. - Fix some debugging strings. - Add a missing BUS_DMASYNC_POSTWRITE in gem_rint(). - As the error paths in the interrupt handler are generally unlikely predict them as false. - Add support for the SBus version of the GEM controller. [2] - Add some lock assertions. - Improve some comments. - Fix some more or less cosmetic issues in the code of the PCI front-end. - Change some softc members to be unsigned where more appropriate and remove unused ones. Approved by: re (kib) Obtained from: NetBSD (partially) [2], OpenBSD [1] MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-23T20:38:35.786236Z K 7 svn:log V 126 - Update regarding the support for SBus GEM added in r194763. - Improve the description a bit and add a reference to vlan(4). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-23T20:45:12.009544Z K 7 svn:log V 322 sh: Improve handling of setjmp/longjmp volatile: - remove ineffective and unnecessary (void) &var; [1] - remove some unnecessary volatile keywords - add a necessary volatile keyword - save the old handler before doing something that could use the saved value Submitted by: Christoph Mallon [1] Approved by: ed (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T20:45:22.774646Z K 7 svn:log V 1093 Implement global and per-uid accounting of the anonymous memory. Add rlimit RLIMIT_SWAP that limits the amount of swap that may be reserved for the uid. The accounting information (charge) is associated with either map entry, or vm object backing the entry, assuming the object is the first one in the shadow chain and entry does not require COW. Charge is moved from entry to object on allocation of the object, e.g. during the mmap, assuming the object is allocated, or on the first page fault on the entry. It moves back to the entry on forks due to COW setup. The per-entry granularity of accounting makes the charge process fair for processes that change uid during lifetime, and decrements charge for proper uid when region is unmapped. The interface of vm_pager_allocate(9) is extended by adding struct ucred *, that is used to charge appropriate uid when allocation if performed by kernel, e.g. md(4). Several syscalls, among them is fork(2), may now return ENOMEM when global or per-uid limits are enforced. In collaboration with: pho Reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T20:57:27.407248Z K 7 svn:log V 353 Usermode portion of the support for swap allocation accounting: - update for getrlimit(2) manpage; - support for setting RLIMIT_SWAP in login class; - addition to the limits(1) and sh and csh limit-setting builtins; - tuning(7) documentation on the sysctls controlling overcommit. In collaboration with: pho Reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 4 joel K 8 svn:date V 27 2009-06-23T21:24:21.359709Z K 7 svn:log V 54 Bring in a few mdoc/language fixes. Submitted by: ru END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T21:33:26.814868Z K 7 svn:log V 275 Use dcdwait to block threads to serialize writes. I suspect the usage of bgwait causes a lot of spurious wakeups when threads are blocked in the background, because they will be woken up each time a write() call is performed. Also wakeup dcdwait when the TTY is abandoned. END K 10 svn:author V 4 joel K 8 svn:date V 27 2009-06-23T21:37:12.716717Z K 7 svn:log V 74 Add one more reference to SEE ALSO. Sort while here. Submitted by: ariff END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T21:43:02.988152Z K 7 svn:log V 301 Improve my last commit: use a separate condvar to serialize. The advantage of using a separate condvar is that we can just use cv_signal(9) instead of cv_broadcast(9). It makes no sense to wake up multiple threads. It also makes the TTY code easier to understand. t_dcdwait sounds totally unrelated. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-23T21:45:33.291698Z K 7 svn:log V 543 Rework r193814: While general idea of patch was good, it was not working properly due the way it was implemented. When we are using same timer interrupt for several of hard/prof/stat purposes we should not send several IPIs same time to other CPUs. Sending several IPIs same time leads to terrible accounting/profiling results due to strong synchronization effect, when the second interrupt handler accounts processing of the first one. Interlink timer events in a such way, that no more then one IPI is sent for any original timer interrupt. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-23T21:48:04.807721Z K 7 svn:log V 294 When mountd.c parses the nfsv4 root line(s) in /etc/exports, it allocates data structures that are never linked into the tree or free'd. As such, mountd would leak memory every time it parsed an nfsv4 root line. This patch frees up those structures to plug the leak. Approved by: kib (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-23T21:50:06.627169Z K 7 svn:log V 723 Do not fork for a subshell if it is the last thing this shell is doing (EV_EXIT). The fork is still done as normal if any traps are active. In many cases, the fork can be avoided even without this change by using {} instead of (), but in practice many scripts use (), likely because the syntax is simpler. Example: sh -c '(/bin/sleep 10)& sleep 1;ps -p $! -o comm=' Now prints "sleep" instead of "sh". $! is more useful this way. Most shells (dash, bash, pdksh, ksh93, zsh) seem to print "sleep" for this. Example: sh -c '( ( ( (ps jT))))' Now shows no waiting shell processes instead of four. Most shells (dash, bash, pdksh, ksh93, zsh) seem to show zero or one. PR: bin/74404 Approved by: ed (mentor) (implicit) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-23T22:03:56.785571Z K 7 svn:log V 60 Add tests for r194774. Approved by: ed (mentor) (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-23T22:08:25.956192Z K 7 svn:log V 19 Fix variable name. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-23T22:08:55.825731Z K 7 svn:log V 282 Make callers to in6_selectsrc() and in6_pcbladdr() pass in memory to save the selected source address rather than returning an unreferenced copy to a pointer that might long be gone by the time we use the pointer for anything meaningful. Asked for by: rwatson Reviewed by: rwatson END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-23T22:09:53.693157Z K 7 svn:log V 436 MFC of 194285 Add support for 256MB Hitachi CF card and 256MB Silicon Systems CF card This patch against RELENG_6 adds two more entries to src/tools/tools/nanobsd/FlashDevice.sub - one for a 256MB Hitachi CF card and one for a 256MB Silicon Systems CF card. Both entries have been verified to work with a Soekris net4801. PR: kern/101228 Submitted by: Henrik Brix Andersen END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-23T22:12:37.449805Z K 7 svn:log V 183 - Use cpuset_t and the CPU_ macros in place of cpumask_t so that ULE supports arbitrary numbers of cpus rather than being limited by cpumask_t to the number of bits in a long. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-23T22:16:07.016805Z K 7 svn:log V 140 MFC of r194286 r194310 r194332 Support for 64 Mb Kodak flash device. PR: misc/115025 Submitted by: Michael W Lucas END K 10 svn:author V 7 davidch K 8 svn:date V 27 2009-06-23T22:19:27.048511Z K 7 svn:log V 120 - Added code to read bootcode firwmare version. - Created dedicated shared memory access routines. MFC after: One week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-23T22:22:20.238760Z K 7 svn:log V 821 Fix NanoBSD when the data partition size is defined as a negative number. It is possible to ask nanobsd.sh to create a 'data' partition, separate from the system or configuration partitions, and furthermore, by specifying a negative value for its size to request that it use all space unused by those partitions for its own size. Because the two lines of code that calculate how much space is available for this data partition are written in perl-like syntax, the awk code that does the processing performs the calculation incorrectly. [note - this was already fixed by r174936] Furthermore, a comparison later down fails to newfs the partition when the size is negative. PR: misc/127759 Submitted by: Cyrus Rahman END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-23T22:28:44.900738Z K 7 svn:log V 76 Remove duplicate if-statement on gmt_is_set in gmtsub(). MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-23T22:42:39.861335Z K 7 svn:log V 763 Implement a facility for dynamic per-cpu variables. - Modules and kernel code alike may use DPCPU_DEFINE(), DPCPU_GET(), DPCPU_SET(), etc. akin to the statically defined PCPU_*. Requires only one extra instruction more than PCPU_* and is virtually the same as __thread for builtin and much faster for shared objects. DPCPU variables can be initialized when defined. - Modules are supported by relocating the module's per-cpu linker set over space reserved in the kernel. Modules may fail to load if there is insufficient space available. - Track space available for modules with a one-off extent allocator. Free may block for memory to allocate space for an extent. Reviewed by: jhb, rwatson, kan, sam, grehan, marius, marcel, stas END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-23T22:47:34.498562Z K 7 svn:log V 18 MFC 193754-194776 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-23T22:53:34.193056Z K 7 svn:log V 149 Quote -x tracing output so it is unambiguous. It is usually but not always suitable for re-input to the shell. Approved by: ed (mentor) (implicit) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-06-23T23:00:13.386250Z K 7 svn:log V 32 Merge r190951:194769 from head. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-23T23:01:05.893333Z K 7 svn:log V 52 Fix mismerge. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:16:00.871564Z K 7 svn:log V 53 Use getprogname() instead of referencing __progname. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-23T23:16:37.914593Z K 7 svn:log V 39 Make algorithm a bit more bulletproof. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:17:04.988821Z K 7 svn:log V 12 K&R -> ANSI END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:18:19.305678Z K 7 svn:log V 109 Use C99 initialization when necessary; apply static to internal rountines. This makes nfsstat WARNS=3 clean. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:20:09.627462Z K 7 svn:log V 12 K&R -> ANSI END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:27:35.771950Z K 7 svn:log V 204 Merge NetBSD revision 1.14: humanize_number.c is now 2-clause BSD licensed. (humanize_number.3 intentionally hold back until I make sure why we didn't merged dehumanize_number(3)). Obtained from: NetBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:30:56.717362Z K 7 svn:log V 29 Staticify internal routines. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:32:24.070833Z K 7 svn:log V 69 Use strlcpy() instead of explicitly set \0 on the tail of the array. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:34:46.155755Z K 7 svn:log V 76 Use strlcpy() instead of manually setting the last byte of the array to \0. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:37:25.899198Z K 7 svn:log V 62 %.s expects an int as the length specifier, so cast properly. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:49:52.034240Z K 7 svn:log V 131 - Use size_t instead of int when appropriate; - Use C99 sparse initialization. With these changes ifconfig(8) is WARNS=2 clean. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:52:12.780413Z K 7 svn:log V 95 Use const instead of __const, and merge the license change from NetBSD. Obtained from: NetBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:53:35.876984Z K 7 svn:log V 58 Merge fmtcheck() prototype change. Obtained from: NetBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-23T23:56:56.155528Z K 7 svn:log V 107 Add a note about the implication of secure level setting against kldload, and cross reference security(7). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-24T01:14:17.426934Z K 7 svn:log V 67 style: operators should appear at the line end if we have to wrap. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-24T01:15:10.064216Z K 7 svn:log V 44 Update SCCS IDs for Berkeley DB 1.86 merge. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2009-06-24T02:01:16.462676Z K 7 svn:log V 20 Slight comment fix. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-24T04:45:03.259006Z K 7 svn:log V 279 The bits set in a page's dirty mask are a subset of the bits set in its valid mask. Consequently, there is no need to perform a bit-wise and of the page's dirty and valid masks in order to determine which parts of a page are dirty and valid. Eliminate an unnecessary #include. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-06-24T04:56:13.506162Z K 7 svn:log V 119 Add detection of UFS filesystems. PR: bin/135565 Submitted by: Daniel O'Connor Reviewed by: randi MFC after: 1 month END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-06-24T05:28:09.016344Z K 7 svn:log V 384 MFS r192477: Fix packet length calculation in bce(4). [EN-09:02] MFS r191867: Correctly set IP packet length for TSO in fxp(4). [EN-09:03] MFS r191767: Fix a lock order reversal bug that could cause deadlock during fork(2). [EN-09:04] Submitted by: re (kensmith) Approved by: so (cperciva) Errata: FreeBSD-SA-09:02.bce Errata: FreeBSD-SA-09:03.fxp Errata: FreeBSD-SA-09:04.fork END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-24T06:13:30.335995Z K 7 svn:log V 36 I can't commit my ClangBSD changes. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-24T06:15:18.093512Z K 7 svn:log V 39 Integrate newer sources into ClangBSD. END K 10 svn:author V 4 jhay K 8 svn:date V 27 2009-06-24T06:42:13.510973Z K 7 svn:log V 98 Do not stop the loop when an empty or deleted directory entry is found. Rather just skip over it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T08:52:09.030694Z K 7 svn:log V 154 Make stf_getsrcifa6() return a reference to an in6_ifaddr rather than a pointer, and dispose of the references when no longer needed. MFC after: 6 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T08:53:23.279394Z K 7 svn:log V 122 Lock if_addrhead when iterating, and where necessary acquire and release ifadr references in if_sppp. MFC after: 6 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-24T09:26:33.834292Z K 7 svn:log V 137 Initialize the uip to silence gcc warning that seems to sneak in in some build environments. Reported by: alc, bf1783 at googlemail com END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-24T09:42:18.480911Z K 7 svn:log V 228 MFC r193919: Lock the vnode in cd9660, devfs and pseudofs implementation of VOP_IOCTL to prevent reclaim, since the vnode is passed unlocked to the VOP. MFC r193930: For cd9660_ioctl, check for recycled vnode after locking it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-24T09:45:10.801598Z K 7 svn:log V 82 MFC r193922: Remove unused VOP_IOCTL and VOP_KQFILTER implementations for fifofs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-24T09:54:05.814213Z K 7 svn:log V 177 MFC r193923: s/a_fdidx/a_fp/ for VOP_OPEN comments that inline struct vop_open_args definition. MFC r193924: Fix r193923 by noting that type of a_fp is struct file *, not int. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T10:28:30.903537Z K 7 svn:log V 72 Reduce debugging output for netatalk routing events. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T10:32:44.291770Z K 7 svn:log V 500 Break at_ifawithnet() into two variants: - at_ifawithnet(), which acquires an locks it needs and returns an at_ifaddr reference. - at_ifawithnet_locked(), which relies on the caller locking at_ifaddr_list, and returns a pointer rather than a reference. Update various consumers to prefer one or the other, including ether and fddi output, to properly release at_ifaddr references. Rework at_control() to manage locking and references in a manner identical to in_control(). MFC after: 6 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T10:33:35.936915Z K 7 svn:log V 91 In ARP input, more consistently acquire and release ifaddr references. MFC after: 6 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T10:36:48.752862Z K 7 svn:log V 138 In if_setlladdr(), use IF_ADDR_LOCK() and ifaddr references to improve the safety of link layer address manipulation. MFC after: 6 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T10:46:03.782408Z K 7 svn:log V 120 Printf fewer warnings when adding a route to an atalk address fails; userspace will print the error. MFC after: 3 days END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T11:58:47.567146Z K 7 svn:log V 221 - Create project folder for libprocstat. Libprocstat is supposed to be a library for accessing process information, which can be used by procstat(1), fstat(1) or the fuser port in order to reduce the duplicated code. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T12:01:00.735135Z K 7 svn:log V 6 - MFH END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-24T12:01:10.315162Z K 7 svn:log V 143 Use proper form of gnu designated initalizers. This lets clang compile this files. Approved by: ed (mentor) Silence from: harti (maintainer?) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T12:03:27.265126Z K 7 svn:log V 16 - Add fstat(1). END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T12:04:26.823156Z K 7 svn:log V 20 - Import libraries. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T12:06:15.702277Z K 7 svn:log V 177 Add stack_print_short() and stack_print_short_ddb() interfaces to stack(9), which generate a more compact rendition of a stack trace via the kernel's printf. MFC after: 1 week END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T12:07:25.149420Z K 7 svn:log V 108 - Add extra fields to kinfo_file that is needed by fstat, and export it in the kern.proc.filedesc sysctl. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T12:08:23.744585Z K 7 svn:log V 148 - Add a version of fstat that uses the sysctls rather than kvm to retrieve information to see what fstat will require of the libprocstat library. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T12:52:59.914275Z K 7 svn:log V 84 Fix copy-and-paste-o's from kinfo_getfile.3 in kinfo_getvmmap.3. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T13:35:38.942281Z K 7 svn:log V 124 - Move syscall function argument structure types to be just above the relevenat system call function. - Whitespace fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T13:36:37.287279Z K 7 svn:log V 67 Add a new COMPAT7 flag for FreeBSD 7.x compatibility system calls. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T13:38:08.819713Z K 7 svn:log V 307 Defer the wakeup of the swapper process to the callers of tdsigwakeup() to avoid a deadlock since the thread lock isn't released until after tdsigwakeup() has returned. This is a direct commit instead of an MFC as this issue was fixed in HEAD by a much larger set of changes that are not suitable for MFC. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T14:29:40.041596Z K 7 svn:log V 556 Clear 'ia' after iterating if_addrhead for unicast address matching: since 'ifa' was used as the TAILQ_FOREACH() iterator argument, and 'ia' was just derived form it, it could be left non-NULL which confused later conditional freeing code. This could cause kernel panics if multicast IP packets were received. [1] Call 'struct in_ifaddr *' in ip_rtaddr() 'ia', not 'ifa' in keeping with normal conventions. When 'ipstealth' is enabled returns from ip_input early, properly release the 'ia' reference. Reported by: lstewart, sam [1] MFC after: 6 weeks END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-24T14:47:32.853843Z K 7 svn:log V 66 Allow admin to specify the initial mtu upon driver load for mxge. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T14:49:26.405456Z K 7 svn:log V 118 Add missing unlock of if_addr_mtx when an unmatched ARP packet is received. Reported by: lstewart MFC after: 6 weeks END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T15:00:45.753244Z K 7 svn:log V 85 - Use the spare fields instead of expanding the struct. - Use types with known size. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T15:10:12.529424Z K 7 svn:log V 180 - Only set data given from VOP_GETATTR if it does not fail. If it does fail, that is ok, the fields will be left with zeros from an earlier bzero call. Pointed out by: rwatson END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T15:24:51.844592Z K 7 svn:log V 18 MFC 194776:194837 END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T15:29:36.807295Z K 7 svn:log V 129 Fix a race in vi_if_move, where a vnet is used after the prison that referred to it has been released. Approved by: bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T15:32:57.931989Z K 7 svn:log V 128 Clean up struct prison, with the recent fields in more logical places, and room for future expansion. Approved by: bz (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T15:33:33.129241Z K 7 svn:log V 18 MFC 191056:191060 END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-24T15:38:17.494262Z K 7 svn:log V 214 Move non-PCI prototypes from ata-pci.h -> ata-all.h. This removes unnecessary PCI #includes dependency for systems with ATA controllers living at non-PCI buses. Submitted by: Piotr Ziecik Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-24T15:41:18.476036Z K 7 svn:log V 172 Introduce ata(4) support for Marvell integrated SATA controllers (found on 88F5xxx, 88F6xxx and MV78xxx system on chip devices). Reviewed by: stas Obtained from: Semihalf END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T15:41:21.424195Z K 7 svn:log V 18 MFC 192401:192403 END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T15:44:04.281849Z K 7 svn:log V 108 - Change types to those used internally in the kernel. - Add kf_status to be used for kinfo-specific flags. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T15:44:51.373698Z K 7 svn:log V 19 - Fix indentation. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-24T15:48:20.045973Z K 7 svn:log V 69 More precise description of the DS1553 driver. Pointed out by: stas END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-06-24T16:03:57.751452Z K 7 svn:log V 475 dtrace/amd64: fix virtual address checks On amd64 KERNBASE/kernbase does not mean start of kernel memory. This should fix a KASSERT panic in dtrace_copycheck when copyin*() is used in D program. Also make checks for user memory a bit stricter. Reported by: Thomas Backman Submitted by: wxs (kaddr part) Tested by: Thomas Backman (prototype), wxs Reviewed by: alc (concept), jhb, current@ Aprroved by: jb (concept) MFC after: 2 weeks PR: kern/134408 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-06-24T16:11:29.279899Z K 7 svn:log V 115 fw_state ad cur_state are holding unsigned bitfields, so declare then as unsigned as well. Submitted by: rdivacky END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-06-24T16:16:07.438725Z K 7 svn:log V 32 Merge r194769:194850 from head. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T16:24:08.996667Z K 7 svn:log V 90 Build a bit more of the routing entry on PREP recv. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T16:25:17.585891Z K 7 svn:log V 87 Now that we have the HWMP debugging bit, use it. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T16:34:58.477365Z K 7 svn:log V 76 - Move kf_status so that we don't break compatibility. Pointed out by: jhb END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-06-24T16:37:44.305653Z K 7 svn:log V 32 Merge r194354:194850 from head. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T16:52:23.400183Z K 7 svn:log V 127 Rework locking and reference counting in ipx_control to be consistent with the model used in in_control(). MFC after: 6 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-24T16:52:30.087173Z K 7 svn:log V 380 Unbreak sparc64 after the swap accounting changes: mark kernel_map entries allocated for translations in pmap_init() as MAP_NOFAULT. This prevents vm_map_insert from trying to account the entries for swap usage, that is both wrong and too early to work. While there, change FALSE to VMFS_NO_SPACE. Reported and tested by: Florian Smeets Reviewed by: marius END K 10 svn:author V 3 gad K 8 svn:date V 27 2009-06-24T16:57:33.738087Z K 7 svn:log V 533 Fix end-of-line issues that can come up when `lpq' reads information about a queue from a remote host. That remote host may use \r, \r\n, or \n\r as the line-ending character. In some cases the remote host will write a single line of information without *any* EOL sequence. Translate all the non-unix EOL's to the standard newline, and make sure the final line includes a terminating newline. Logic is also added to translate all unprintable characters to '?', but that is #if-ed out for now. PR: bin/104731 MFC after: 3 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-24T17:01:17.900138Z K 7 svn:log V 118 Move programming info from usb(4) to usbdi(9) and update for the usb stack changeover. Needs much more content still. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-24T17:03:06.713585Z K 7 svn:log V 273 Some DMA related changes: - honor parent DMA tag limitations, as man page requires, - allow data buffer to be allocated within full 64bit address range, when support is announced by hardware, - add quirk, disabling 64bit addresses for broken chips, use it for MCP78. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T17:16:13.717225Z K 7 svn:log V 103 Add functions to manipulate the HWMP routing table and use them. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-06-24T17:23:10.150767Z K 7 svn:log V 215 Remove usb. The need to have core@ approve major changes to usb has passed now that the new usb stack is in the tree. The coordination issues that necessitated this entry are now OBE. Approved by: core (rwatson) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T17:31:37.879335Z K 7 svn:log V 94 Retire the global mesh TTL and introduce a per vap TTL. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-24T17:41:29.803957Z K 7 svn:log V 133 Updates for both the em and igb drivers, add support for multiqueue tx, shared code updates, new device support, and some bug fixes. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T18:00:34.839308Z K 7 svn:log V 96 Move the rootmode var to vap and let ifconfig control it. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-24T18:02:34.684793Z K 7 svn:log V 309 Forwarding fixups/cleanups: o pull code into new mesh_forward function o correct multiple mcast/ucast issues o take tx parms from the dest node in case they are operating w/ different channel characteristics (may need to revisi mcast case) o on raw xmit error free the correct node ref Reviewed by: rpaulo END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T18:12:16.768621Z K 7 svn:log V 79 Hide ref count debug under DEBUG_REFCNT. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T18:18:35.591506Z K 7 svn:log V 149 Add libjail, a (somewhat) simpler interface to the jail_set and jail_get system calls and the security.jail.param sysctls. Approved by: bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T18:19:55.290242Z K 7 svn:log V 149 Add libjail, a (somewhat) simpler interface to the jail_set and jail_get system calls and the security.jail.param sysctls. Approved by: bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T18:21:37.134059Z K 7 svn:log V 116 Add the "vnet" and "-vnet" options, to allow moving interfaces between jails with VIMAGE. Approved by: bz (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-24T18:24:20.131467Z K 7 svn:log V 40 read back the written value and display END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-24T18:24:37.167954Z K 7 svn:log V 57 add a link named athpeek since my fingers keep typing it END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T18:25:41.663105Z K 7 svn:log V 57 Add missing break. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-24T18:27:07.716527Z K 7 svn:log V 198 Update for the Intel 10G driver, this adds support for newest hardware, adds multiqueue tx interface, infrastructure cleanup to allow up to 32 MSIX vectors on newer Nehalem systems. Bug fixes, etc. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-24T18:28:58.624745Z K 7 svn:log V 17 align rssi field END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T18:29:32.879103Z K 7 svn:log V 65 Add missing default label. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-24T18:30:14.974933Z K 7 svn:log V 681 If the initial attempt to refresh credentials in the RPCSEC_GSS client side fails, the entry in the cache is left with no valid context (gd_ctx == GSS_C_NO_CONTEXT). As such, subsequent hits on the cache will result in persistent authentication failure, even after the user has done a kinit or similar and acquired a new valid TGT. This patch adds a test for that case upon a cache hit and calls rpc_gss_init() to make another attempt at getting valid credentials. It also moves the setting of gc_proc to before the import of the principal name to ensure that, if that case fails, it will be detected as a failure after going to "out:". Reviewed by: dfr Approved by: kib (mentor) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T18:38:51.462012Z K 7 svn:log V 108 - Fix a bug where a FIFO vnode use count was increased twice, but only decreased once. MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-06-24T18:42:21.044991Z K 7 svn:log V 97 Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation and will be removed. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T18:44:38.604609Z K 7 svn:log V 138 - Similar to the previous commit, but for CURRENT: Fix a bug where a FIFO vnode use count was increased twice, but only decreased once. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T18:48:53.071972Z K 7 svn:log V 167 - Use the new names for the kinfo_file fields. - Add flag to signal the VOP_GETATTR failed. - Move some common code for initializing kinfo_file into its own function. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T18:50:05.524865Z K 7 svn:log V 74 - Set vnode type after filling kinfo_file or else it will be overwritten. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T18:50:41.257541Z K 7 svn:log V 81 s/CONFIRMRECV/CONFIRMRCV to match OPENRCV. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T18:54:54.493944Z K 7 svn:log V 6 - MFH END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-24T19:04:08.429023Z K 7 svn:log V 378 Revert the part of r194763 which added a dying flag and instead call ether_ifdetach(9) before stopping the controller and the callouts. The consensus is that the latter is now safe to do and should also solve the problem of active BPF listeners clearing promiscuous mode can result in the tick callout being restarted which in turn will trigger a panic once it's actually gone. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T19:05:39.451611Z K 7 svn:log V 268 - Invert the flag to indicate if VOP_GETATTR was successful rather than unsuccessful, as an old kernel will have the padding zero'ed. Doing it this way makes it possible for userland tools checking the flag to work correctly on older kernels. Suggested by: jhb END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T19:09:36.139563Z K 7 svn:log V 64 - Update to the correct version of the sysctl version of fstat. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T19:16:48.337998Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-24T19:25:47.711515Z K 7 svn:log V 65 Document new hint.atapci.X.msi and hint.ata.X.pm_level tunables. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2009-06-24T19:30:31.577800Z K 7 svn:log V 346 With the fdc control device disappearing some 5 years ago, it is no longer useful for the FD_STYPE and FD_SOPTS ioctls to insist on being issued on a writable file descriptor. Otherwise, there's no longer a chance to set the drive type or options when a read-only medium is present in the drive, as there is no way to obtain a writable fd then. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2009-06-24T19:47:53.815120Z K 7 svn:log V 292 Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. The kernel does not log floppy media errors anymore. In fdcontrol, do always open the file descriptor in read-only mode so it can operate on read-only media, as there is no longer a separate control device to operate on. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-24T19:49:18.373800Z K 7 svn:log V 137 MFp4: Reduce default PCI ATA drivers priorities from absolute to default, to allow them been overriden. It was so before modularization. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T20:01:13.826072Z K 7 svn:log V 464 Deprecate the msgsys(), semsys(), and shmsys() system calls by moving them under COMPAT_FREEBSD[4567]. Starting with FreeBSD 5.0 the SYSV IPC API was implemented via direct system calls (e.g. msgctl(), msgget(), etc.) rather than indirecting through the var-args *sys() system calls. The shmsys() system call was already effectively deprecated for all but COMPAT_FREEBSD4 already as its implementation for the !COMPAT_FREEBSD4 case was to simply invoke nosys(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T20:06:16.728176Z K 7 svn:log V 88 Remove kernel SLIP and PPP privileges, since they are no longer used. Suggested by: bz END K 10 svn:author V 5 joerg K 8 svn:date V 27 2009-06-24T20:22:46.947048Z K 7 svn:log V 122 Do not insist on the fd being read/write for the FD_SOPTS and FD_STYPE ioctls, so they can be applied to read/only media. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-24T20:22:54.806985Z K 7 svn:log V 90 Add test for r190698. Submitted by: Eygene Ryabinkin Approved by: ed (mentor) (implicit) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-24T20:29:10.942764Z K 7 svn:log V 25 add further lock asserts END K 10 svn:author V 5 joerg K 8 svn:date V 27 2009-06-24T20:40:10.702544Z K 7 svn:log V 195 Remove the defunct FDOPT_NOERRLOG; floppy media errors are no longer logged by the kernel anyway. In fdcontrol, open the file descriptor read-only, so the format for read-only media can be set. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-24T20:43:51.444216Z K 7 svn:log V 85 MFp4: Remove unused ATAPI definitions, conflicting with ata.h. Submitted by: scottl END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-24T20:49:02.475366Z K 7 svn:log V 922 o merge from amd64: - r187144: Add a reference to the config(5) manpage and to the "env" kernel config option. - Add/enable the default USB drivers. Originally the USB controller and keyboard drivers were disabled as these interacted badly with the Open Firmware console driver, i.e. caused the keyboard to not work with ofw_console(4). Even when switch to uart(4) and the frame buffer drivers most of the USB drivers still were kept disabled as several of them, amongst others all of the drivers for USB Ethernet controllers, weren't endian clean. With the new USB stack these problem should be gone now so there's no longer a reason to not include the same set of USB drivers amd64 does. o Remove the commented out device ofw_console; apart from it being currently broken by some TTY changes one really needs to know how to actually enable and make it work correctly. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-24T20:52:37.060670Z K 7 svn:log V 42 MFp4: Define several ATA capabilies bits. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-24T20:52:59.922432Z K 7 svn:log V 240 - Remove unused variables. [1] - Remove redundant zeroing of tmf_req which Coverity Prevent(tm) complains about. [2] Submitted by: Christoph Mallon [1] Found with: Coverity Prevent(tm) [2] CID: 2496 [2] MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-24T20:56:06.906014Z K 7 svn:log V 963 - Change this driver to do taskqueue(9) based TX and interrupt handling in order to reduce interrupt overhead which results in better performance. - Call ether_ifdetach(9) before stopping the controller and the callouts detach in order to prevent active BPF listeners to clear promiscuous mode which may lead to the tick callout being restarted which will trigger a panic once it's actually gone. - Add explicit IFF_DRV_RUNNING checking in order to prevent extra link up/down events when using dhclient(8). - Use the correct macro for deciding whether 2/3 of the available TX descriptors are used. - Wrap the RX fault printing in #ifdef CAS_DEBUG in order to not unnecessarily frighten users and as debugging was the actual intention. Real errors caused by these faults still will be accumulated as input errors. It might be a good idea to later on add driver specific counters for the faults though. Submitted by: yongari (original patch) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T20:57:50.396421Z K 7 svn:log V 203 Use queue(9) instead of hand-crafted link lists for the global IPX address list (ipx_ifaddr -> ipx_ifaddrhead), and generally adopt the naming and usage conventions found in netinet. MFC after: 6 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-06-24T21:00:13.676583Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T21:00:25.093092Z K 7 svn:log V 277 Convert netinet6 to using queue(9) rather than hand-crafted linked lists for the global IPv6 address list (in6_ifaddr -> in6_ifaddrhead). Adopt the code styles and conventions present in netinet where possible. Reviewed by: gnn, bz MFC after: 6 weeks (possibly not MFCable?) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-06-24T21:03:59.625579Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-24T21:09:56.821017Z K 7 svn:log V 488 Add a dying flag to prevent races at detach. I tried re-ordering ether_ifdetach(), but this created a new race where sometimes, when under heavy receive load (>1Mpps) and running tcpdump, the machine would panic. At panic, the ithread was still in the original (not dead) if_input() path, and was accessing stale BPF data structs. By using a dying flag, I can close the interface prior to if_detach() to be certain the interface cannot send packets up in the middle of ether_ifdetach. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T21:10:52.065180Z K 7 svn:log V 1582 Change the ABI of some of the structures used by the SYSV IPC API: - The uid/cuid members of struct ipc_perm are now uid_t instead of unsigned short. - The gid/cgid members of struct ipc_perm are now gid_t instead of unsigned short. - The mode member of struct ipc_perm is now mode_t instead of unsigned short (this is merely a style bug). - The rather dubious padding fields for ABI compat with SV/I386 have been removed from struct msqid_ds and struct semid_ds. - The shm_segsz member of struct shmid_ds is now a size_t instead of an int. This removes the need for the shm_bsegsz member in struct shmid_kernel and should allow for complete support of SYSV SHM regions >= 2GB. - The shm_nattch member of struct shmid_ds is now an int instead of a short. - The shm_internal member of struct shmid_ds is now gone. The internal VM object pointer for SHM regions has been moved into struct shmid_kernel. - The existing __semctl(), msgctl(), and shmctl() system call entries are now marked COMPAT7 and new versions of those system calls which support the new ABI are now present. - The new system calls are assigned to the FBSD-1.1 version in libc. The FBSD-1.0 symbols in libc now refer to the old COMPAT7 system calls. - A simplistic framework for tagging system calls with compatibility symbol versions has been added to libc. Version tags are added to system calls by adding an appropriate __sym_compat() entry to src/lib/libc/incldue/compat.h. [1] PR: kern/16195 kern/113218 bin/129855 Reviewed by: arch@, rwatson Discussed with: kan, kib [1] END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-24T21:32:51.936219Z K 7 svn:log V 16 Fix lint issue. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T21:34:38.268064Z K 7 svn:log V 33 Fix CARP build. Reported by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-24T21:36:09.127723Z K 7 svn:log V 178 Use queue(9) instead of hand-crafted link lists for the global netatalk address list. Generally follow the style and convention of similar parts in netinet. MFC after: 6 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-24T21:37:38.916689Z K 7 svn:log V 69 Code simplification and style. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T21:39:50.362105Z K 7 svn:log V 355 In case of prisons with their own network stack, permit additional privileges as well as not restricting the type of sockets a user can open. Note: the VIMAGE/vnet fetaure of of jails is still considered experimental and cannot guarantee that privileged users can be kept imprisoned if enabled. Reviewed by: rwatson Approved by: bz (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-24T21:51:02.235229Z K 7 svn:log V 194 Sync with NetBSD: - gzip -n does not store timestamp; [1] - Reduce diff against NetBSD by moving some casts in our local versions. PR: bin/134955 Obtained from: NetBSD MFC after: 1 month END K 10 svn:author V 2 np K 8 svn:date V 27 2009-06-24T21:51:42.258392Z K 7 svn:log V 149 About to add 10Gbase-T to known media types, this is just a whitespace cleanup before that commit. No functional impact. Approved by: gnn (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2009-06-24T21:53:25.341572Z K 7 svn:log V 91 Add 10Gbase-T to known ethernet media types. Approved by: gnn (mentor) MFC after: 1 week. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T21:54:08.614231Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-24T21:55:18.622955Z K 7 svn:log V 80 Bump __FreeBSD_version for SYSVIPC ABI change (along with other changes today). END K 10 svn:author V 2 np K 8 svn:date V 27 2009-06-24T21:56:05.627309Z K 7 svn:log V 285 Various ifmedia related fixes in cxgb(4), including: - build ifmedia list based on phy->caps, not string comparisons. - rebuild media list when a transceiver change is detected. - return EOPNOTSUPP instead of ENXIO in cxgb_media_status. Approved by: gnn (mentor) MFC after: 2 weeks. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-24T22:04:04.360206Z K 7 svn:log V 168 Designate special builtins as such in command -V and type. Also document various properties of special builtins that we implement. Approved by: ed (mentor) (implicit) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-24T22:06:56.696142Z K 7 svn:log V 151 Wrap a PR_VNET inside "#ifdef VIMAGE" since that the only place it applies. bz wants the blame for this. Noticed by: rwatson Approved by: bz (mentor) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-24T22:09:30.348655Z K 7 svn:log V 93 - Apply the same naming rules of LVM names as done in the LVM code itself. PR: kern/135874 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-24T22:16:02.083939Z K 7 svn:log V 95 need to make intr_bind call architecture specific for global builds (failing sun4v lint build) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-24T22:17:40.020139Z K 7 svn:log V 57 Make CPU bind call architecture specific to satisfy LINT END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-24T22:21:30.935109Z K 7 svn:log V 263 Merge from p4: CH154790,154793,154874 Import if_epair(4), a virtual cross-over Ethernet-like interface pair. Note these files are 1:1 from p4 and not yet connected to the build not knowing about the new netisr interface. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 np K 8 svn:date V 27 2009-06-24T22:28:48.271369Z K 7 svn:log V 370 This adds a new "stdio" mode to cxgbtool - it's an interactive mode meant primarily for _non_ interactive use. Scripts that run cxgbtool repeatedly to perform register r/w or mdio will benefit from this. Instead of fork/exec'ing a new cxgbtool for every regio/mdio you can simply open a pair of pipes to/from cxgbtool and run cmds over them. Approved by: gnn (mentor) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-24T22:42:52.365802Z K 7 svn:log V 170 - Do not use hardcoded uart speed - Call mips_timer_early_init before initializing uart in order to make DELAY usable for ns8250 driver Submitted by: Neelkanth Natu END K 10 svn:author V 4 oleg K 8 svn:date V 27 2009-06-24T22:57:07.702597Z K 7 svn:log V 189 - fix dummynet 'fast' mode for WF2Q case. - fix printing of pipe profile data. - introduce new pipe parameter: 'burst' - how much data can be sent through pipe bypassing bandwidth limit. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-06-24T23:17:00.471089Z K 7 svn:log V 263 Make sysinstall search for /dev/daXa and register such devices as USB disks. This covers the common case of unsliced USB drives, and makes it possible to select them as installation source media. PR: 61152, 115197, 135016 Submitted by: randi MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-24T23:17:16.287037Z K 7 svn:log V 245 Lock around access to nc_file and netconfig_info ("ni"). The RPC part of libc is still not thread safe but this would at least reduce the problems we have. PR: threads/118544 Submitted by: Changming Sun MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-25T00:14:27.318357Z K 7 svn:log V 103 - Add the right includes to use kmem_alloc(). This was broken by my DPCPU commit. Reported by: bz END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-25T00:28:43.060670Z K 7 svn:log V 621 Fix two known problems in clnt_rc.c, plus issues w.r.t. smp noted during reading of the code. Change the code so that it never accesses rc_connecting, rc_closed or rc_client when the rc_lock mutex is not held. Also, it now performs the CLNT_CLOSE(client) and CLNT_RELEASE(client) calls after the rc_lock mutex has been released, since those calls do msleep()s with another mutex held. Change clnt_reconnect_call() so that releasing the reference count is delayed until after the "if (rc->rc_client == client)" check, so that rc_client cannot have been recycled. Tested by: pho Reviewed by: dfr Approved by: kib (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-25T01:31:59.576804Z K 7 svn:log V 147 - Add a sysctl_dpcpu_long to support long typed pcpu stats. - Remove the #ifndef SMP case as the SMP code works on UP as well. Reviewed by: sam END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-25T01:33:51.058385Z K 7 svn:log V 428 - Use DPCPU for SCHED_STATS. This is somewhat awkward because the offset of the stat is not known until link time so we must emit a function to call SYSCTL_ADD_PROC rather than using SYSCTL_PROC directly. - Eliminate the atomic from SCHED_STAT_INC now that it's using per-cpu variables. Sched stats are always incremented while we're holding a spinlock so no further protection is required. Reviewed by: sam END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-06-25T02:14:47.559021Z K 7 svn:log V 64 uses ZYD_NOTIF_RETRYSTATUS info to count the number of retries. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-25T02:15:04.752662Z K 7 svn:log V 108 - Invalidate cache in pmap_qenter. Fixes corruption of data that comes through pipe (may be other bugs) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-06-25T02:28:12.017524Z K 7 svn:log V 97 updates AMRR statistics with tx complete status that if not the tx rate always would be reduced. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-06-25T04:25:26.036371Z K 7 svn:log V 21 Make a DVD for ia64. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-25T07:16:10.810314Z K 7 svn:log V 62 oshmctl() now requires a sysv_shm.c-local function prototype. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-25T07:25:39.419171Z K 7 svn:log V 82 Fix ibcs2_ipc.c build by adding missing limits.h include. Submitted by: keramida END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-25T08:37:38.172069Z K 7 svn:log V 278 Clean up reference management in in6_update_ifa and in6_unlink_ifa, and in particular, add a reference for in6_ifaddrhead since we do remove a reference for it when an IPv6 address is removed. This fixes ifconfig delete of an IPv6 alias. Reported by: tegge MFC after: 6 weeks END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-25T08:52:20.050730Z K 7 svn:log V 165 Switch cmd argument of ioctl to u_long as elsewhere in the kernel. Propagate this change down the callchain. Approved by: kan (maintainer) Approved by: ed (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-06-25T09:07:40.297239Z K 7 svn:log V 45 MFC r194037: syslog.conf(5): correct example END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-06-25T09:17:50.723747Z K 7 svn:log V 72 MFC r194061: gdb: make 'thread apply all bt' always work on all threads END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-25T09:28:04.838547Z K 7 svn:log V 105 update the manpage to track existing options (including --iso), and alphabetize them. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-25T09:28:44.022693Z K 7 svn:log V 35 MFC: enable creation of ISO images END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-25T10:03:51.802598Z K 7 svn:log V 86 Enable all populated TWSI (I2C) controllers on Marvell SOCs. Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-25T10:07:21.781235Z K 7 svn:log V 54 Include SMP support in the MPC85XX kernel by default. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-25T11:52:33.657838Z K 7 svn:log V 799 Add a new global rwlock, in_ifaddr_lock, which will synchronize use of the in_ifaddrhead and INADDR_HASH address lists. Previously, these lists were used unsynchronized as they were effectively never changed in steady state, but we've seen increasing reports of writer-writer races on very busy VPN servers as core count has gone up (and similar configurations where address lists change frequently and concurrently). For the time being, use rwlocks rather than rmlocks in order to take advantage of their better lock debugging support. As a result, we don't enable ip_input()'s read-locking of INADDR_HASH until an rmlock conversion is complete and a performance analysis has been done. This means that one class of reader-writer races still exists. MFC after: 6 weeks Reviewed by: bz END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-25T12:21:49.474689Z K 7 svn:log V 169 Make the cas(4) driver build with Clang. We shouldn't use the preprocessor while inside function-like macro invocations. I'll discuss it with Marius one of these days. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T12:34:05.885836Z K 7 svn:log V 257 Raise the default size of the EFI partition on ia64 from 100MB to 400MB. A fresh install of a current 8.0 snapshot uses 156MB with a single kernel and having the filesystem too small prevented the system from booting. Reviewed by: marcel MFC after: 1 week END