ƒ²8209533 184 121 169 135 132 463 156 160 401 210 249 117 262 114 396 934 137 115 156 635 146 258 256 280 292 213 611 293 186 256 176 166 114 165 238 139 483 162 283 363 129 128 172 191 199 353 182 379 720 103 228 416 150 421 200 387 252 471 232 242 474 135 497 279 174 367 342 1570 1139 167 334 251 635 347 131 107 156 232 505 685 183 227 388 125 300 188 181 200 332 189 104 129 399 159 133 242 185 248 286 132 502 270 216 224 319 168 231 140 132 247 232 157 452 519 279 220 199 237 249 266 351 313 131 180 180 140 147 147 217 155 967 508 310 289 270 208 364 387 257 292 184 311 635 1239 402 183 143 257 290 623 115 394 186 247 559 164 282 236 216 359 752 129 443 475 155 167 209 209 362 362 381 332 170 359 336 160 322 234 469 417 175 412 397 209 570 K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T07:42:33.818079Z K 7 svn:log V 24 Remove unused Linuxism. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T07:59:57.092439Z K 7 svn:log V 72 Don't try to use VLAN hw tagging, it doesn't seem to work as I'd hoped. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-26T08:34:22.876998Z K 7 svn:log V 38 Print the Octeon SDK version on boot. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-26T13:20:40.645311Z K 7 svn:log V 37 Add NTFS partition type to GEOM_MBR. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-06-26T14:42:07.242309Z K 7 svn:log V 367 MFC r208647,r208654: Clarify devfs manpages slightly. mount(8): add xref to devfs(5) devfs(5): change example to something more likely to be useful (it is not necessary to mount a devfs on /dev manually, but for chroots/jails it is often needed), mention since when devfs is preferred to device nodes on ufs and when device nodes on ufs stopped working PR: 146600 END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-26T14:55:53.470887Z K 7 svn:log V 59 Ready to proceed with 8.1-RC2. Approved by: re (implicit) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-26T18:13:44.199557Z K 7 svn:log V 65 Set svn:executable property so we can run the DTrace test suite. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-06-26T19:26:20.206706Z K 7 svn:log V 305 * Do not dereference a NULL pointer when calling an SCTP send syscall not providing a destination address and using ktrace. * Do not copy out kernel memory when providing sinfo for sctp_recvmsg(). Both bug where reported by Valentin Nechayev. The first bug results in a kernel panic. MFC after: 3 days. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-26T20:59:10.980684Z K 7 svn:log V 114 Fix the AR_SREV_MERLIN_20_OR_LATER() check. Submitted by: Alex Kozlov MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-06-26T21:44:05.310377Z K 7 svn:log V 156 Just like in case of setgroups(2), for getgroups(2) also advice including sys/param.h instead of sys/types.h so we get NGROUPS_MAX and NGROUPS definitions. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-06-26T21:44:45.463225Z K 7 svn:log V 25 Correct arguments order. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-26T22:04:52.178713Z K 7 svn:log V 161 Ignore versioned dependencies on shared objects to which we do not link. This fixes an error with files like this created by GNU ld under certain circumstances. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-26T22:26:53.381001Z K 7 svn:log V 14 IFC @ r209544 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-06-27T02:30:19.142557Z K 7 svn:log V 298 Note that internal_underscores should be used in identifier names rather than camelCase or TitleCase. According to grep and my checked-out source tree, we're currently at 3733379 internal_underscores, 93024 camelCases, and 80831 TitleCases; so this commit is merely documenting existing practice. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-27T03:06:20.658910Z K 7 svn:log V 837 MFC 196750,196751,196818,196819 (ache@): 196750: 1) Use isprint() instead of hardcoded values to detect non-printable. 2) Use (unsigned char) cast in waddch() calls. It fix highlighting bug: sign extension of 8bit to the attributes area. 3) Use setlocale() in any case. 196751: Move out of NO_CATGETS define too (as setlocale() in prev. commit) 196818: 1) Remove single occurance of HAS_CTYPE ifdef, ctype functions used here for a long time and needs their header in anycase. 2) Add (unsigned char) casts to more ctype macros. 3) Simplify menu input handling using ctype instead of range unguarded hardcoded tricks. 196819: Remove single occurance of HAS_CTYPE ifdef, ctype functions used here for a long time and needs their header in anycase. Requested by: Patrick Lamaiziere Ok'ed by: ache END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-27T10:17:11.696970Z K 7 svn:log V 42 Fix typo introduced in previous revision. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-06-27T12:19:09.010477Z K 7 svn:log V 24 Correct a comment typo. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-27T14:11:03.324065Z K 7 svn:log V 62 Fix core dump when server fails to respond. Reviewed by: imp END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-27T14:21:08.421772Z K 7 svn:log V 540 Fix transfer statistics in the "send file" case - The conditional used to print the stats were using an uninitialised variable. [1] Fix trasnfer statistics in the "receive file" case - the statistics struct was being cleared both before and after the initial connect to the remote server. As a result, the printed time and calculated bandwidth covers the time to connect ad well as the time to transfer the file. This may not be ideal, but now at least matches the "send file" case. Found by: clang static analyser [1] Reviewed by: imp END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-27T16:46:11.665765Z K 7 svn:log V 54 Spell iXsystems, Inc properly Submitted by: delphij@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-27T17:04:03.069743Z K 7 svn:log V 165 Update pc-sysinstall to output list of FTP mirrors as well as some installation information. Export architecture to install. PR: 148184 Submitted by: John Hixson END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-27T17:14:04.936799Z K 7 svn:log V 163 Properly inherit variables from src/usr.sbin/Makefile.inc for subdirectories of pc-sysinstall. Back out explicit setting in pc-sysinstall/pc-sysinstall/Makefile. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-27T23:11:35.964762Z K 7 svn:log V 185 Make the second example command more closely match the demo output, and as a side effect more clearly show the change in command lines between the first and second example invocations. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-28T01:16:34.453455Z K 7 svn:log V 199 MFC r209120: In NFS clients, instead of inconsistently using #ifdef DIAGNOSTIC and #ifndef DIAGNOSTIC for debug assertions, prefer KASSERT(). Also change one #ifdef DIAGNOSTIC in the new nfs server. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-28T01:36:22.250523Z K 7 svn:log V 120 MFC r209367: Ensure that VOP_ACCESSX is called with exclusively locked vnode for the kernel compiled with QUOTA option. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-28T01:40:56.623810Z K 7 svn:log V 510 Revert r209544. It papers over a binutils bug, and is not even a reliable fix for it. The bug occurs when using the --as-needed flag to ld in the presence of synthetic linker-generated symbols that reference symbols defined in linked-to shared libraries with versioned symbols. When the only symbols used from a library fall into this category, ld will drop the DT_NEEDED entry for it, but retain the versioning information. This bug is best fixed/hacked around in binutils, not in rtld. Discussed with: kan END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-28T01:46:26.596572Z K 7 svn:log V 192 Hack around linker bug in the presence of --as-needed when linking libraries where are linked symbols are synthetic. This commonly occurs on powerpc64, so ignore this option on that platform. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-28T04:54:16.324486Z K 7 svn:log V 92 MFC r209329; add a missing linefeed PR: 147337 Submitted by: cyberleo at cyberleo dot net END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-28T06:59:57.076303Z K 7 svn:log V 161 MFC r209331 at stable/8/etc and stable/8/tools; Remove vestiges of 'slip'. PR: 145648 Submitted by: alexbestms at wwu dot de and spam at rm-rf dot kiev dot ua END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-28T07:03:18.218660Z K 7 svn:log V 82 MFC r209332: Shoot a stray cat! PR: 145447 Submitted by: u at netbeisser dot de END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-28T07:15:30.628943Z K 7 svn:log V 72 MFC r209361; Add a missing prototype PR: 145232 Submitted by: gcooper END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-06-28T08:05:30.259184Z K 7 svn:log V 22 Use spaces, not tabs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-28T08:09:33.871716Z K 7 svn:log V 73 MFC r204918 (jkim): Document a new sysctl variable and a loader tunable. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-28T08:10:55.653095Z K 7 svn:log V 145 MFC r208729: Recommend disabling LAPIC timer instead whole APIC for fixing C3 state. PR: docs/147180 Submitted by: Tobias Rehbein END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-28T08:30:10.436599Z K 7 svn:log V 45 Make WARNS=6 safe. Tested by: make universe END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-06-28T10:50:14.503712Z K 7 svn:log V 387 MFC r209470,r209499 * Implement sctp_does_stcb_own_this_addr() correclty. It was taking the wrong side into account. * sctp_findassociation_ep_addr() must check the local address if available. This fixes a bug where ABORT chunks were accepted even in the case where the local was not owned by the endpoint. Thanks to brucec for pointing out a bug in my first version of the fix. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-28T11:53:22.955330Z K 7 svn:log V 67 MFC r209541, r209548: Fix the AR_SREV_MERLIN_20_OR_LATER() check. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-28T12:00:20.468990Z K 7 svn:log V 188 Make WARNS=6 safe, mainly by casting to intmax_t and printing with %ju where needed. Also, fix bad indentation on lines already affected by the above changes. Tested with: make universe END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-28T12:04:55.823533Z K 7 svn:log V 268 Various changes to make locate compilable with WARNS=6. Note that there is still one issue on FreeBSD/arm (signed vs unsigned char) which prevents actually bumping this to WARNS=6 - I'm still considering the correct solution to this issue. Tested by: make universe END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-28T12:20:36.959500Z K 7 svn:log V 34 MFC r209013: Add missing braces. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-28T14:04:19.808324Z K 7 svn:log V 36 Remove some gratuitous local diffs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-28T14:06:44.940747Z K 7 svn:log V 80 Remove gratuitous whitespace changes accidentally added in the previous commit. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-28T14:15:54.709677Z K 7 svn:log V 96 MFC r209541, r209548: Fix the AR_SREV_MERLIN_20_OR_LATER() check. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-28T17:06:19.151201Z K 7 svn:log V 102 MFC r205942: Merge OpenBSD revisions 1.4 through 1.9, mostly style cleanups. Obtained from: OpenBSD END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-06-28T17:45:00.859648Z K 7 svn:log V 256 Fix a lock leak in the deadlock resolver in case the ticks counter wrapped up. Sponsored by: Sandvine Incorporated Submitted by: pluknet Reported by: Anton Yuzhaninov Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-28T17:59:45.889172Z K 7 svn:log V 90 Use C99 initializers for the struct sysent generated by MAKE_SYSENT(). MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-28T18:06:46.744907Z K 7 svn:log V 286 Count number of threads that enter and leave dynamically registered syscalls. On the dynamic syscall deregistration, wait until all threads leave the syscall code. This somewhat increases the safety of the loadable modules unloading. Reviewed by: jhb Tested by: pho MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-28T18:12:42.923828Z K 7 svn:log V 627 Despite system call deregistration drains the threads executing System V shm syscalls, and initial check for the number of allocated segments in the module deinitialization code, the following might happen: after the check for active segment, while waiting for threads to leave some other syscall, shmget(2) is called. Then, we can end up with the shared segment that cannot be detached since sysvshm module is unloaded. Prevent the leak by rechecking and disclaiming a reference to the vm object owned by sysvshm module, that might have grown during the drain. Tested by: pho Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-28T18:17:21.729594Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-29T01:04:24.275313Z K 7 svn:log V 133 If i is going to be used in the loop unconditionally the declaration has to be unconditional as well. Conical head covering to: kib END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-29T03:52:12.554610Z K 7 svn:log V 323 Expand system into my_system, and add the necessary tidyness that we need. Close the pidfile. Then close all descriptors >= 3 to avoid information leakage to children. This solves the problem of not being able to restart devd when you have, for example, a dhclient forked to configure your network... MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2010-06-29T06:38:56.866097Z K 7 svn:log V 55 Create project for long-dormant PPC Linux-emu patches. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-29T10:13:32.627825Z K 7 svn:log V 323 Remove unused and overwrought code related to (1) reusing mbufs from transmit for receive (2) intercepting incoming packets and dropping them or consuming them elsewhere, which is easily generically implementable on FreeBSD using e.g. netgraph. This should allow for some simplification of nearby code in the near future. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-29T10:21:34.302862Z K 7 svn:log V 102 Check RXCSUM before setting checksum-valid flags on a packet. Probably not very useful, but why not? END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-29T14:31:49.733618Z K 7 svn:log V 294 Revert r209578: Use C99 initializers for the struct sysent generated by MAKE_SYSENT(). C++ does not have designator-initializer facility of C99, not using this in the header makes us friendly to C++ kernel modules, whoever wants such schism. Requested by: mdf MFC after: 6 days (not really) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-29T14:32:01.524652Z K 7 svn:log V 159 - The ETIMEDOUT error applies to pthread_timedjoin_np(), not pthread_join(). - Tweak wording in history section for pthread_timedjoin_np(). MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-06-29T16:57:30.476003Z K 7 svn:log V 374 After processing the O_SKIPTO opcode our cmd points to the next rule, and "match" processing at the end of inner loop would look ahead into the next rule, which is incorrect. Particularly, in the case when the next rule started with F_NOT opcode it was skipped blindly. To fix this, exit the inner loop with the continue operator forcibly and explicitly. PR: kern/147798 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-29T17:10:55.377566Z K 7 svn:log V 136 Don't lock buses around a call to xptperiphlistmatch- the buses will be locked at appropriate places. MFC after: 1 week X-MFC: 208752 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-29T19:07:44.428498Z K 7 svn:log V 146 Fix profiling (part 1): o Functions are 4-byte aligned for Book-E. o We get compiled with -DPROF and not -DGPROF if profiling is enabled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-29T20:41:52.001474Z K 7 svn:log V 381 Tweak the in-kernel API for sending signals to threads: - Rename tdsignal() to tdsendsignal() and make it private to kern_sig.c. - Add tdsignal() and tdksignal() routines that mirror psignal() and pksignal() except that they accept a thread as an argument instead of a process. They send a signal to a specific thread rather than to an individual process. Reviewed by: kib END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-29T20:42:47.517815Z K 7 svn:log V 38 Sync OCTEON1 devices with OCTEON1-32. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-29T20:43:39.793643Z K 7 svn:log V 396 Add some TBEMD-ness to config(8) in preparation for eliminating sys/powerpc64. This adds a -m option to config to allow things like make universe to know what MACHINE_ARCH applies to a given config file, and fakes MACHINE_ARCH as an option if it is present in the options.MACHINE file to allow architecture-dependent conditional compilation. This is under review by imp@ before merging to HEAD. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-29T20:44:19.793095Z K 7 svn:log V 186 Send SIGPIPE to the thread that issued the offending system call rather than to the entire process. Reported by: Anit Chakraborty Reviewed by: kib, deischen (concept) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-29T20:55:12.670519Z K 7 svn:log V 82 Sort function prototypes (since I didn't manage to insert tdksignal() correctly). END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-06-29T21:52:40.831324Z K 7 svn:log V 270 Fixes NULL pointer reference that it's occurred when the state is changed to RUN because ic->ic_newassoc isn't set anywhere now. In the previous bwi_newassoc() is used to initialize AMRR rate routines. Tested by: Warren Block MFC after: 3 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-06-29T21:56:42.728962Z K 7 svn:log V 245 Initializes the ratectl for a node when the state is changed to RUN. This prevents a kernel fault by dividing with zero because the initial rate was 0 and didn't be initialized. Tested by: Warren Block MFC after: 3 days END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-06-29T22:07:53.492274Z K 7 svn:log V 1476 Change the mpt driver to allow larger I/O sizes. The mpt driver previously didn't report a 'maxio' size to CAM, and so the da(4) driver limited I/O sizes to DFLTPHYS (64K) by default. The number of scatter gather segments allowed, as reported to busdma, was (128K / PAGE_SIZE) + 1, or 33 on architectures with 4K pages. Change things around so that we wait until we've determined how many segments the adapter can support before creating the busdma tag used for buffers, so we can potentially support more S/G segments and therefore larger I/O sizes. Also, fix some things that were broken about the module unload path. It still gets hung up inside CAM, though. mpt.c: Move some busdma initialization calls in here, and call them just after we've gotten the IOCFacts, and know how many S/G segments this adapter can support. mpt.h: Get rid of MPT_MAXPHYS, it is no longer used. Add max_cam_seg_cnt, which is used to report our maximum I/O size up to CAM. mpt_cam.c: Use max_cam_seg_cnt to report our maximum I/O size to CAM. Fix the locking in mpt_cam_detach(). mpt_pci.c: Pull some busdma initialization and teardown out and put it in mpt.c. We now delay it until we know many scatter gather segments the adapter can support, and therefore how to setup our busdma tags. mpt_raid.c: Make sure we wake up the right wait channel to get the raid thread to wake up when we're trying to shut it down. Reviewed by: gibbs, mjacob MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-06-29T22:37:45.815997Z K 7 svn:log V 1042 sh: Forget about terminated background processes sooner. Unless $! has been referenced for a particular job or $! still contains that job's pid, forget about it after it has terminated. If $! has been referenced, remember the job until the wait builtin has reported its completion (either with the pid as parameter or without parameters). In interactive mode, jobs are forgotten after termination has been reported, which happens before primary prompts and through the jobs builtin. Even then, though, remember a job if $! has been referenced. This is similar to what is suggested by POSIX and should fix most memory leaks (which also tend to cause sh to use more CPU time) with long running scripts that start background jobs. Caveats: * Repeatedly referencing $! without ever doing 'wait', like while :; do foo & echo started foo: $!; sleep 60; done will still use a lot of memory and CPU time in the long run. * The jobs and jobid builtins do not cause a job to be remembered for longer like expanding $! does. PR: bin/55346 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-29T23:08:33.260905Z K 7 svn:log V 71 MFC r203584,r203711,r203733,r204379: Teach obsolete NO_MAIL* friends. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-30T01:01:06.464981Z K 7 svn:log V 241 Add a new sysctl option, this will allow one to limit the advertised speed of an SFP+ to 1G, effectively "forcing" link at that lower speed. It is off by default and is enabled by sysctl dev.ix.0.force_gig=1, 0 will set it back to the norm. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-30T01:10:08.185716Z K 7 svn:log V 158 BAH, I apologize, the wrong version of the code got fat fingered in place, this is the correct version that actually works... MFC: in a week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-30T01:40:25.844366Z K 7 svn:log V 539 On powerpc, calculate s_scale using the non-FP version previously specific to hp300. Since FreeBSD does not support hp300, hp300 has been removed from the condition altogether. The FP version broke profiling on powerpc due to invalid results. Casting to double instead of float resolved the issue, but with Book-E not having a FP unit, the non-FP version looked preferrable. Note that even on AIM hardware the FP version yielded an invalid value for s_scale, so the problem is most likely with the compiler or with the expression itself. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-30T04:52:42.482319Z K 7 svn:log V 254 Improve bufdone_finish()'s handling of the bogus page. Specifically, if one or more mappings to the bogus page must be replaced, call pmap_qenter() just once. Previously, pmap_qenter() was called for each mapping to the bogus page. MFC after: 3 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-06-30T07:43:49.065310Z K 7 svn:log V 36 Cleanup svn merge conflict markers. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-06-30T11:17:55.966845Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-30T11:47:03.816524Z K 7 svn:log V 64 MFC r209483: Clear DF bit in eflags/rflags on the kernel entry. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-30T16:28:28.422350Z K 7 svn:log V 139 Left out header change in last delta - new member in adapter so that advertise changes can be done to one port without the other changing. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-30T17:20:33.285579Z K 7 svn:log V 412 Simplify entry to vm_pageout_clean(). Expect the page to be locked. Previously, the caller unlocked the page, and vm_pageout_clean() immediately reacquired the page lock. Also, assert rather than test that the page is neither busy nor held. Since vm_pageout_clean() is called with the object and page locked, the page can't have changed state since the caller verified that the page is neither busy nor held. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-30T17:26:47.168588Z K 7 svn:log V 592 SR-IOV support added to igb What this provides is support for the 'virtual function' interface that a FreeBSD VM may be assigned from a host like KVM on Linux, or newer versions of Xen with such support. When the guest is set up with the capability, a special limited function 82576 PCI device is present in its virtual PCI space, so with this driver installed in the guest that device will be detected and function nearly like the bare metal, as it were. The interface is only allowed a single queue in this configuration however initial performance tests have looked very good. Enjoy!! END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-30T18:00:45.979997Z K 7 svn:log V 91 Update comment for tdsignal() -> tdsendsignal() rename. Forgot to include this in 209592. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-30T18:03:42.006741Z K 7 svn:log V 134 Move prototypes for kern_sigtimedwait() and kern_sigprocmask() to where all other kern_ prototypes live. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-06-30T18:34:45.894017Z K 7 svn:log V 296 - Don't assign the return value from read(2) to a variable of type int. - Use errx(3) instead of err(3) to print the error message on short reads in readlabel(). errno won't be set on short reads which can easily occur here due to the fixed size read request. PR: 144307 Reviewed by: bde END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-30T19:51:19.472822Z K 7 svn:log V 28 Set interface capabilities. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-30T21:05:51.526542Z K 7 svn:log V 207 OK, I was a bit sleep this morning and checked in the core changes but left out the shared code, lol. Well, and a couple fixes to the core... hopefully this will all be complete now. Happy happy joy joy :) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-30T22:29:02.359912Z K 7 svn:log V 93 While functions are ideally aligned to a 32-byte boundary, don't assume this to be the case. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-01T00:30:35.353865Z K 7 svn:log V 86 When compiling with profiling, we define PROF for userspace and GPROF for the kernel. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-01T00:33:50.073630Z K 7 svn:log V 103 Adds `Dell Truemobile 1300' to the supported list. Submitted by: Warren Block END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-01T00:48:00.455448Z K 7 svn:log V 236 Simplify the calculation of s_scale by rewriting the FP expression to use uintmax_t instead of float and thereby eliminating the need for a non-FP version. Tested on: amd64, ia64 & powerpc (book-E) Suggested by: bde MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-01T03:48:45.367867Z K 7 svn:log V 94 MFia64: When compiling with profiling, we define PROF for userspace and GPROF for the kernel. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-07-01T05:03:24.118685Z K 7 svn:log V 10 Fix build END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-07-01T10:26:23.258062Z K 7 svn:log V 35 o Add taras@. Submitted by: taras END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-07-01T12:55:34.046340Z K 7 svn:log V 303 MFC r209540 * Do not dereference a NULL pointer when calling an SCTP send syscall not providing a destination address and using ktrace. * Do not copy out kernel memory when providing sinfo for sctp_recvmsg(). Both bug where reported by Valentin Nechayev. The first bug results in a kernel panic. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-01T14:10:55.311145Z K 7 svn:log V 67 Correct explanation for idle and standby subcommands' -t argument. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-01T14:55:38.369166Z K 7 svn:log V 33 Add a user directory for myself. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-01T14:55:54.302800Z K 7 svn:log V 141 While waiting to merge projects/ppc64, branch projects/ppc64/sys to experiment with PowerPC hypervisors and bring up the Playstation 3 port. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-01T15:02:15.877586Z K 7 svn:log V 85 Remove PS3 loader from this branch, so that it can live over in user/nwhitehorn/ps3. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-01T15:04:36.509417Z K 7 svn:log V 147 Record the merge of the PS3 loader deletion from projects/ppc64, but don't actually delete it here, so I don't merge it by accident in the future. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-01T15:20:15.863771Z K 7 svn:log V 185 Add the skeleton of the PS3 hypercall interface, and some scripts to generate the actual hypercall routines in a flexible way. Discussed with: grehan Obtained from: Linux, ps2dev wiki END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-01T15:23:29.919938Z K 7 svn:log V 32 Fix the $FreeBSD$ in this file. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-07-01T17:44:33.950795Z K 7 svn:log V 409 If the A flag is supplied, http_request() will attempt the request only once, even if authentication is required, instead of retrying with the proper credentials. Fix this by bumping the countdown if the origin or proxy server requests authentication so that the initial unauthenticated request does not count as an attempt. PR: 148087 Submitted by: Tom Evans MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-01T17:46:12.748998Z K 7 svn:log V 173 The struct ipfw_rule_ref follows the struct m_tag. Deal with this correctly. This fixes breakage of ng_ipfw(4) in r201527. Submitted by: Alexander Zagrebin END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-01T18:51:18.076733Z K 7 svn:log V 123 Rework r209456: Instead of using fake rid (which ISA doesn't like), delete untrusted IRQ resource and let it be recreated. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-01T18:59:05.676567Z K 7 svn:log V 131 Allow attimer to be hinted at ISA if not reported by ISA PNP or ACPI. Rephrase respective atrtc code same way to be more readable. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-01T20:50:12.120386Z K 7 svn:log V 221 - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replay violations. - Use SIOCGIFMEDIA to determine VAP's opmode, cache it and set IEEE80211_KEY_NOREPLAY for AHDEMO and IBSS. Approved by: rpaulo (mentor) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-07-01T21:03:30.398729Z K 7 svn:log V 76 Add new source to the loadable em build, thought it wasnt needed but it is. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-01T21:58:46.812890Z K 7 svn:log V 138 Make stray irq counters have format alike to other counters. Unified format makes string processing (for example by `systat -vm`) easier. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-02T02:17:39.475357Z K 7 svn:log V 45 Remove the unneeded header . END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-02T02:20:25.553496Z K 7 svn:log V 37 removed on powerpc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-02T09:17:18.772919Z K 7 svn:log V 154 MFC r209294: Add -fno-asynchronous-unwind-tables to disable unwind table generation for crtbegin/crtend. While there, disable omitting the frame pointer. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-02T09:19:27.453698Z K 7 svn:log V 139 MFC r209295: Add unwind annotations to the asm part of crt1 on i386. Terminate the process with SIGTRAP if _start1() unexpectedly returns. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-07-02T09:23:06.077779Z K 7 svn:log V 63 MFC r209360: add C message catalogue entries for newer errnos. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-07-02T09:53:26.118989Z K 7 svn:log V 359 Fix a bug that WILL cause a panic. Basically a read-lock is being called to check the vtag-timewait cache. Then in two cases (where a vtag is bad i.e. in the time-wait state) the write-unlock is called NOT the read-unlock. Under conditions where lots of associations are coming and going this will cause the system to panic at some point. MFC after: 3 days END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-02T12:01:46.425628Z K 7 svn:log V 421 Remove save/restore of PageMask in tlb.c functions introduced in r209243. If we save/restore the PageMask, the value set by the bootloader will persist, and will cause problems later in TLB exception handler. This caused a crash in AR71xx boards. Also fixes the EntryHi mask in pte.h Reported by: Luiz Otavio O Souza Tested by: Luiz Otavio O Souza Approved by: rrs (mentor) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-02T13:30:26.937410Z K 7 svn:log V 181 Add support for XLS 108 chips - update board.c/board.h to setup GMAC driver parameters correctly. Approved by: rrs (mentor) Obtained from: Sriram Gorti END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-02T15:02:51.261715Z K 7 svn:log V 127 With the demise of page coloring, the page queue macros no longer serve any useful purpose. Eliminate them. Reviewed by: kib END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-02T15:50:30.204838Z K 7 svn:log V 106 Use vm_page_next() instead of vm_page_lookup() in exec_map_first_page() because vm_page_next() is faster. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-02T17:22:15.659530Z K 7 svn:log V 144 Revert r209638. After commit, there appeared to be more people who liked previous name of stray interrupt counters, then responded to the list. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-02T19:59:18.096768Z K 7 svn:log V 156 Use vm_page_prev() instead of vm_page_lookup() in the implementation of vm_fault()'s automatic delete-behind heuristic. vm_page_prev() is typically faster. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-02T20:56:22.451337Z K 7 svn:log V 173 Push down the acquisition of the page queues lock into vm_pageout_page_stats(). In particular, avoid acquiring the page queues lock unless iterating over the active queue. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-07-02T21:31:24.125526Z K 7 svn:log V 255 sh: Remove comment that the comma operator is missing in arithmetic expansion. The comma operator is not listed in POSIX.1-2008 XCU 1.1.2.1 Arithmetic Precision and Operations (referenced by XCU 2.6.4 Arithmetic Expansion) and is therefore not required. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-07-02T22:17:13.911107Z K 7 svn:log V 217 sh: Use $PWD instead of getcwd() for the \w and \W prompt expansions. This ensures that the logical working directory (which may include symlinks) is shown and is similar to the default behaviour of the pwd builtin. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-07-03T09:41:12.753102Z K 7 svn:log V 34 Use Cavium's 64-bit cyclecounter. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T09:42:15.597207Z K 7 svn:log V 83 MFC: r207945 Comment in the BUGS section header. Matches what's in ipfilter 5.10. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T09:47:12.331866Z K 7 svn:log V 83 MFC: r207945 Comment in the BUGS section header. Matches what's in ipfilter 5.10. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T09:50:48.751128Z K 7 svn:log V 43 MFC: r207947 The -d flag is non-optional. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T09:53:35.522513Z K 7 svn:log V 50 MFC: r207975 IBM ServeRAID M5015 SAS/SATA works. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T09:54:14.677737Z K 7 svn:log V 50 MFC: r207975 IBM ServeRAID M5015 SAS/SATA works. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T12:09:45.381243Z K 7 svn:log V 119 MFC: r207964 Casting size_t to uintmax_t is not necessary anymore. This also removes the need for stdint.h inclusion. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-03T12:14:01.801818Z K 7 svn:log V 58 MFC: r207923 Document FIONREAD, FIONWRITE and FIONSPACE. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-03T13:32:39.867007Z K 7 svn:log V 869 Import the Statistical Information For TCP Research (SIFTR) kernel module into FreeBSD. SIFTR logs a range of statistics on active TCP connections to a log file, providing the ability to make highly granular measurements of TCP connection state. The tool is aimed at system administrators, developers and researchers alike. Please take it for a spin and test it out - the man page should have all the information required to get you going. Many thanks go to the Cisco University Research Program Fund at Community Foundation Silicon Valley and the FreeBSD Foundation. Their support of our work at the Centre for Advanced Internet Architectures, Swinburne University of Technology is greatly appreciated. Sponsored by: Cisco URP, FreeBSD Foundation Reviewed by: dwmalone, gnn, rpaulo Tested by: Many on freebsd-current@ and elsewhere over the years MFC after: 1 month END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-07-03T14:03:31.555757Z K 7 svn:log V 415 This fixes a crash in SCTP. It was possible to have a large number of packets queued to a crashing process. In a specific case you may get 2 ABORT's back (from say two packets in flight). If the aborts happened to be processed at the same time its possible to have one free the association while the other is trying to report all the outbound packets. When this occured it could lead to a crash. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-03T14:14:42.348515Z K 7 svn:log V 217 Add ata(4) ability to limit initial ATA mode for devices via device hints. After boot this mode can be changed with atacontrol/camcontrol as usual. It works for both legacy and ATA_CAM wrapper mode. PR: kern/123980 END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-03T15:05:14.246902Z K 7 svn:log V 191 Hook the siftr.4 man page up to the build and alphabetically sort siis into its correct place whilst there. Sponsored by: FreeBSD Foundation Submitted by: pluknet END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-03T17:57:59.399510Z K 7 svn:log V 177 MFC r209104: Add modifications of devctl_notify(9) functions that take flags. Use flags to specify M_WAITOK/M_NOWAIT. M_WAITOK allows devctl to sleep for the memory allocation. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-03T18:09:11.816154Z K 7 svn:log V 115 MFC r209105: When make_dev_credf(MAKEDEV_WAITOK) is called, use devctl_notify_f(M_WAITOK) for devfs notifications. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-03T18:19:59.019347Z K 7 svn:log V 271 MFC r209106: Add another variation of make_dev(9), make_dev_p(9), that is allowed to fail and can return useful error code. MFC r209237 (by jh): Correct the function name in a KASSERT. MFC r209244 (by ed): Remove the unit argument from the recently added make_dev_p(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-03T18:25:37.158665Z K 7 svn:log V 294 Improve the comment and man page for vm_page_alloc(). Specifically, document one of the optional flags; clarify which of the flags are optional (and which are not), and remove mention of a restriction on the reclamation of cached pages that no longer holds since version 7. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-03T20:11:04.252956Z K 7 svn:log V 156 Add a missing conditional. We should not bind the PIC interrupt unless the interrupt's PIC (a) exists and (b) is the root PIC. Reported by: Andreas Tobler END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-03T20:19:20.494485Z K 7 svn:log V 196 Allocate and setup an interrupt vector for corrected machine checks. For now, just print when we get the interrupt, but eventually we need to collect the details and provide a more useful report. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-03T20:26:33.525965Z K 7 svn:log V 84 The powerpc64 boot loader is 32-bit, so make sure the libfdt included here is, too. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-03T20:48:43.425157Z K 7 svn:log V 210 We need Open Firmware and FDT to be able to coexist. Ideally, we would either kill the OFW iinfo stuff or the FDT duplicate version of it in favor of something unified, but for now at least don't break things. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-03T21:02:11.533378Z K 7 svn:log V 534 "Fix" some things in ofw_fdt for 64-bit systems. The basic problem is that this code uses pointers into the device tree as package handles, but the PPC OF spec has package handles as 32-bit quantities. Maybe offsets into the DT blob could be used instead? In any case, this change is fine on powerpc64/aim, since device trees will always be loaded at boot time and thus are guaranteed to be in 32-bit accessible memory. Also, kill some dependence on things in /dev/fdt, which are unimplemented (and unnecessary) for the time being. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-07-03T21:06:48.190001Z K 7 svn:log V 1142 MFC r207944: sh: Fix pathname expansion with quoted slashes like *\/. These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4 in dash. Because this is the first code I'm importing from dash to expand.c, add the Herbert Xu copyright notice which is in dash's expand.c. When pathname expanding *\/, the CTLESC representing the quoted state was erroneously taken as part of the * pathname component. This CTLESC was then seen by the pattern matching code as escaping the '\0' terminating the string. The code is slightly different because dash converts the CTLESC characters to backslashes and removes all the other CTL* characters to allow substituting glob(3). The effect of the bug was also slightly different from dash (where nothing matched at all). Because a CTLESC can escape a '\0' in some way, whether files were included despite the bug depended on memory that should not be read. In particular, on many machines /*\/ expanded to a strict subset of what /*/ expanded to. Example: echo /*"/null" This should print /dev/null, not /*/null. PR: bin/146378 Obtained from: dash END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-07-03T21:31:05.771663Z K 7 svn:log V 306 MFC r209337: sh: Fix compilation with -DNO_HISTORY. The LINENO code uses snprintf() and relied on "myhistedit.h" to pull in the necessary . Compiling with -DNO_HISTORY disables all editing and history support and allows linking without -ledit -ltermcap. This may be useful for embedded systems. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-03T22:02:29.183267Z K 7 svn:log V 88 sysctlbyname() returns -1 on error and sets errno. It does not return the error itself. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-04T01:39:58.804105Z K 7 svn:log V 43 Make static FDT inclusion work on PPC/aim. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-04T02:40:31.268828Z K 7 svn:log V 156 Generate the header and assembly files, modify hv-header.awk to generate correct prototypes for functions with no arguments, and add some useful constants. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-04T02:42:01.371356Z K 7 svn:log V 189 OF modules should return phandles equal to -1 on error, not 0. FDT should be audited for this more thoroughly, but this keeps Powermac-related stuff from thinking it should attach for now. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-04T02:44:32.706321Z K 7 svn:log V 522 Provide syscons and platform modules for the PS3. This gets a console up, message from KDB, and the whole init sequence up until it tries to init the MMU, which does not work because of the hypervisor. That is pending. Simple hypervisor calls (e.g. determining the amount of non-hotplug memory) work at this point as well. Because of my abject and total failure to get FDT behaving, FDT-related platform detection code is under an #if 0 for now, and everything is keyed off of setting the loader tunable hw.platform=ps3. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-04T05:58:17.790515Z K 7 svn:log V 23 Minor formatting nits. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-04T07:42:52.386299Z K 7 svn:log V 301 Add a safety-belt. If the identified disk has 0 blocks, don't attach it. This can happen in some cases when plugging in SD/SmartCard PC Cards with empty slots. It is better to detect this bogosity, and refuse to attach rather than panic with a division by zero (in one of many places) down stream. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-07-04T08:09:33.345001Z K 7 svn:log V 91 Use ISO C99 integer types instead of the BSD-specific u_int*_t. Approved by: rrs (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T11:13:33.338197Z K 7 svn:log V 154 Introduce a helper function vm_page_find_least(). Use it in several places, which inline the function. Reviewed by: alc Tested by: pho MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T11:26:56.389083Z K 7 svn:log V 466 Reimplement vm_object_page_clean(), using the fact that vm object memq is ordered by page index. This greatly simplifies the implementation, since we no longer need to mark the pages with VPO_CLEANCHK to denote the progress. It is enough to remember the current position by index before dropping the object lock. Remove VPO_CLEANCHK and VM_PAGER_IGNORE_CLEANCHK as unused. Garbage-collect vm.msync_flush_flags sysctl. Suggested and reviewed by: alc Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T11:43:53.303069Z K 7 svn:log V 72 Constify source argument for siginfo_to_siginfo32(). MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T11:48:30.153279Z K 7 svn:log V 189 Extend ptrace(PT_LWPINFO) to report siginfo for the signal that caused debugee stop. The change should keep the ABI. Take care of compat32. Discussed with: davidxu, jhb MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T12:08:04.581716Z K 7 svn:log V 143 Extend the td_thrinfo_t to include siginfo for the signal that stopped the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T12:09:30.576604Z K 7 svn:log V 123 For "thread signal" command, print some information from siginfo when available. Suggested by: davidxu MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-07-04T12:22:17.903281Z K 7 svn:log V 267 MFC r208508: MFp4 @178283: Improve IPsec flow distribution for better netisr parallelism. Instead of using the pointer that would have the last bits masked in a % statement in netisr_select_cpuid() to select the queue, use the SPI. Reviewed by: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-07-04T12:27:18.868937Z K 7 svn:log V 660 MFC r208509: MFp4 @178364: Implement an optional delay to the ddb reset/reboot command. This allows textdumps to be run automatically with unattended reboots after a resonable timeout, while still permitting an administrator to break into debugger if attached to the console at the time of the event for further debugging. Cap the maximum delay at 1 week to avoid highly accidental results, and default to 15s in case of problems parsing the timeout value. Move hex2dec helper function from db_thread.c to db_command.c to make it generally available and prefix it with a "db_" to avoid namespace collisions. Reviewed by: rwatson END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-04T12:28:02.061006Z K 7 svn:log V 34 Release bschmidt from mentorship. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-04T12:30:55.548276Z K 7 svn:log V 345 MFC r209169: Fix TX retry rate handling. tx->linkq is an index to a rate table beginning with the highest available rate. Currently we always use 54m for the first retry no matter what AMRR has choosen. Fix this by setting the index to the next lower rate. Approved by: rpaulo (mentor) Tested by: Brandon Gooch END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-07-04T12:43:12.341880Z K 7 svn:log V 379 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which apart from generally doing the wrong thing can lead to a panic when a CPU is told to IPI itself (which sun4u doesn't support). Reported and tested by: Nathaniel W Filardo - Add __unused where appropriate. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-04T17:37:28.162133Z K 7 svn:log V 55 Allow multiple platform modules to peacefully coexist. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T18:16:17.342776Z K 7 svn:log V 75 Obey sv_syscallnames bounds in syscallname(). Reported and tested by: pho END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-04T18:41:00.230429Z K 7 svn:log V 111 MFC: r207946 The previous revision actually removed the bug being hinted at, so go ahead and remove the hint. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-04T18:44:32.154746Z K 7 svn:log V 111 MFC: r207946 The previous revision actually removed the bug being hinted at, so go ahead and remove the hint. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-04T18:48:43.818239Z K 7 svn:log V 264 MFC: r207948 - Missing full stops - Upper case the first character of an description - Section headings do not need to be quoted. From OpenBSD's make.1, revision 1.81 - Plural of suffix is suffixes. From OpenBSD's make.1, revision 1.61 - s/seperating/separating/ END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-04T18:49:15.942298Z K 7 svn:log V 264 MFC: r207948 - Missing full stops - Upper case the first character of an description - Section headings do not need to be quoted. From OpenBSD's make.1, revision 1.81 - Plural of suffix is suffixes. From OpenBSD's make.1, revision 1.61 - s/seperating/separating/ END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-04T19:02:32.672324Z K 7 svn:log V 288 Several cleanups for the r209686: - remove unused defines; - remove unused curgeneration argument for vm_object_page_collect_flush(); - always assert that vm_object_page_clean() is called for OBJT_VNODE; - move vm_page_find_least() into for() statement initial clause. Submitted by: alc END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-04T20:39:07.159517Z K 7 svn:log V 239 Let boot(8) refer to the uart(4) serial driver, which is the replacement for the obsolete sio(4) driver. PR: docs/144498 Submitted by: Bruce Cran (bruce at cran dot org dot uk) Approved by: marcel MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-07-04T22:17:56.910556Z K 7 svn:log V 75 Fix the clear function which has been broken for a bit. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-05T01:09:59.079487Z K 7 svn:log V 258 Reorganize mmu_oea[64] slightly to allow hypervisor interface layers to provide page table manipulation hooks. This is done with if ... else instead of pointers to the native page table manipulation functions to preserve the inlining on the native routines. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-05T01:11:41.812025Z K 7 svn:log V 235 Missed some slots in the parameter save area, which caused hypercall stubs to trample over memory when given more than 8 arguments. While here, remove the comment pass-through for the ASM file. It caused problems, and isn't necessary. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-05T01:12:41.138567Z K 7 svn:log V 60 Teach the PS3 syscons module how to reopen the framebuffer. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-05T01:14:32.221659Z K 7 svn:log V 221 Add support for the LV1 hypervisor MMU routines. This gets the PS3 to boot to the point of complaining about the lack of a PIC driver (and to print cpu0: IBM Cell Broadband Engine revision 0.0 to the console on the way). END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-07-05T03:55:49.146924Z K 7 svn:log V 138 Increment 'sa' at the end of the loop; otherwise, only the first address ever gets checked. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-07-05T16:23:55.703526Z K 7 svn:log V 377 Extend the kernel unit number allocator for allocating specific unit numbers. This change adds a new function alloc_unr_specific() which returns the requested unit number if it is free. If the number is already allocated or out of the range, -1 is returned. Update alloc_unr(9) manual page accordingly and add a MLINK for alloc_unr_specific(9). Discussed on: freebsd-hackers END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-07-05T18:45:59.747761Z K 7 svn:log V 321 MFC r209624 * Do not dereference a NULL pointer when calling an SCTP send syscall not providing a destination address and using ktrace. * Do not copy out kernel memory when providing sinfo for sctp_recvmsg(). Both bugs where reported by Valentin Nechayev. The first bug results in a kernel panic. Approved by: re@ END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-05T19:01:10.279877Z K 7 svn:log V 81 Remove comment which didn't match reality for a long time. Reviewed by: rwatson END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-05T21:13:32.715371Z K 7 svn:log V 319 Add the ability for the allocflag argument of the vm_page_grab() to specify the increment of vm_pageout_deficit when sleeping due to page shortage. Then, in allocbuf(), the code to allocate pages when extending vmio buffer can be replaced by a call to vm_page_grab(). Suggested and reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-06T02:07:59.113185Z K 7 svn:log V 300 It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO configuration to get IPv4 TSO work on BCM57780. While I'm here apply the same fix to BCM5785 which shares similar hardware feature of BCM57780. This change makes TSO work on BCM57780. Tested by: Tong Liu gmail dot com> END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-07-06T03:48:46.139770Z K 7 svn:log V 114 o addr2ascii(3) was removed ages ago. Fix the comment. PR: docs/148383 Submitted by: pluknet MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-06T07:07:29.464018Z K 7 svn:log V 476 - Permit zero length directories as a handled inconsistency. This allows directory truncation to proceed before the link has been cleared. This is accomplished by detecting a directory with no . or .. links and clearing the named directory entry in the parent. - Add a new function ino_remref() which handles the details of removing a reference to an inode as a result of a lost directory. There were some minor errors in various subcases of this routine. END