īq254669 174 125 318 301 255 203 105 189 213 199 133 198 109 97 174 233 452 165 141 160 141 133 496 234 169 169 182 182 178 178 162 343 168 188 188 380 266 318 171 178 178 147 149 268 147 172 293 528 371 111 268 426 132 228 116 123 117 371 114 293 551 142 106 111 97 169 146 361 149 215 160 159 106 132 359 411 315 116 219 258 222 229 244 269 350 349 378 233 205 470 366 264 4024 230 230 504 137 127 267 496 640 212 156 279 224 393 210 147 834 145 685 205 788 636 97 291 1609 176 565 325 106 485 510 147 170 355 189 147 1670 220 139 465 190 669 190 210 2269 211 396 809 167 671 397 290 383 667 256 162 765 208 238 386 290 176 291 290 567 105 116 160 272 258 169 190 244 927 251 152 193 254 209 97 150 147 329 K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-22T18:41:28.015528Z K 7 svn:log V 33 Revert r254626 to fix the build. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-08-22T19:28:13.655259Z K 7 svn:log V 222 Make also the features of the association 64-bit. When exporting to xinpcb, just export the lower 32-bit. Using there also 64-bits will break the ABI and will be committed separetly. MFC after: 2 weeks X-MFC with: 254248 END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-08-22T20:07:06.266595Z K 7 svn:log V 206 Rename definition of HYPERVISOR_VIRT_START to avoid conflict with upstream Xen definition found in xen/interface/arch-x86/xen-x86_32.h. Submitted by: Roger Pau Monn̩ Reviewed by: gibbs MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-08-22T20:29:57.861511Z K 7 svn:log V 159 Export the inpcb features as a 64-bit entity. Bump __FreeBSD_version to 1000048 since the modified structure is user visible and used by netstat, for example. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T22:01:56.408730Z K 7 svn:log V 110 Update the manual page for vm_page_grab(9). Reviewed and edited by: alc Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T22:20:54.036258Z K 7 svn:log V 12 IFC @254669 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-08-22T22:26:46.742658Z K 7 svn:log V 94 Handle VM_PROT_NONE in nested page table code. Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-08-22T22:29:27.905665Z K 7 svn:log V 117 HLT_IGNORED stat is used by both vmx and svm - move to common stats. Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-08-23T00:37:26.812084Z K 7 svn:log V 103 Add in last remaining files to get AMD-SVM operational. Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-08-23T02:10:21.688469Z K 7 svn:log V 36 Merge revs 250000:254653 from head. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-23T05:26:45.777669Z K 7 svn:log V 102 Fix typo that could give us the wrong number of avail Tx descriptors Add a few more error statistics END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-23T05:38:48.393942Z K 7 svn:log V 14 MFC @ r254679 END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-23T07:39:32.707165Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-08-23T08:20:39.029797Z K 7 svn:log V 82 Delete unused lines from copy/paste. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-08-23T08:26:52.675913Z K 7 svn:log V 140 My inconsistent use of upper and lower case in shell variable names finally caught up with me. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 des K 8 svn:date V 27 2013-08-23T10:57:05.465248Z K 7 svn:log V 359 Set the back pointer from the prefix to the interface before adding the prefix to the interface's prefix list. This shouldn't make a difference, since rtadvd(8) is single-threaded, but I've seen it crash in delete_prefix() with pfx_rainfo == NULL, and this is the only place where a prefix can be added to the list with a NULL pfx_rainfo. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-23T12:07:13.257374Z K 7 svn:log V 73 Remove TQ_FLAGS_PENDING flag, softly duplicating queue emptiness status. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T12:28:10.964559Z K 7 svn:log V 46 Import NetBSD libexecinfo 20130822 to contrib END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T12:35:48.240190Z K 7 svn:log V 65 Remove accidental import of libexecinfo at wrong directory level END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T12:38:51.871200Z K 7 svn:log V 46 Import NetBSD libexecinfo 20130822 to contrib END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T12:42:13.938843Z K 7 svn:log V 38 FreeBSD compatibility for libexecinfo END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-08-23T13:14:18.511121Z K 7 svn:log V 400 Some vendors store the mac addresses of arge(4) as a literal sring in the form xx:xx:xx:xx:xx:xx complete with ":" characters taking of 18 bytes instead of 6 integers. Expose a "readascii" tuneable to handle this case. Remove restriction on eepromac assignement for the first dev instance only. Add eepromac address for DIR-825 to hints file. Add readascii hint for DIR-825 Reviewed by: adrian@ END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:19:12.031067Z K 7 svn:log V 141 MFC r198335,198365: remove dependency between NO_WARNS and CSTD There is no reason to have it. Reviewed by: dim MFC slackers: rdivacky, ru END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:20:11.545244Z K 7 svn:log V 77 MFC r253604: rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:22:14.440863Z K 7 svn:log V 77 MFC r253604: rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:27:13.177203Z K 7 svn:log V 90 MFC r253603: zfs: move vnode creation from zfs_znode_cache_constructor to zfs_znode_alloc END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:27:27.966522Z K 7 svn:log V 90 MFC r253603: zfs: move vnode creation from zfs_znode_cache_constructor to zfs_znode_alloc END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:29:53.672601Z K 7 svn:log V 86 MFC r253606: zfs module: perform cleanup during shutdown in addition to module unload END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T13:30:07.409663Z K 7 svn:log V 86 MFC r253606: zfs module: perform cleanup during shutdown in addition to module unload END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T13:47:18.061590Z K 7 svn:log V 67 Update libexecinfo man page for FreeBSD Sponsored by: DARPA, AFRL END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-08-23T13:47:41.959502Z K 7 svn:log V 250 Use tvtohz() to convert a socket buffer timeout to a tick value rather than using a home-rolled version. The home-rolled version could result in shorter-than-requested sleeps. Reported by: Vitja Makarov MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-23T13:59:47.717611Z K 7 svn:log V 73 libc: Make various internal file descriptors from fopen() close-on-exec. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:03:08.707355Z K 7 svn:log V 96 MFC r253772,253773,253989: dtrace disassembler: take the latest/last CDDL code from OpenSolaris END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:03:48.864284Z K 7 svn:log V 96 MFC r253772,253773,253989: dtrace disassembler: take the latest/last CDDL code from OpenSolaris END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-08-23T14:12:39.037116Z K 7 svn:log V 284 Introduce callout_init_rm() so that callouts can be used in conjunction with rmlocks. This works only with non-sleepable rm because handlers run in SWI context. While here, document the new KPI in the timeout(9) manpage. Requested by: adrian, scottl Reviewed by: mav, remko(manpage) END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:17:45.338197Z K 7 svn:log V 173 MFC r253996,253997: opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG Please note that support for compiling ZFS into a kernel is not in this branch as of now. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:18:24.345186Z K 7 svn:log V 225 MFC r253996,253997: opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG Please note that support for compiling ZFS into a kernel is not in this branch as of now. Also, not all modules from head are in this branch. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-23T14:23:54.319120Z K 7 svn:log V 76 libc: Access some unexported variables more efficiently (related to stdio). END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:24:46.800609Z K 7 svn:log V 86 MFC r253677,253679: make path matching in devfs rules consistent and sane (and safer) END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:25:04.108316Z K 7 svn:log V 86 MFC r253677,253679: make path matching in devfs rules consistent and sane (and safer) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T14:31:05.035811Z K 7 svn:log V 52 Add libexecinfo Makefile Sponsored by: DARPA, AFRL END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-08-23T14:33:56.422125Z K 7 svn:log V 54 - Bump date. - Small mdoc fix. Submitted by: pluknet END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:40:09.912228Z K 7 svn:log V 175 zfs: inline and remove zfs_vnode_lock It didn't serve any useful purpose, but obscured file and line information useful for debugging. MFC after: 5 days X-MFC with: r254445 END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-08-23T14:40:17.059906Z K 7 svn:log V 52 Fix the build and fix style. Pointy-hat to: davide END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:41:27.685586Z K 7 svn:log V 80 fbt: drop a local write-only variable Discovered with: gcc46 MFC after: 4 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T14:43:32.439839Z K 7 svn:log V 200 zfs: do not reject any operations on a pool just because it's a boot pool Unlike the upstream FreeBSD supports booting to all kinds of pools. Requested by: many Tested by: sbruno MFC after: 12 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-23T14:50:03.998753Z K 7 svn:log V 435 Since the 253927, which removed the soft busy call for the sf page, it does not make sense to wait for the soft busy state of the page to drain. The vm object lock is dropped immediately after, so the result of the wait is invalidated. It might make sense to not wait for the hard busy state as well, esp. for the fully valid page, but this is postponed for now. Reviewed by: alc Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-23T15:07:54.056776Z K 7 svn:log V 278 Don't give up so easily on failure of CMD55 to put the card into app-cmd mode. We don't know why it failed, so we can't know that a retry will also fail (the low-level driver might have reset the controller state machine or something similar that would allow a retry to work). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-23T16:54:38.069318Z K 7 svn:log V 18 Fix a whitespace. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-23T17:03:43.171448Z K 7 svn:log V 175 MFC r212966: Modify devfs_fqpn() for future use in devfs path reference counting code This should fix build failure introduced in r254708. Pointyhat to: avg MFC slacker: jh END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-08-23T17:27:12.773877Z K 7 svn:log V 333 Addendum to r254141: The call to vm_radix_insert() in vm_page_cache() can reclaim the last preexisting cached page in the object, resulting in a call to vdrop(). Detect this scenario so that the vnode's hold count is correctly maintained. Otherwise, we panic. Reported by: scottl Tested by: pho Discussed with: attilio, jeff, kib END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T17:38:32.613418Z K 7 svn:log V 37 Prepare to import lldb (about 13MB) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T17:46:38.408143Z K 7 svn:log V 132 Import lldb as of SVN r188801 (A number of files not required for the FreeBSD build have been removed.) Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T17:47:21.086943Z K 7 svn:log V 21 Back to normal limit END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T17:52:01.546768Z K 7 svn:log V 28 Tag (stripped) lldb r188801 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-23T18:01:58.278528Z K 7 svn:log V 24 Import ACPICA 20130823. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-08-23T18:02:37.490903Z K 7 svn:log V 278 MFC r254581: Pull in r188716 from upstream clang trunk: PR16727: don't try to evaluate a potentially value-dependent expression when checking for missing parens in &&/|| expressions. This fixes an assertion encountered when building the lang/sdcc port. Reported by: kwm END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-23T18:02:39.910484Z K 7 svn:log V 21 Tag ACPICA 20130823. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-23T18:03:18.256764Z K 7 svn:log V 201 There is no need to hold the freelist lock around alloc/free of software descriptors. This also silences WITNESS warnings when the software descriptors are allocated with M_WAITOK. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-08-23T18:04:13.650330Z K 7 svn:log V 458 MFC r254582: Pull in r182983 from upstream clang trunk: Fix handling of braced-init-list as reference initializer within aggregate initialization. Previously we would incorrectly require an extra set of braces around such initializers. Pull in r188718 from upstream clang trunk: Handle init lists and _Atomic fields. Fixes PR16931. These fixes are needed for the atomic_flag type to work correctly in our stdatomic.h. Requested by: theraven END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-23T18:06:42.093738Z K 7 svn:log V 47 Merge lldb r188801 to contrib/llvm/tools/lldb/ END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-23T18:38:43.954608Z K 7 svn:log V 13 IFC @r254719 END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-23T18:45:39.724903Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-23T18:50:47.911546Z K 7 svn:log V 4 IFC END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-23T18:52:36.681588Z K 7 svn:log V 76 Set the hint for physical address of RSDP in hexadecimal as before r223262. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-23T18:54:27.753526Z K 7 svn:log V 55 Fix implementation of sock_getname. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-23T19:12:29.151054Z K 7 svn:log V 269 Assorted fixes to krping. Disconnect the rest of sys/contrib/rdma from the build while here. sys/ofed has more recent RDMA code and should be used instead. We should probably move krping out of sys/contrib/rdma and get rid of the rest of it. Obtained from: Chelsio END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-23T20:37:44.158511Z K 7 svn:log V 58 Don't leak tags when M_NOFREE | M_PKTHDR mbufs are freed. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2013-08-23T20:39:41.010108Z K 7 svn:log V 117 Return EIO iso -1, the kiic_transfer has an signed return. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-23T20:47:16.932889Z K 7 svn:log V 65 Add vmx(4), a VMware VMXNET3 ethernet driver ported from OpenBSD END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-23T20:56:17.002574Z K 7 svn:log V 64 Remove duplicate copy of the man page Pointed out by: jmallett END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-23T21:46:11.533289Z K 7 svn:log V 14 MFC @ r254739 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T22:52:20.095822Z K 7 svn:log V 36 Allow tmpfs be mounted inside jail. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-23T22:55:52.333856Z K 7 svn:log V 264 Hold mfi_io_lock across calls to xpt_rescan() and xpt_alloc_ccb_nowait(). xpt_rescan() expects the SIM lock to be held, and we trip a mtx_assert if the driver initiates multiple rescans in quick succession. Reported by: sbruno Tested by: sbruno MFC after: 1 week END K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-08-23T23:12:16.604262Z K 7 svn:log V 314 Correctly remove an interface's ipv4 address when the user calls "/etc/rc.d/netif stop XXX". The old globbing pattern failed to account for the possibility of a tab occuring before "inet". Reviewed by: will Approved by: ken (mentor, implicit) MFC after: Never (bug affects head only) Sponsored by: Spectra Logic END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:21:24.198288Z K 7 svn:log V 218 MFV r254422: Illumos DTrace issues: 3089 want ::typedef 3094 libctf should support removing a dynamic type 3095 libctf does not validate arrays correctly 3096 libctf does not validate function types correctly END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-23T23:25:58.321599Z K 7 svn:log V 23 Merge ACPICA 20130823. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:34:54.932789Z K 7 svn:log V 122 Update vendor/illumos/dist to 14148:fe28bd725808: Illumos DTrace issues: 4005 libctf can't deal with extended sections END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:36:27.636453Z K 7 svn:log V 161 Update vendor-sys/illumos/dist to 14151:189ec27885ae: Illumos DTrace issues: 4047 panic from dbuf_free_range() from dmu_free_object() while doing zfs receive END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:37:55.830275Z K 7 svn:log V 125 Update vendor/illumos/dist to 14152:46f5fb0b0d36: Illumos DTrace issues: 4061 libzfs: memory leak in iter_dependents_cb() END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:40:25.626814Z K 7 svn:log V 132 Update vendor-sys/illumos/dist to 14157:85f7bb2246ca: Illumos ZFS issues: 4046 dsl_dataset_t ds_dir->dd_lock is highly contended END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:46:27.050926Z K 7 svn:log V 147 Update vendor/illumos/dist and vendor-sys/illumos/dist to 14159:dc75c925d8aa: Illumos ZFS issues: 2932 support crash dumps to raidz, etc. pools END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:47:59.011852Z K 7 svn:log V 172 Update vendor/illumos/dist to 14160:734110b9882f: Illumos ZFS issues: 1765 assert triggered in libzfs_import.c trying to import pool name beginning with a number END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-23T23:58:56.360218Z K 7 svn:log V 253 MFV r254746: To quote original Illumos ticket: libctf thinks that any ELF file containing more than 65536 sections is corrupt, because it doesn't understand the SHN_XINDEX magic. Illumos DTrace issues: 4005 libctf can't deal with extended sections END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-24T00:19:26.422705Z K 7 svn:log V 252 MFV r254747: Fix a panic from dbuf_free_range() from dmu_free_object() while doing zfs receive. This is a regression from FreeBSD r253821. Illumos ZFS issues: 4047 panic from dbuf_free_range() from dmu_free_object() while doing zfs receive END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-24T00:26:15.229052Z K 7 svn:log V 285 Revert r250907 from releng/9.2: Reports of NFS deadlocks on -stable@ suggest that reverting this change resolves the problem. This is a direct reverse-merge to releng/9.2, pending further review and analysis on the stable/9 branch. Approved by: re (marius) Discussed on: stable END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-24T00:29:34.888799Z K 7 svn:log V 136 MFV r254748: Fix memory leak in libzfs's iter_dependents_cb(). Illumos ZFS issues: 4061 libzfs: memory leak in iter_dependents_cb() END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-08-24T00:30:32.777751Z K 7 svn:log V 109 Grow some spares in struct vfsops. This should hopefully prevent ABI breakage on adding new vfsops in 10.x. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-24T00:42:37.194210Z K 7 svn:log V 373 MFV r254749: Don't hold dd_lock for long by breaking it when not doing dsl_dir accounting. It is not necessary to hold the lock while manipulating the parent's accounting, because there is no interface for userland to see a consistent picture of both parent and child at the same time anyway. Illumos ZFS issues: 4046 dsl_dataset_t ds_dir->dd_lock is highly contended END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-24T00:54:47.329738Z K 7 svn:log V 269 MFV r254751: Don't treat the parameter as a number (pool GUID) when there is error converting it from string, instead, treat it as the pool name. Illumos ZFS issues: 1765 assert triggered in libzfs_import.c trying to import pool name beginning with a number END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-08-24T01:50:31.392586Z K 7 svn:log V 169 CTL changes required for iSCSI target, most notably LUN remapping and a mechanism to allow CTL frontends for retrieving LUN options. Reviewed by: ken (earlier version) END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-24T04:52:22.309577Z K 7 svn:log V 3930 Add support to physio(9) for devices that don't want I/O split and configure sa(4) to request no I/O splitting by default. For tape devices, the user needs to be able to clearly understand what blocksize is actually being used when writing to a tape device. The previous behavior of physio(9) was that it would split up any I/O that was too large for the device, or too large to fit into MAXPHYS. This means that if, for instance, the user wrote a 1MB block to a tape device, and MAXPHYS was 128KB, the 1MB write would be split into 8 128K chunks. This would be done without informing the user. This has suboptimal effects, especially when trying to communicate status to the user. In the event of an error writing to a tape (e.g. physical end of tape) in the middle of a 1MB block that has been split into 8 pieces, the user could have the first two 128K pieces written successfully, the third returned with an error, and the last 5 returned with 0 bytes written. If the user is using a standard write(2) system call, all he will see is the ENOSPC error. He won't have a clue how much actually got written. (With a writev(2) system call, he should be able to determine how much got written in addition to the error.) The solution is to prevent physio(9) from splitting the I/O. The new cdev flag, SI_NOSPLIT, tells physio that the driver does not want I/O to be split beforehand. Although the sa(4) driver now enables SI_NOSPLIT by default, that can be disabled by two loader tunables for now. It will not be configurable starting in FreeBSD 11.0. kern.cam.sa.allow_io_split allows the user to configure I/O splitting for all sa(4) driver instances. kern.cam.sa.%d.allow_io_split allows the user to configure I/O splitting for a specific sa(4) instance. There are also now three sa(4) driver sysctl variables that let the users see some sa(4) driver values. kern.cam.sa.%d.allow_io_split shows whether I/O splitting is turned on. kern.cam.sa.%d.maxio shows the maximum I/O size allowed by kernel configuration parameters (e.g. MAXPHYS, DFLTPHYS) and the capabilities of the controller. kern.cam.sa.%d.cpi_maxio shows the maximum I/O size supported by the controller. Note that a better long term solution would be to implement support for chaining buffers, so that that MAXPHYS is no longer a limiting factor for I/O size to tape and disk devices. At that point, the controller and the tape drive would become the limiting factors. sys/conf.h: Add a new cdev flag, SI_NOSPLIT, that allows a driver to tell physio not to split up I/O. sys/param.h: Bump __FreeBSD_version to 1000049 for the addition of the SI_NOSPLIT cdev flag. kern_physio.c: If the SI_NOSPLIT flag is set on the cdev, return any I/O that is larger than si_iosize_max or MAXPHYS, has more than one segment, or would have to be split because of misalignment with EFBIG. (File too large). In the event of an error, print a console message to give the user a clue about what happened. scsi_sa.c: Set the SI_NOSPLIT cdev flag on the devices created for the sa(4) driver by default. Add tunables to control whether we allow I/O splitting in physio(9). Explain in the comments that allowing I/O splitting will be deprecated for the sa(4) driver in FreeBSD 11.0. Add sysctl variables to display the maximum I/O size we can do (which could be further limited by read block limits) and the maximum I/O size that the controller can do. Limit our maximum I/O size (recorded in the cdev's si_iosize_max) by MAXPHYS. This isn't strictly necessary, because physio(9) will limit it to MAXPHYS, but it will provide some clarity for the application. Record the controller's maximum I/O size reported in the Path Inquiry CCB. sa.4: Document the block size behavior, and explain that the option of allowing physio(9) to split the I/O will disappear in FreeBSD 11.0. Sponsored by: Spectra Logic END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-24T07:17:28.560640Z K 7 svn:log V 132 MFC r254438: Fix some USB controller names according to pciconf output. Submitted by: Dmitry Luhtionov END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-24T07:19:57.322541Z K 7 svn:log V 132 MFC r254438: Fix some USB controller names according to pciconf output. Submitted by: Dmitry Luhtionov END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T08:06:57.600783Z K 7 svn:log V 411 Move tq_enqueue() call out of the queue lock for known handlers (actually I have found no others in the base system). This reduces queue lock hold time and congestion spinning under active multithreaded enqueuing. According to hwpmc, for ZFS benchmark doing 100K disk IOPS this moved 10% of CPU time spent on lock spinning from this lock to UMA locks. Hope that side also can be addressed somehow sometimes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T08:38:48.049159Z K 7 svn:log V 45 Allow direct dispatch for ZFS GEOM consumer. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T08:47:09.031995Z K 7 svn:log V 35 Oops, use right flags for r254764. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T09:42:14.711483Z K 7 svn:log V 174 Add new attribute lunname to report only textual LUN-specific device IDs. While lunid attribute prefers to report numeric ones, having both may be useful in some situations. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-24T09:57:32.119186Z K 7 svn:log V 400 sh: Do not prematurely discard stopped jobs in a wait builtin. If a job is specified to 'wait', wait for it to complete. Formerly, in interactive mode, the job was deleted if it stopped. If no jobs are specified in interactive mode, 'wait' still waits for all jobs to complete or stop. In non-interactive mode, WUNTRACED is not passed to wait3() so stopped jobs are not detected. PR: bin/181435 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-24T10:06:51.764574Z K 7 svn:log V 544 Revert lldb changes due to post-3.3 clang and llvm API changes Revisions: svn git 183929 99447a6 183862 15c1774 source/Host/common/FileSpec.cpp 184954 007e7bc 184948 4dc3761 source/Expression/ClangExpressionParser.cpp 182099 b31044e 181387 779e6ac include/lldb/Expression/IRExecutionUnit.h source/Expression/IRExecutionUnit.cpp 184177 0b2934b 182650 f2dcf35 181703 7bef4e2 source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp 182683 0d91b80 source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp Sponsored by: DARPA, AFRL END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T10:13:59.841151Z K 7 svn:log V 117 Introduce typedef for pfil hook callback function and replace all spelled out occurrences with it. Reviewed by: eri END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T10:30:20.468026Z K 7 svn:log V 62 Convert one instance of pfil hook callback missed in r254769. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T10:36:33.460372Z K 7 svn:log V 184 Internalize pfil_hook_get(). There are no outside consumers of this API, it is only safe for internal use and even the pfil(9) man page says so in the BUGS section. Reviewed by: eri END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T10:38:02.118817Z K 7 svn:log V 129 pfil_hook_get() has been internalized in r254771 and is no longer part of the API. It wasn't safe for external use in any case. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T11:17:25.087408Z K 7 svn:log V 298 Resolve the confusion between the head_list and the hook list. The linked list of pfil hooks is changed to "chain" and this term is applied consistently. The head_list remains with "list" term. Add KASSERT to vnet_pfil_uninit(). Update and extend comments. Reviewed by: eri (previous version) END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T11:24:15.444867Z K 7 svn:log V 115 ename PFIL_LIST_[UN]LOCK() to PFIL_HEADLIST_[UN]LOCK() to avoid confusion with the pfil_head chain locking macros. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T11:57:02.585282Z K 7 svn:log V 53 Adjust for the pfil_func_t typedef added in r254769. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-08-24T11:59:51.714350Z K 7 svn:log V 737 Make ipfw nat init/unint work correctly for VIMAGE: * Do per vnet instance cleanup (previously it was only for vnet0 on module unload, and led to libalias leaks and possible panics due to stale pointer dereferences). * Instead of protecting ipfw hooks registering/deregistering by only vnet0 lock (which does not prevent pointers access from another vnets), introduce per vnet ipfw_nat_loaded variable. The variable is set after hooks are registered and unset before they are deregistered. * Devirtualize ifaddr_event_tag as we run only one event handler for all vnets. * It is supposed that ifaddr_change event handler is called in the interface vnet context, so add an assertion. Reviewed by: zec MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T12:03:24.604590Z K 7 svn:log V 51 Whitespace, style cleanups, and improved comments. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-08-24T12:10:11.101710Z K 7 svn:log V 588 MFC r253282: A complete duplication of binding should be allowed if on both new and duplicated sockets a multicast address is bound and either SO_REUSEPORT or SO_REUSEADDR is set. But actually it works for the following combinations: * SO_REUSEPORT is set for the fist socket and SO_REUSEPORT for the new; * SO_REUSEADDR is set for the fist socket and SO_REUSEADDR for the new; * SO_REUSEPORT is set for the fist socket and SO_REUSEADDR for the new; and fails for this: * SO_REUSEADDR is set for the fist socket and SO_REUSEPORT for the new. Fix the last case. PR: 179901 END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T12:24:58.701850Z K 7 svn:log V 110 Avoid code duplication for mbuf initialization and use m_init() instead in mb_ctor_mbuf() and mb_ctor_pack(). END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T13:15:42.236196Z K 7 svn:log V 693 dd a 24 bits wide ext_flags field to m_ext by reducing ext_type to 8 bits. ext_type is an enumerator and the number of types we have is a mere dozen. A couple of ext_types are renumbered to fit within 8 bits. EXT_VENDOR[1-4] and EXT_EXP[1-4] types for vendor-internal and experimental local mapping. The ext_flags field is currently unused but has a couple of flags already defined for future use. Again vendor and experimental flags are provided for local mapping. EXT_FLAG_BITS is provided for the printf(9) %b identifier. Initialize and copy ext_flags in the relevant mbuf functions. Improve alignment and packing of struct m_ext on 32 and 64 archs by carefully sorting the fields. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T13:34:36.867866Z K 7 svn:log V 543 Make dummynet use new direct callout(9) execution mechanism. Since the only thing done by the dummynet handler is taskqueue_enqueue() call, it doesn't need extra switch to the clock SWI context. On idle system this change in half reduces number of active CPU cycles and wakes up only one CPU from sleep instead of two. I was going to make this change much earlier as part of calloutng project, but waited for better solution with skipping idle ticks to be implemented. Unfortunately with 10.0 release coming it is better get at least this. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-24T13:42:20.195726Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-24T13:49:43.039827Z K 7 svn:log V 195 MFC r254465: Correct implementation of atomic_flag_test_and_set (This is a direct commit to stable/9 as atomic_flag_test_and_set_explicit is an inline function on HEAD and in a different file.) END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-24T13:54:56.633995Z K 7 svn:log V 1513 1) example (partially humorous random_adaptor, that I call "EXAMPLE") * It's not meant to be used in a real system, it's there to show how the basics of how to create interfaces for random_adaptors. Perhaps it should belong in a manual page 2) Move probe.c's functionality in to random_adaptors.c * rename random_ident_hardware() to random_adaptor_choose() 3) Introduce a new way to choose (or select) random_adaptors via tunable "rngs_want" It's a list of comma separated names of adaptors, ordered by preferences. I.e.: rngs_want="yarrow,rdrand" Such setting would cause yarrow to be preferred to rdrand. If neither of them are available (or registered), then system will default to something reasonable (currently yarrow). If yarrow is not present, then we fall back to the adaptor that's first on the list of registered adaptors. 4) Introduce a way where RNGs can play a role of entropy source. This is mostly useful for HW rngs. The way I envision this is that every HW RNG will use this functionality by default. Functionality to disable this is also present. I have an example of how to use this in random_adaptor_example.c (see modload event, and init function) 5) fix kern.random.adaptors from kern.random.adaptors: yarrowpanicblock to kern.random.adaptors: yarrow,panic,block 6) add kern.random.active_adaptor to indicate currently selected adaptor: root@freebsd04:~ # sysctl kern.random.active_adaptor kern.random.active_adaptor: yarrow Submitted by: Arthur Mesh END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-24T13:58:17.679638Z K 7 svn:log V 81 MF9 r254783: Correct implementation of atomic_flag_test_and_set Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-24T14:33:11.034092Z K 7 svn:log V 469 MFS r254728: Pull in r182983 from upstream clang trunk: Fix handling of braced-init-list as reference initializer within aggregate initialization. Previously we would incorrectly require an extra set of braces around such initializers. Pull in r188718 from upstream clang trunk: Handle init lists and _Atomic fields. Fixes PR16931. These fixes are needed for the atomic_flag type to work correctly in our stdatomic.h. Approved by: re END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T14:41:49.481974Z K 7 svn:log V 232 MFprojects/camlock r254460: Remove locking from taskqueue_member(). The list of threads is static during the taskqueue life cycle, so there is no need to protect it, taking quite congested lock several more times for each ZFS I/O. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T14:49:51.373456Z K 7 svn:log V 14 MFC @ r254787 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-24T15:09:05.103854Z K 7 svn:log V 392 Default net.inet.tcp.experimental.initcwnd10 to 0 in releng/9.2. Concerns have been raised regarding enabling initcwnd10 by default in the stable/ branch, so as a cautionary measure, turn this off for the 9.2-RELEASE. This sysctl is still available for those who want to enable this on their own systems. This is a direct commit to releng/9.2. Discussed with: re Approved by: re (marius) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-24T15:33:17.254973Z K 7 svn:log V 414 Import llvm r187614 (git 44c8e34), for lldb's use: Author: Daniel Malea Date: Thu Aug 1 21:18:16 2013 +0000 Fixed the Intel-syntax X86 disassembler to respect the (existing) option for hexadecimal immediates, to match AT&T syntax. This also brings a new option for C-vs-MASM-style hex. Patch by Richard Mitton Reviewed: http://llvm-reviews.chandlerc.com/D1243 END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-08-24T15:41:36.653039Z K 7 svn:log V 55 Include bsd.own.mk before trying to check MK_* values. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T15:47:15.228491Z K 7 svn:log V 73 drm: Call drm_global_init() & drm_global_release() at module load/unload END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-24T16:09:52.688736Z K 7 svn:log V 259 Revert lldb change for Attribute::NoBuiltin NoBuiltin was introduced after clang/llvm 3.3 and thus does not exist in FreeBSD. Thus special handling for the attribute is not needed in lldb. This reverts lldb r186990 (git eebd175) Sponsored by: DARPA, AFRL END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T16:14:20.451787Z K 7 svn:log V 92 drm: Import drm_buffer.[ch] from Linux 3.8-rc3 This will be used by the Radeon KMS driver. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-24T16:17:33.722670Z K 7 svn:log V 55 Update releng/9.2 to -RC3. Approved by: re (implicit) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T16:41:14.842338Z K 7 svn:log V 1571 drm/i915: Import Linux commit 71244653a8fb0f46bc12ae421f1d5f72af6a75da Author: Daniel Vetter Date: Mon Jun 4 18:39:20 2012 +0200 drm/i915: adjusted_mode->clock in the dp mode_fixup ... instead of changing mode->clock, which we should leave as-is. After the previous patch we only touch that if it's a panel, and then adjusted mode->clock equals adjusted_mode->clock. Outside of intel_dp.c we only use ajusted_mode->clock in the mode_set functions. Within intel_dp.c we only use it to calculate the dp dithering and link bw parameters, so that's the only thing we need to fix up. As a temporary ugliness (until the cleanup in the next patch) we pass the adjusted_mode into dp_dither for both parameters (because that one still looks at mode->clock). Note that we do overwrite adjusted_mode->clock with the selected dp link clock, but that only happens after we've calculated everything we need based on the dotclock of the adjusted output configuration. Outside of intel_dp.c only intel_display.c uses adjusted_mode->clock, and that stays the same after this patch (still equals the selected dp link clock). intel_display.c also needs the actual dotclock (as target_clock), but that has been fixed up in the previous patch. v2: Adjust the debug message to also use adjusted_mode->clock. Reviewed-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T16:50:47.630510Z K 7 svn:log V 122 drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks This will be needed by the Radeon KMS driver. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T16:55:53.356356Z K 7 svn:log V 42 drm: Fix leak of connector->edid_blob_ptr END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T16:57:44.277191Z K 7 svn:log V 370 Add an mbuf pointer parameter to (*ext_free) to give the external free function access to the mbuf the external memory was attached to. Mechanically adjust all users to include the mbuf parameter. This fixes a long standing annoyance for external free functions. Before one had to sacrifice one of the argument pointers for this. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T17:14:14.703164Z K 7 svn:log V 96 Remove unnecessary setup of the m->pkthdr.header pointer. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-08-24T17:45:42.082604Z K 7 svn:log V 576 MFC r253651, r253652, r253657; ext2fs: Don't assume that on-disk format of a directory is the same as in ext2_readdir() has always been very fs specific and different with respect to its ufs_ counterpart. Recent changes from UFS have made it possible to share more closely the implementation. Always start parsing at DIRBLKSIZ aligned offset, skip first entries if uio_offset is not DIRBLKSIZ aligned. Return EINVAL if buffer is too small for single entry. Preallocate buffer for cookies. Skip entries with zero inode number. Reviewed by: gleb, Zheng Liu END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-24T19:02:36.066170Z K 7 svn:log V 98 Fix a printf format warning on 32-bit mips and powerpc. Reported by: bde, gjb Pointy hat to: ken END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T19:38:36.738403Z K 7 svn:log V 115 Change local variable tso_segsz to tsosegsz to avoid mbuf.h macro conflicts. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T19:51:18.674375Z K 7 svn:log V 2173 Restructure the mbuf pkthdr to make it fit for upcoming capabilities and features. The changes in particular are: o Remove rarely used "header" pointer and replace it with a 64bit protocol/ layer specific union PH_loc for local use. Protocols can flexibly overlay their own 8 to 64 bit fields to store information while the packet is worked on. o Mechanically convert IP reassembly, IGMP/MLD and ATM to use pkthdr.PH_loc instead of pkthdr.header. o Extend csum_flags to 64bits to allow for additional future offload information to be carried (e.g. iSCSI, IPsec offload, and others). o Move the RSS hash type enumerator from abusing m_flags to its own 8bit rsstype field. Adjust accessor macros. o Add cosqos field to store Class of Service / Quality of Service information with the packet. It is not yet supported in any drivers but allows us to get on par with Cisco/Juniper in routing applications (plus MPLS QoS) with a modernized ALTQ. o Add four 8 bit fields l[2-5]hlen to store the relative header offsets from the start of the packet. This is important for various offload capabilities and to relieve the drivers from having to parse the packet and protocol headers to find out location of checksums and other information. Header parsing in drivers is a lot of copy-paste and unhandled corner cases which we want to avoid. o Add another flexible 64bit union to map various additional persistent packet information, like ether_vtag, tso_segsz and csum fields. Depending on the csum_flags settings some fields may have different usage making it very flexible and adaptable to future capabilities. o Restructure the CSUM flags to better signify their outbound (down the stack) and inbound (up the stack) use. The CSUM flags used to be a bit chaotic and rather poorly documented leading to incorrect use in many places. Bring clarity into their use through better naming. Compatibility mappings are provided to preserve the API. The drivers can be corrected one by one and MFC'd without issue. o The size of pkthdr stays the same at 48/56bytes (32/64bit architectures). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T19:58:36.111257Z K 7 svn:log V 116 Add mtodo(m, o) macro taking an additional offset into the mbuf data section. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-24T20:06:00.105540Z K 7 svn:log V 300 sh: Reject ++ and -- in arithmetic. POSIX does not require ++ and -- in arithmetic. It is probably more useful to reject them than to treat ++x and --x as x silently. Note that the behaviour of increment and decrement can be obtained via (x+=1), ((x+=1)-1), (x-=1) and ((x-=1)+1). PR: bin/176444 END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T20:26:41.402735Z K 7 svn:log V 714 Compact m_hdr by packing the type and flags fields into one uint32_t. The mbuf type is an enumerator with only a handful of types in use and thus reduced from int to 8bits allowing for 255 types to be specified. Only 5 types have been in use for a long time. The flags field gets the remaining 24 bits with 12 bits for global persistent flags and 12 bits for protocol/layer specific overlays. Some of the global flags/functionality can be moved to the csum_flags or ext_flags bits in the future. MT_VENDOR[1-4] and MT_EXP[1-4] types for vendor-internal and experimental local mapping are added. The size of m_hdr shrinks from 24/40 to 20/32bytes (32/64bit architectures). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-24T21:00:39.852978Z K 7 svn:log V 73 Remove some code that has been commented out since it was added in 2000. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2013-08-24T21:04:54.816221Z K 7 svn:log V 576 Do not use "Enable Implied Seek" on enhanced floppy controllers. This breaks the "2step" feature of the driver, e.g. in order to read 360 KiB media on a 1200 KiB drive. As the only potential advantage of implied (vs. explicit) seeks is to minimize the software effort, yet our driver always contained the logic needed for explicit seeks, simply dropping implied seeks is the best solution without introducing risks for new bugs. There is no performance penalty, reading a 1440 KiB medium takes exactly the same time with both, implied or explicit seeks. MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-24T21:07:04.222676Z K 7 svn:log V 302 Remove the kld lock macros and just use the sx(9) API. Add locking in linker_init_kernel_modules() and linker_preload() in order to remove most of the checks for !cold before asserting that the kld lock is held. These routines are invoked by SYSINIT(9), so there's no harm in them taking the kld lock. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-24T21:08:55.135447Z K 7 svn:log V 195 Set things up so that linker_file_lookup_set() is always called with the linker lock held. This makes it possible to call it from a kld event handler with the shared lock held. Reviewed by: jhb END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T21:09:57.848537Z K 7 svn:log V 288 Remove unused m_free_fast(). The difference to m_free() is only 2 predictable branches nowadays. However as a pre-condition the caller had to ensure that the mbuf pkthdr did not have any mtags attached to it, costing some potential branches again. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-24T21:13:38.990040Z K 7 svn:log V 572 Rename the kld_unload event handler to kld_unload_try, and add a new kld_unload event handler which gets invoked after a linker file has been successfully unloaded. The kld_unload and kld_load event handlers are now invoked with the shared linker lock held, while kld_unload_try is invoked with the lock exclusively held. Convert hwpmc(4) to use these event handlers instead of having kern_kldload() and kern_kldunload() invoke hwpmc(4) hooks whenever files are loaded or unloaded. This has no functional effect, but simplifes the linker code somewhat. Reviewed by: jhb END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T21:25:53.446826Z K 7 svn:log V 161 After r254779 "error" must always be present in mb_ctor_pack(), not only when MAC is defined. Reported by: gjb / tinderbox Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-24T21:30:35.052627Z K 7 svn:log V 68 Fix BUGS section after botched modify in r254772. Reported by: bjk END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-24T22:42:19.461308Z K 7 svn:log V 672 Make taskqueue wrapper used for ZFS more SMP-scalable. For some purposes ZFS requests to create taskqueues with number of threads equal to number of CPUs. As result, on 24-core system we may get situation when interoperation between 5 CAM completion threads and 24 ZFS taskqueue threads protected with single global lock. When number of IOPS reaches hundreds of thousands, that causes significant lock congestion. To workaround that, create several FreeBSD taskqueues to emulate single Solaris taskqueue and distribute tasks between them in round-robin fashion. Using 4 taskqueues of 6 threads for the 24-core system almost completely removed spinning on these locks. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T23:38:57.183618Z K 7 svn:log V 110 drm: Import drm_dp_helper.c from Linux 3.8-rc3 While here, update drm_dp_helper.h to better match Linux one. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T23:47:31.569287Z K 7 svn:log V 140 drm: Move definition of EREMOTEIO to drmP.h It will be used by both i915 and radeon drivers. Add ERESTARTSYS definition at the same time. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-24T23:54:06.542569Z K 7 svn:log V 288 drm: Don't delete already deleted iicbus child from drm_iic_dp_aux The iic_dp_aux_detach callback is therefore useless: it's replaced by bus_generic_detach. This fixes a "General protection fault" panic during second (incorrect) deletion of the child. Tested by: kwm@ Reviewed by: ray@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T00:13:53.555943Z K 7 svn:log V 192 drm: Use driver-provided "use_msi" callback to determine if MSI is blacklisted For now, keep the static array for i915. But eventually, it should be moved to a callback in the driver itself. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T00:22:34.600924Z K 7 svn:log V 79 drm: Fix cleanup if device initialization fails This plugs some memory leaks. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T00:34:44.842532Z K 7 svn:log V 193 drm: In drm_mmap_single, try ttm_bo_mmap_single() before drm_gem_mmap_single() In drivers such as the Radeon driver, the DRIVER_GEM features flag is set but TTM is used to mmap buffer object. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-08-25T01:55:14.883009Z K 7 svn:log V 194 Remove the #ifdef OFED from the 20 byte mac in struct llentry. With this change it is now possible to build the entire infiniband stack as modules and load it dynamically including IP over IB. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-25T02:07:28.475836Z K 7 svn:log V 471 Update the MEM_UOP_RETIRED PMC operation for sandy bridge and sandy bridge Xeon. Summary: These are PEBS events but they're also available as normal counter/sample events. The source table (Table 19-2) lists the base versions (LOAD, STLB_MISS, SPLIT, ALL) but it says they must be qualified with other values. This particular commit fleshes out those umask values. Source: * Linux; SDM June 2013, Volume 3B, Table 19-2 and 18-21. Tested: * Sandy Bridge (non-Xeon) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-08-25T06:58:51.788054Z K 7 svn:log V 12 mdoc fixes. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-08-25T06:59:30.278028Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-08-25T07:46:18.406900Z K 7 svn:log V 68 Move daily_status_security_noamd next to 200.chkmounts's variables. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-25T08:42:50.994343Z K 7 svn:log V 174 Bugfix: The endpoint profile should only be checked in device mode when allocating USB transfers and not in host mode. Reported by: George Mitchell END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-08-25T08:56:09.196804Z K 7 svn:log V 165 Export a PERIODIC environment variable from periodic(8). This will allow periodic security scripts to know if they have been called in a daily or a weekly context. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T09:40:15.906974Z K 7 svn:log V 75 Adjust socow_iodone() after r254799. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T09:41:37.832751Z K 7 svn:log V 96 Remove unnecessary setup of the m->pkthdr.header pointer. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T09:45:26.090974Z K 7 svn:log V 149 Change m->pkthdr.header to m->pkthdr.PH_loc.ptr after r254804 to transiently store pointers to packet headers. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T09:46:03.627898Z K 7 svn:log V 829 drm: Import Linux commit cd004b3f4cd4169815c82bf9e424fda06978898a Author: Shirish S Date: Thu Aug 30 07:04:06 2012 +0000 drm: edid: add support for E-DDC The current logic for probing ddc is limited to 2 blocks (256 bytes), this patch adds support for the 4 block (512) data. To do this, a single 8-bit segment index is passed to the display via the I2C address 30h. Data from the selected segment is then immediately read via the regular DDC2 address using a repeated I2C 'START' signal. Signed-off-by: Shirish S Reviewed-by: Jean Delvare Reviewed-by: Daniel Vetter Reviewed-by: Ville Syrjala Signed-off-by: Dave Airlie END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T09:49:00.719155Z K 7 svn:log V 156 For now limit printf(9) %x of the 64bit pkthdr.csum_flags field to 32bits. The upper 32bits are not occupied for now. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T09:53:00.073237Z K 7 svn:log V 55 drm: Fix typo in KASSERT message: s/Dandling/Dangling/ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T09:58:31.630189Z K 7 svn:log V 96 drm: Support gem_open_object() and gem_close_object() callbacks ... in struct drm_driver_info. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T10:01:59.900005Z K 7 svn:log V 156 drm: Call "gem_close_object" driver callback from drm_gem_object_release_handle() This fixes leakage of "bo_va" for Cayman and following card generations. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T10:04:10.248955Z K 7 svn:log V 111 drm: In drm_gem_name_create(), verify argument before acquiring lock Submitted by: J.R. Oldroyd END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-25T10:08:58.553597Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T10:13:23.147878Z K 7 svn:log V 53 drm: Use DRM_IF_MAJOR & DRM_IF_MINOR from drm_core.h END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T10:28:02.005975Z K 7 svn:log V 50 drm: Import list_for_each_entry_safe_from() macro END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T10:57:09.436190Z K 7 svn:log V 234 Give (*ext_free) an int return value allowing for very sophisticated external mbuf buffer management capabilities in the future. For now only EXT_FREE_OK is defined with current legacy behavior. Sponsored by: The FreeBSD Foundation END