ƒ¯)242391 187 1093 354 1331 149 1206 191 417 113 114 177 507 422 307 299 207 323 199 529 203 245 153 190 232 151 197 161 576 219 413 337 1538 389 420 471 588 609 109 110 174 232 177 330 734 690 126 129 159 492 315 183 140 242 145 151 203 258 187 157 224 114 179 335 380 300 175 240 240 146 235 170 195 487 377 452 206 178 419 115 146 142 205 269 934 322 249 1046 495 634 217 231 121 250 172 130 129 156 168 183 182 331 164 401 104 123 259 154 454 345 143 315 201 115 101 132 107 158 152 292 320 153 179 152 105 551 797 194 443 370 188 1050 119 431 218 144 269 693 174 430 230 373 441 345 106 267 234 275 247 247 247 123 194 187 187 187 107 217 116 141 216 119 141 411 347 166 166 202 154 154 185 184 169 175 169 169 344 264 444 337 263 200 202 282 167 300 430 200 360 K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T06:27:58.843830Z K 7 svn:log V 997 I give up - introduce a TX lock to serialise TX operations. I've tried serialising TX using queues and such but unfortunately due to how this interacts with the locking going on elsewhere in the networking stack, the TX task gets delayed, resulting in quite a noticable throughput loss: * baseline TCP for 2x2 11n HT40 is ~ 170mbit/sec; * TCP for TX task in the ath taskq, with the RX also going on - 80mbit/sec; * TCP for TX task in a separate, second taskq - 100mbit/sec. So for now I'm going with the Linux wireless stack approach - lock tx early. The linux code does in the wireless stack, before the 802.11 state stuff happens and before it's punted to the driver. But TX locking needs to also occur at the driver layer as the TX completion code _also_ begins to drain the ifnet TX queue. Whilst I'm here, add some KTR traces for the TX path. Note: * This really should be done at the net80211 layer (as well, at least.) But that'll have to wait for a little more thought to happen. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T06:35:50.023187Z K 7 svn:log V 258 I've had some feedback that CCK rates are more reliable than MCS 0 in some very degenerate conditions. However, until ath_rate_form_aggr() is taught to not form aggregates if ANY selected rate is non-MCS, this can't yet be enabled. So, just add a comment. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-10-31T07:57:49.037097Z K 7 svn:log V 1237 MFC r242007: Pull in r165367 from upstream llvm trunk: Make sure always-inline functions get inlined. Without this change, when the estimated cost for inlining a function with an "alwaysinline" attribute was lower than the inlining threshold, the getInlineCost function was returning that estimated cost rather than the special InlineCost::AlwaysInlineCost value. That is fine in the normal inlining case, but it can fail when the inliner considers the opportunity cost of inlining into an internal or linkonce-odr function. It may decide not to inline the always-inline function in that case. The fix here is just to make getInlineCost always return the special value for always-inline functions. I ran into this building clang with libc++. Tablegen failed to link because of an always-inline function that was not inlined. I have been unable to reduce the testcase down to a reasonable size. This should fix the link errors that were reported when atf-run was compiled with clang -stdlib=libc++. In this case, at -O3 optimization, some calls to basic_ios::clear() were not inlined, even when the function was marked __always_inline__. Reported by: Jan Beich END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-10-31T08:25:45.077280Z K 7 svn:log V 54 Merge r242125 into the other ARMv6 copies of initarm. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-31T13:38:56.377168Z K 7 svn:log V 1108 Give mtx(9) the ability to crunch different type of structures, with the only constraint that they have a lock cookie named mtx_lock. This name, then, becames reserved from the struct that wants to use the mtx(9) KPI and other locking primitives cannot reuse it for their members. Namely such structs are the current struct mtx and the new struct mtx_padalign. The new structure will define an object which is the same as the same layout of a struct mtx but will be allocated in areas aligned to the cache line size and will be as big as a cache line. This is supposed to give higher performance for highly contented mutexes both spin or sleep (because of the adaptive spinning), where the cache line contention results in too much traffic on the system bus. The struct mtx_padalign can be used in a completely transparent way with the mtx(9) KPI. At the moment, a possibility to MFC the patch should be carefully evaluated because this patch breaks the low level KPI (not its representation though). Discussed with: jhb Reviewed by: jeff, andre Reviewed by: mdf (earlier version) Tested by: jimharris END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-10-31T13:52:03.842825Z K 7 svn:log V 97 Genericise the (out of date) instructions from moving from stable to current. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-31T14:02:51.096028Z K 7 svn:log V 324 MFC r242011: Dirty the newly copied anonymous pages after the wired region is forked. Otherwise, pagedaemon might reclaim the page without saving its content into the swap file, resulting in the valid content replaced by zeroes. MFC r242012: Commit the actual text provided by Alan, instead of the wrong update in r242011. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-10-31T15:04:27.447624Z K 7 svn:log V 21 Correct attribution. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-10-31T17:00:36.758116Z K 7 svn:log V 23 MFC r238652: style(9). END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-10-31T17:01:56.651011Z K 7 svn:log V 86 MFC r238653: Use proper error message when fstat(2) fails on stdout. PR: bin/159746 END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-31T17:12:12.920385Z K 7 svn:log V 408 Pad and align the callout_cpu mtx to its own cacheline to reduce false sharing especially on the default CPU 0 callout_cpu structure. This will be followed up by attilio@ with a conversion to the new struct mtx_padalign but doing this manual conversion first gives an easy MFC candidate since mtx_padalign is a more extensive system change. Sponsored by: Intel Reviewed by: jeff, attilio MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-31T18:07:18.445640Z K 7 svn:log V 325 Rework the known mutexes to benefit about staying on their own cache line in order to avoid manual frobbing but using struct mtx_padalign. The sole exception being nvme and sxfge drivers, where the author redefined CACHE_LINE_SIZE manually, so they need to be analyzed and dealt with separately. Reviwed by: jimharris, alc END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-10-31T18:16:42.197129Z K 7 svn:log V 214 Correct code that was lost somewhere in the past, this was designed to keep duplicate null vlan tags from being added. When doing vlans purely via the switch this problem will occur. Reported by external customer. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-10-31T19:17:55.670264Z K 7 svn:log V 203 Change the thread name of the vCPU threads to contain the name of the VM and the vCPU number. This helps hugely when using top -H to identify what a VM is doing. Reviewed by: neel Obtained from: NetApp END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-10-31T20:51:41.789918Z K 7 svn:log V 112 Be more relaxed about quoting by being observant of POSIX, rather than our sh's behaviour Submitted by: jilles END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T20:58:24.362919Z K 7 svn:log V 227 Add the emulation PCI device id - these days, 0xabcd shows up all over the internet as "AR9380 and later which didn't get its PCI ID written in at power-on", so it's hardly an unknown constant. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T21:00:01.294847Z K 7 svn:log V 103 Add in the last random assortment of missing bits for the AR9380 HAL. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T21:03:55.718090Z K 7 svn:log V 433 HAL updates! * Add some more ANI spur immunity levels. * For AR5111 radios attached to an AR5212, limit the 5GHz channels that are available. A later revision of the AR5111 supports the 4.9GHz PSB channels but right now there's no check in place for the radio revision. If someone wants PSB support on AR5212+AR5111 radios then please let me know and I'll add the relevant version check. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T21:04:23.985431Z K 7 svn:log V 107 Oops - missing from the last commit - add ANI immunity levels for AR9160. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-10-31T21:05:18.255664Z K 7 svn:log V 149 Move debug printing to console to the console driver. This should go away or become a compile time option eventually. Approved by: gibbs (implicit) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T21:06:55.829289Z K 7 svn:log V 58 Oops - this was incorrectly removed in a previous commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-31T21:14:25.211322Z K 7 svn:log V 95 Since the PLL changes aren't in here yet for the AR9130 half/quarter rate support, disable it. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-10-31T21:21:08.045119Z K 7 svn:log V 136 man4 MFC r227652 and r230450 man pages were missed in the MFC of virtio(4) to stable/9 r233648 needs to be applied as well as r241470 END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-10-31T21:24:31.281609Z K 7 svn:log V 56 Obtain kernel boot parameters and environment from xen. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-10-31T21:27:15.313614Z K 7 svn:log V 101 Align the kernel stack to 16 bytes, and notify Xen of our kernel %rsp Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-10-31T22:02:48.960640Z K 7 svn:log V 66 Tell the loader about BSD symbols. Approved by: gibbs (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-31T22:11:51.178459Z K 7 svn:log V 483 ASUS EeePC 1001px has strange variant of ALC269 CODEC, that mutes speaker if unused in that configuration mixer at NID 15 is muted. Probably CODEC incorrectly reports its internal connections. Hide that muter from the driver to avoid muting and make built-in speaker work. There are several different CODECs sharing this ID and I have not enough information about them and the bug to implement more universal solution. Tested by: Big Yuuta MFC after: 2 weeks END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-10-31T22:16:08.057943Z K 7 svn:log V 123 Fetch %cr2 from xen via the shared page save it on the stack frame before trap() is called. Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-10-31T22:21:33.107349Z K 7 svn:log V 317 - Make KASSERTS() squeal about current function. - implement vtopte() to query the page table hierarchy via mmu_map.c - implement pmap_qremove() trivially by wrapping over pmap_kremove - when the page table hierarchy cache is purged (unlikely event), mark the returned pages r/w before returning them back to the VM. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-31T23:44:19.751076Z K 7 svn:log V 238 Use callout_reset_curcpu to allow the callout to be handled by the current CPU and not always CPU 0. This has the added benefit of reducing a huge amount of spinlock contention on the callout_cpu spinlock for CPU 0. Sponsored by: Intel END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-10-31T23:50:36.137489Z K 7 svn:log V 1444 A few important fixes: - Testing TSO6 has led me to discover that HW RSC is a problematic feature, it is ONLY designed to work with IPv4 in the first place, and if IP forwarding is done it can't be disabled as LRO in the stack, also initial testing we've done at Intel shows an equal performance using TSO[46] on the TX and LRO on RX, if you ran older code on 82599 or later hardware you actually could have detrimental performance for this reason. So I am disabling the feature by default and all our adapters will now use LRO instead. - If you have flow control off and multiple queues it was possible when the buffer of one queue becomes full that all RX movement is stalled, to eliminate this problem a feature bit is now set that will allow packets to be dropped when full rather than stall. Note, the default is to have flow control on, and this keeps this from happening. - Because of the recent fixes in the stack, LRO is now auto-disabled when problematic, so I have decided to enable it by default in the capabilities in the driver. - There are some 1G modules used by some customers, a couple small tweaks to properly support those in the media code. - A note: we have now done some testing of TSO6 and using LRO with IPv6 and it all works great!! Seeing line rate in both directions in best cases. Thanks bz for your excellent work!! END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-01T00:09:01.514819Z K 7 svn:log V 296 Only four specific ATA PIO commands transfer several sectors per DRQ block (interrupt). All other ATA PIO commands transfer one sector or 512 bytes at one time. Hardcode these exceptions in ata(4) with ATA_CAM option. This fixes timeout of READ LOG EXT command used by `smartctl -x /dev/adaX`. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-11-01T03:45:33.967808Z K 7 svn:log V 322 Handle the management port on the EBT5600 and disable loopback. The XAUI port connected to the Broadcom switch does not seem operable, but it's unclear if that's simply due to a lack of configuration information for the switch. The switch does not seem to present any identifying information via MDIO, and is a BCM56512. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T04:07:08.403982Z K 7 svn:log V 375 Small textdump enhancements. Allow textdumps to be called explicitly from DDB. If "dump" is called in DDB and textdumps are enabled then abort the dump and tell the user to turn off textdumps. Add options TEXTDUMP_PREFERRED to turn textdumps on by default. Add options TEXTDUMP_VERBOSE to be a bit more verbose while textdumping. Reviewed by: rwatson MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-01T05:39:21.299401Z K 7 svn:log V 491 Remove TCP/UDP checksum offloading feature for IP fragmented datagrams. Traditionally upper stack fragmented packets without computing TCP/UDP checksum and these datagrams were passed to driver. But there are chances that other packets slip into the interface queue in SMP world. If this happens firmware running on MIPS 4000 processor in the controller would see mixed packets and it shall send out corrupted packets. While I'm here simplify checksum offloading setup. MFC After: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-01T06:02:27.191860Z K 7 svn:log V 512 TCP/UDP checksum offloading feature for IP fragmented datagram was removed in r99417. bge(4) controllers can do TCP checksum offload for IP fragmented datagrams but unlike ti(4), it lacks UDP checksum offloading for IP fragmented datagrams. The problem was bge(4) blindly requested TCP/UDP checksum for IP fragmented datagrams such that it resulted in corrupted UDP datagrams before r99417. Remove remaining code for TCP checksum offloading for IP fragmented datagrams which should have been removed in r99417. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-01T07:51:50.782875Z K 7 svn:log V 16 Minor mdoc fix. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-01T07:53:21.674961Z K 7 svn:log V 17 Nuke whitespace. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-01T09:38:28.526883Z K 7 svn:log V 79 fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC". MFC after: 1 week END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-11-01T11:38:34.347761Z K 7 svn:log V 137 - Portability changes for ARM - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-11-01T12:26:31.516976Z K 7 svn:log V 82 Fix build for SMP. Submitted by: Giovanni Trematerra END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-01T15:14:37.215826Z K 7 svn:log V 237 Provide the reading and display of the Standard Extended Features, introduced with the IvyBridge CPUs. Provide the definitions for new bits in CR3 and CR4 registers. Tested by: avg, Michael Moll MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-01T15:17:43.888742Z K 7 svn:log V 641 Enable the new instructions for reading and writing bases for %fs, %gs, when supported. Note that WRFSBASE and WRGSBASE are not very useful on FreeBSD right now, because a return from the kernel mode to userspace reloads the bases specified by the sysarch(2) syscall, most likely. Enable the Supervisor Mode Execution Prevention (SMEP) when supported. Since the loader(8) performs hand-off to the kernel with the page tables which contradict the SMEP, postpone enabling the SMEP on BSP until pmap switched for the proper kernel tables. Debugged with the help from: avg Tested by: avg, Michael Moll MFC after: 1 month END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-11-01T16:20:02.860187Z K 7 svn:log V 597 In general, we call pmap_remove_all() before calling vm_page_cache(). So, the call to pmap_remove_all() within vm_page_cache() is usually redundant. This change eliminates that call to pmap_remove_all() and introduces a call to pmap_remove_all() before vm_page_cache() in the one place where it didn't already exist. When iterating over a paging queue, if the object containing the current page has a zero reference count, then the page can't have any managed mappings. So, a call to pmap_remove_all() is pointless. Change a panic() call in vm_page_cache() to a KASSERT(). MFC after: 6 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-01T16:39:01.894757Z K 7 svn:log V 29 Add missing inclusion guard. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T16:49:45.147470Z K 7 svn:log V 34 Some space for my -stable branch. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T16:52:00.158626Z K 7 svn:log V 64 Place to hold/test my -stable contributions pre-MFC/pre-commit. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-01T16:54:26.160880Z K 7 svn:log V 394 Export all mixer nodes into dev.pcm.X.mixer.Y sysctl nodes, hence the PCM API doesn't support showing all the knobs. Make sure all the USB audio mixer nodes are freed at detach. Before this patch USB audio would leak some memory at detach. Print out buffer sizes in number of samples at attach. Fix setting of volume controls when the number of channels is greater than two. MFC after: 1 week END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:01:05.197672Z K 7 svn:log V 219 Provide a device name in the sysctl tree for programs to query the state of crashdump target devices. This will be used to add a "-l" (ell) flag to dumpon(8) to list the currently configured dumpdev. Reviewed by: phk END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:13:04.601959Z K 7 svn:log V 88 Add whitespace between mandatory and optional kernel config options. Approved by: joel END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-01T17:17:05.893236Z K 7 svn:log V 47 Sort textdump options list. Submitted by: bde END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:19:07.117023Z K 7 svn:log V 146 Merge textdump enhancements from head. svn merge -c 242424,242427,242428,242440 ^/head/share svn merge -c 242424,242427,242428,242440 ^/head/sys END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:22:41.293247Z K 7 svn:log V 50 Merge r242029: scale maxusers past 384 for mbufs. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:27:33.137908Z K 7 svn:log V 56 Merge 242030, show number of times we blocked on mbufs. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:30:33.001524Z K 7 svn:log V 107 This merge was done incorrectly under "share", back it out. It should have been done under share/man/man9. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:33:52.561356Z K 7 svn:log V 162 re-do: Merge textdump enhancements from head. svn merge -c 242424,242427,242428,242440 ^/head/share/man/man4 svn merge -c 242424,242427,242428,242440 ^/head/sys END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:36:33.695710Z K 7 svn:log V 92 merge more fixes for my textdump manual changes. svn merge -c 242441 ^/head/share/man/man4 END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T17:38:04.928837Z K 7 svn:log V 62 MFC: Show dumpdev via sysctl. svn merge -c 242439 ^/head/sys END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T18:51:11.197093Z K 7 svn:log V 128 Add -l option to dumpon(8). Show which dumpdev is currently enabled. When dumps are disabled show _PATH_DEVNULL ("/dev/null"). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T18:55:17.401446Z K 7 svn:log V 19 document dumpon -l END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-01T18:59:19.696852Z K 7 svn:log V 84 Add an option to display the current dump device via dumpon -l. MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-01T19:38:03.694042Z K 7 svn:log V 239 The test fails with "exit 1" if /usr/games/fortune doesn't actually exist. Fix that. PR: conf/71994 Submitted by: Mikael Eklund Reviewed by: crees Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-01T20:09:48.079339Z K 7 svn:log V 282 Fix sysctl free bug in last commit, which eventually leads to a panic. Add software mixer table for FastTrack Ultra. Only set volume controls which are valid at startup for standard USB audio devices, so that settings like treble and bass use the reset defaults. MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-11-01T20:39:39.776688Z K 7 svn:log V 202 Don't disable PCIe just because the host is not a PCI host; the latter flag only applies to non-PCIe systems. If PCIe is in target mode, it will simply and gracefully fail to attach of its own accord. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-01T20:43:23.964020Z K 7 svn:log V 78 Increase default volume for FastTracker playback channels. MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-11-01T20:46:48.370136Z K 7 svn:log V 141 MFC r242085: For PCI Express capability, if max link width is greater than zero, print the current and max link speed. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-11-01T20:47:18.458297Z K 7 svn:log V 141 MFC r242085: For PCI Express capability, if max link width is greater than zero, print the current and max link speed. Sponsored by: Intel END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-01T20:58:55.578302Z K 7 svn:log V 49 Correct buffer size printout. MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-11-01T21:00:13.906928Z K 7 svn:log V 136 Add descriptions for callout_reset_on and callout_schedule_on and their curcpu variants. Discussed with: mav, davide MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-01T22:47:42.183831Z K 7 svn:log V 75 fopen(3): Mention that the "x" mode option is from C11. MFC after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-11-01T22:51:44.425206Z K 7 svn:log V 102 Create a repository for the Efika MX porting project. ARM Cortex-A8 based laptop and smarttop devices END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-02T00:17:30.219465Z K 7 svn:log V 391 10 years too late add support for "2.88MB 3.5in Extra High Density" floppies. Its unlikely that anyone actually uses these or cares about these anymore, since we support other floppy types and this change doesn't hurt - just add it. PR: conf/40777 Submitted by: Antti Kantee Arrival-Date: Fri Jul 19 08:50:02 PDT 2002 Approved by: cperciva (implicit) MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-11-02T01:20:55.836675Z K 7 svn:log V 285 Remove the recently added sysctl variable net.pfil.forward. Instead, add protocol specific mbuf flags M_IP_NEXTHOP and M_IP6_NEXTHOP. Use them to indicate that the mbuf's chain contains the PACKET_TAG_IPFORWARD tag. And do a tag lookup only when this flag is set. Suggested by: andre END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-11-02T01:32:22.233359Z K 7 svn:log V 357 MFC r225191: Delay the recursive decrement of pr_uref when jails are made invisible but not removed; decrement it instead when the child jail actually goes away. This avoids letting the counter go below zero in the case where dying (pr_uref==0) jails are "resurrected", and an associated KASSERT panic. PR: kern/173120 Submitted by: Steven Hartland END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-02T05:22:32.301961Z K 7 svn:log V 110 Free the dma map -after- it's checked, not before. Or you'll be potentially referencing already-freed memory. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-02T05:23:05.283896Z K 7 svn:log V 83 Drop this from 500 to 128, to save a little space on memory constrained platforms. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-02T05:26:33.346387Z K 7 svn:log V 322 - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi to all supported debugging bits. - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag to zero. DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM or if kernel config has 'options DEBUG_DRM'. Reviewed by: kib END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-11-02T07:36:16.940155Z K 7 svn:log V 21 o OpenBSD 5.2 added. END K 10 svn:author V 6 philip K 8 svn:date V 27 2012-11-02T10:51:48.951599Z K 7 svn:log V 51 Import a recent snapshot of the PCI ID Repository. END K 10 svn:author V 6 philip K 8 svn:date V 27 2012-11-02T10:53:42.969435Z K 7 svn:log V 47 Tag current snapshot of the PCI ID Repository. END K 10 svn:author V 6 philip K 8 svn:date V 27 2012-11-02T11:13:44.812171Z K 7 svn:log V 109 MFV pciids-20121024, r242469 Update to use the latest version of the PCI IDs Repository. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-02T12:18:38.358074Z K 7 svn:log V 176 Fix broken macro checking in the libc++ Makefile, introduced in r241909. This caused -std=c++0x not to be passed to the build by default. Pointy hat to: dim MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-02T13:43:17.288136Z K 7 svn:log V 839 Merge ixgbe_tx_ctx_setup() and ixgbe_tso_setup() together into ixgbe_offload_setup() as they have a large overlap in packet inspection and variables. Add UDP fragmentation offload functionality as well. Also the driver can assume that the necessary headers for the activated offload functions are contiguously present in the first mbuf. This assumption is not formalized yet but significantly simplify the driver code. The upper layers of the stack adhere to this assumption as well. We leave enough leading space in the mbufs to prepend all registered (max_linkhdr) encapsulations. There may be misbehaving packet transformations that have to be fixed. Assertion functions have to be provided as well. This change is not tested yet because I lack the hardware. This change translates well to other driver with a similar structure. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-02T13:51:47.189141Z K 7 svn:log V 225 Remove separate paragraph on ASCII messages and instead provide this information along with messages documentation, like this done in manual pages for other netgraph nodes. Submitted by: Mamontov Roman END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-02T13:54:06.789559Z K 7 svn:log V 152 - Fix struct and struct fields names. - Remove NGM_ATM_CARRIER_CHANGE, which was removed in r118175. Submitted by: Mamontov Roman END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-02T13:56:36.028528Z K 7 svn:log V 953 The r241025 fixed the case when a binary, executed from nullfs mount, was still possible to open for write from the lower filesystem. There is a symmetric situation where the binary could already has file descriptors opened for write, but it can be executed from the nullfs overlay. Handle the issue by passing one v_writecount reference to the lower vnode if nullfs vnode has non-zero v_writecount. Note that only one write reference can be donated, since nullfs only keeps one use reference on the lower vnode. Always use the lower vnode v_writecount for the checks. Introduce the VOP_GET_WRITECOUNT to read v_writecount, which is currently always bypassed to the lower vnode, and VOP_ADD_WRITECOUNT to manipulate the v_writecount value, which manages a single bypass reference to the lower vnode. Caling the VOPs instead of directly accessing v_writecount provide the fix described in the previous paragraph. Tested by: pho MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-02T14:16:09.982527Z K 7 svn:log V 402 MFC r236137: Enable gnu hash generation for dynamic ELF binaries on x86. MFC r236329 (by marius): Merge r236137 from x86: Enable GNU hash generation for dynamic ELF binaries. While at it, sync the order of options with x86 and pass along the verbose flag. MFC r237099 (by marius): Merge r236137 from x86: Enable GNU hash generation for dynamic ELF binaries. MFC discussed with: kan (some time ago) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-02T14:18:30.923241Z K 7 svn:log V 541 MFC r238472: Pass --enable-new-dtags to the linker invocation by default. If desired, one can turn off the generation of post-ELF standard dtags by overriding it with --disable-new-dtags after the default switch. Immediate effect of the change is that -rpath path is now stored both in DT_RPATH and DT_RUNPATH tags, which is the right way to provide rpath for dynamic linker supporting DT_RUNPATH per specification. Note that rtld on stable/9 interprets DT_RPATH the same as DT_RUNPATH by default. MFC discussed with: kan (some time ago) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-11-02T14:37:21.201519Z K 7 svn:log V 121 Don't allow for more than one segment for the control space since we're not set up to deal with that. MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-11-02T14:38:57.871206Z K 7 svn:log V 135 Don't allow for more than one segment for the control space since we're not set up to deal with that. X-MFC: 242479 MFC after: 1 week END K 10 svn:author V 7 antoine K 8 svn:date V 27 2012-11-02T15:06:01.109925Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-02T16:07:21.454142Z K 7 svn:log V 154 kdump: Also decode fcntl commands containing underscores and digits. The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not decoded. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-02T16:31:01.363563Z K 7 svn:log V 76 Tweak comment to make more clear why it will fail. Submitted by: jimharris END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-02T16:54:12.101360Z K 7 svn:log V 34 MFC r241231: MFV: libpcap 1.3.0. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-02T16:57:51.843601Z K 7 svn:log V 33 MFC r241235: MFV tcpdump 4.3.0. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-02T17:30:08.471192Z K 7 svn:log V 61 Document that you can use -v along with -l. Noticed by: pjd END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-02T17:31:27.583748Z K 7 svn:log V 73 Document -v with -l. MFC: 242486 svn merge -c 242486 ^/head/sbin/dumpon END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-02T18:54:10.411608Z K 7 svn:log V 88 Optimize sysctl, better strlcpy test. Submitted by: Eric van Gyzen END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-02T18:57:38.320007Z K 7 svn:log V 87 Merge 242488, better use of strlcpy. Submitted by: Eric van Gyzen END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-11-02T20:23:41.544318Z K 7 svn:log V 235 Since the current pmap implementation does not use DMAP, we need to special case XEN related msgbuf pages, to be pmap_map()ed to relevant kernel virtual addresses before registering them in the dump map. Approved by: gibbs (implicit) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-02T20:36:41.524796Z K 7 svn:log V 69 Merge from stable, nfs export tmpfs. svn merge -c 234346 ^/head/sys END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-11-02T21:04:06.271725Z K 7 svn:log V 307 - In cancel_mkdir_dotdot don't panic if the inodedep is not available. If the previous diradd had already finished it could have been reclaimed already. This would only happen under heavy dependency pressure. Reported by: Andrey Zonov Discussed with: mckusick MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-02T21:07:30.478205Z K 7 svn:log V 10 Spelling. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-02T21:11:56.180926Z K 7 svn:log V 29 Integrate from HEAD @242493. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-02T21:47:21.775161Z K 7 svn:log V 165 A few minor adjustments after r242424: - Sort entries in SYNOPSIS. - Start sentence on a new line. - Remove redundant textdump dump description. Submitted by: bde END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-11-02T22:03:39.282932Z K 7 svn:log V 56 Update nsamples and nbuffers defaults to match reality. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-02T22:07:45.263239Z K 7 svn:log V 357 Copy code from scsi_read_write() as mfi_build_syspd_cdb() to build SCSI command properly. Without this change, mfi(4) always sends 10 byte READ and WRITE commands, which will cause data corruption when device is larger than 2^32 sectors. PR: kern/173291 Submitted by: Steven Hartland Reviewed by: mav MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-02T22:17:10.364369Z K 7 svn:log V 250 Reintroduce the SACK required test in syncache_expand() but make it non-fatal and for informative logging only. This way a better overview of real-world behavior can be gained. A previous version of this change slipped into an integrate from head. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-02T22:32:47.279631Z K 7 svn:log V 50 Add a couple of examples. Obtained from: OpenBSD END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-11-02T23:25:52.933548Z K 7 svn:log V 219 MFC r241710 est(4) man page update to document the exposed sysctl r/o variables available to the user. Should be applicable to all branches and versions where est(4) exists. MFC r241727 Fix minor whitespace issues. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-03T00:10:30.526626Z K 7 svn:log V 108 If no contents keyword is specified, the default for files is the named file. Approved by: marcel (mentor) END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-11-03T00:14:17.158137Z K 7 svn:log V 20 MFC as per r242500. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-03T00:30:22.262351Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-03T01:17:41.903184Z K 7 svn:log V 40 Cleanup bunch of extra spaces and tabs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-03T01:40:05.639419Z K 7 svn:log V 15 Fix the build. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-03T04:28:53.034943Z K 7 svn:log V 62 Sync strlen with userland implementation. MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-03T04:29:24.934319Z K 7 svn:log V 56 Sync strlcpy with userland version. MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-03T04:53:44.755318Z K 7 svn:log V 196 Add a debug method to dump the EDMA TX status descriptor contents out. This requires some HAL API changes to be useful, as there's no way right now to pull out the TX status descriptor contents. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-03T04:55:43.478167Z K 7 svn:log V 224 HAL API changes! * introduce a new HAL API method to pull out the TX status descriptor contents. * Add num_delims to the 11n first aggr method. This isn't used by the driver at the moment so it won't affect anything. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-03T04:56:08.164850Z K 7 svn:log V 58 HAL API updates, from the previous couple of HAL commits. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-11-03T09:18:37.940907Z K 7 svn:log V 88 Print a newline after the error message. PR: bin/168447 Submitted by: Boris Kochergin END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-11-03T13:22:25.852055Z K 7 svn:log V 57 Fix errno in a couple of error cases. MFC after: 3 days END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-11-03T13:29:18.532019Z K 7 svn:log V 13 MFC @r242511 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-03T14:46:15.671460Z K 7 svn:log V 455 Revert the change that makes less default. Since I've committed this I've receieved roughly an equal amount of email thanking me for making this change and asking me to revert it. I've resisted making this change because new users tend to prefer less over more and these users are the least likely to know how to change the PAGER on their own. Requested by: many Objected to: just as many Decision made by: core Approved by: cperciva MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-03T15:57:37.074527Z K 7 svn:log V 700 Merge r242395,242483 from mutex implementation: give rwlock(9) the ability to crunch different type of structures, with the only constraint that they have a lock cookie named rw_lock. This name, then, becames reserved from the struct that wants to use the rwlock(9) KPI and other locking primitives cannot reuse it for their members. Namely such structs are the current struct rwlock and the new struct rwlock_padalign. The new structure will define an object which has the same layout of a struct rwlock but will be allocated in areas aligned to the cache line size and will be as big as a cache line. For further details check comments on above mentioned revisions. Reviewed by: jimharris, jeff END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-11-03T16:06:14.957467Z K 7 svn:log V 99 MFC r242202: The fields of struct timespec32 should be int32_t and not uint32_t. Make this change. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-03T17:49:04.805990Z K 7 svn:log V 348 Fix a race on listen socket teardown where while draining the accept queues a new socket/connection may be added to the queue due to a race on the ACCEPT_LOCK. The submitted patch is slightly changed in comments, teardown and locking order and extended with KASSERT's. Submitted by: Vijay Singh Found by: His team. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-11-03T18:21:32.610982Z K 7 svn:log V 274 Welcome Bryan Venteicher to the ranks of src committers. Bryan will be continuing work on the virtio drivers and infrastructure that he contributed to FreeBSD, and will also be looking at the GEOM/CAN and networking stack. Bryan's mentor will be grehan@ Approved by: core END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-03T18:38:28.263386Z K 7 svn:log V 92 Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency. MFC after: 2 weeks END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2012-11-03T18:55:55.968496Z K 7 svn:log V 952 When a file is first being written, the dynamic block reallocation (implemented by ffs_reallocblks_ufs[12]) relocates the file's blocks so as to cluster them together into a contiguous set of blocks on the disk. When the cluster crosses the boundary into the first indirect block, the first indirect block is initially allocated in a position immediately following the last direct block. Block reallocation would usually destroy locality by moving the indirect block out of the way to keep the data blocks contiguous. This change compensates for this problem by noting that the first indirect block should be left immediately following the last direct block. It then tries to start a new cluster of contiguous blocks (referenced by the indirect block) immediately following the indirect block. We should also do this for other indirect block boundaries, but it is only important for the first one. Suggested by: Bruce Evans MFC: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-11-03T19:26:08.940593Z K 7 svn:log V 25 o DragonFly 2.3.1 added. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-03T20:43:12.914260Z K 7 svn:log V 335 Add the buildLINT convenience target, handy for build automation. The automation can set TARGET_ARCH and TARGET and then make various top-level targets, including buildLINT and buildkernel (with KERNCONF=LINT). Previously there was no way to generate the LINT kernel configuration without having to do something exceptionally painful. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-03T21:05:32.340551Z K 7 svn:log V 122 Allow using the embedded EHCI host controller in Freescale SoCs by adding the missing bits. See ehci_fsl.c for their use. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-03T21:08:27.162241Z K 7 svn:log V 49 Add the bus attachment for the embedded EHCI HC. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-03T21:20:55.513923Z K 7 svn:log V 173 Add a MD_ROOT_FSTYPE kernel option. The option specifies the file system part for the MD_ROOT mount string. Hardcoding the the file system type as "ufs" is too restrictive. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-03T22:02:12.649085Z K 7 svn:log V 597 1. Have the APs initialize the TLB1 entries from what has been programmed on the BSP during (early) boot. This makes sure that the APs get configured the same as the BSP, irrspective of how FreeBSD was loaded. 2. Make sure to flush the dcache after writing the TLB1 entries to the boot page. The APs aren't part of the coherency domain just yet. 3. Set pmap_bootstrapped after calling pmap_bootstrap(). The FDT code now maps the devices (like OF), and this resulted in a panic. 4. Since we pre-wire the CCSR, make sure not to map chunks of it in pmap_mapdev(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-03T22:12:35.683689Z K 7 svn:log V 79 Add a new HAL call to extract out the HAL enterprise bits from the AR9300 HAL. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-03T22:13:42.589141Z K 7 svn:log V 334 For AR9380 NICs - the non-enterprise versions don't support RTS protection of small (< 256 byte) aggregate frames. This needs to be done or 11n aggregation TX just simply doesn't work on these NICs. Whilst here, extend some debug printing; I was using this whilst debugging the TX power setup in the TX descriptor(s) on the AR9380. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-11-03T22:21:37.821127Z K 7 svn:log V 138 Add tty_set_winsize(). This removes some of the signalling magic from the Syscons driver and puts it in the TTY layer, where it belongs. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-03T22:23:08.916895Z K 7 svn:log V 277 sh: Use C99 flexible array instead of accessing array beyond bounds. Although sufficient memory is available for a longer string in cmdname, this is undefined behaviour anyway. Side effect: for alignment reasons, an additional byte of memory is allocated per hashed command. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-11-03T22:39:07.618554Z K 7 svn:log V 345 Merge the FDT versions of initarm. The copies of initarm used on platforms with FDT support were almost identical. The differences were pulled out into separate functions that were called by initarm. This change merges the, now identical, copies of initarm and a few of it's support functions. This is a step towards a common kernel on ARMv6. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-03T22:54:42.514270Z K 7 svn:log V 249 EDMA TX tweaks: * don't poke ath_hal_txstart() if nothing was pushed into the FIFO during the refill process; * shuffle around the TX debugging output a little so it's logged at TX hardware enqueue; * Add logging of the TX status processing. END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-11-03T23:00:05.068708Z K 7 svn:log V 14 MFC @r242461. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-03T23:03:14.511616Z K 7 svn:log V 170 Rework the known rwlock to benefit about staying on their own cache line in order to avoid manual frobbing but using struct rwlock_padalign. Reviewed by: alc, jimharris END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-11-03T23:22:49.665992Z K 7 svn:log V 141 Replace all uses of the page queues lock by a R/W lock that is private to this pmap. Eliminate two redundant #include's. Tested by: marcel END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-03T23:32:32.469942Z K 7 svn:log V 178 Fix a bug where operations was carried on even if not implemented, leading to handling of an invalid fdip object. Reported and tested by: flo MFC after: 2 months X-MFC: 241519 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T00:30:42.287495Z K 7 svn:log V 151 MFC r242452: The test fails with "exit 1" if /usr/games/fortune doesn't actually exist. Fix that. PR: conf/71994 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T00:30:42.388786Z K 7 svn:log V 151 MFC r242452: The test fails with "exit 1" if /usr/games/fortune doesn't actually exist. Fix that. PR: conf/71994 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T00:30:42.540385Z K 7 svn:log V 151 MFC r242452: The test fails with "exit 1" if /usr/games/fortune doesn't actually exist. Fix that. PR: conf/71994 Approved by: cperciva (implicit) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-04T00:46:01.910265Z K 7 svn:log V 28 Oops - conditionalise that. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-04T01:00:35.426176Z K 7 svn:log V 100 Change default prompt to show ~ again for the home directory Submitted by: flo Approved by: eadler END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T01:20:00.908988Z K 7 svn:log V 92 MFC r241844: remove duplicate semicolons where possible. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T01:20:57.116171Z K 7 svn:log V 92 MFC r241844: remove duplicate semicolons where possible. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T01:21:49.279071Z K 7 svn:log V 92 MFC r241844: remove duplicate semicolons where possible. Approved by: cperciva (implicit) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-04T02:52:03.251362Z K 7 svn:log V 15 Sync from head END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-11-04T03:19:07.472265Z K 7 svn:log V 121 Add an example showing the use of gnop(8) to skip over header data. PR: kern/145999 Reviewed by: mjg MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-04T06:24:13.009673Z K 7 svn:log V 21 Merge ^/head@242546. END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-11-04T06:35:08.304532Z K 7 svn:log V 47 MFC r242089: limit of 15 -> 63 logical volumes END K 10 svn:author V 6 gblach K 8 svn:date V 27 2012-11-04T08:47:41.220040Z K 7 svn:log V 120 - Add my mentor relationships to committers-ports.dot - Add myself to calendar.freebsd Approved by: tabthorpe (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-04T09:08:17.479950Z K 7 svn:log V 26 Add a few basic examples. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-11-04T09:27:01.158608Z K 7 svn:log V 48 New sentence, new line. Submitted by: brueffer END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-04T11:46:17.345282Z K 7 svn:log V 318 MFC r236258: For clang, similar to r236137, enable gnu hash generation for dynamic ELF binaries on x86. MFC r238863: Similar to r238472, let clang pass --enable-new-dtags to the linker invocation by default. Also make sure --hash-style=both is passed for the same arches as gcc, e.g. arm, sparc and x86. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-04T12:05:54.746947Z K 7 svn:log V 254 MFC r238864: Similar to what is already done for Linux, make clang not complain about unused -g, -emit-llvm or -w arguments when doing linking. E.g. invoking "clang -g foo.o -o foo" will now be silent. Reported by: Jakub Lach END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:29:47.621994Z K 7 svn:log V 74 MFC r241286,r242135: zfs_mount: taste geom providers for root pool config END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:30:04.625438Z K 7 svn:log V 74 MFC r241286,r242135: zfs_mount: taste geom providers for root pool config END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-04T13:31:41.823756Z K 7 svn:log V 109 Order the enumeration of the MNT_ flags to be the same as the order of their definitions. MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:32:16.400825Z K 7 svn:log V 62 MFC r241299: boot/console: handle consoles that fail to probe END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:32:26.829794Z K 7 svn:log V 62 MFC r241299: boot/console: handle consoles that fail to probe END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-04T13:32:45.292413Z K 7 svn:log V 93 Add decoding of the missed VI_ and VV_ flags to ddb "show vnode" command. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-04T13:33:13.671665Z K 7 svn:log V 92 Add decoding of the missed MNT_KERN_ flags to ddb "show mount" command. MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:33:59.003573Z K 7 svn:log V 77 MFC r241300: i386 comconsole: don't loop forever if hardware doesn't respond END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:37:33.259532Z K 7 svn:log V 83 MFC r241301: add detection of serial console presence to btx and boot2-like blocks END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:42:19.030126Z K 7 svn:log V 77 MFC r241538: acpi_thermal: when _ACx is tripped, all _ALi i>= x should be on END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:42:34.472908Z K 7 svn:log V 77 MFC r241538: acpi_thermal: when _ACx is tripped, all _ALi i>= x should be on END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:46:28.007372Z K 7 svn:log V 251 cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call ... instead of whatever random value may happen to be in the register. ecx is important to some cpuid leaves. To do: extend cpuctl interface to provide for ecx value parameter. MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:48:48.972267Z K 7 svn:log V 171 zfs_freebsd_close: call zfs_close with count=1 instead of count=0 Otherwise we may be leaking z_sync_cnt, which may lead to unnecessary ZIL sync-ing. MFC after: 12 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T13:50:08.277519Z K 7 svn:log V 351 zfs_mount: drop vfs.zfs.rootpool.prefer_cached_config tunable It turned out to be not that useful, because its default value may lead to a problem when a root pool is present in zpool.cache, but its on-disk status is 'exported'. This may happen if the pool was imported in a different environment with -f flag and then exported. MFC after: 12 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:15:13.773240Z K 7 svn:log V 244 zfs_vnode_lock: no need to double-guess caller's intentions here vn_lock should do the right thing with respect to given vnode lock flags. If a caller doesn't mind a doomed vnode, then zfs should deliver. Reviewed by: kib MFC after: 19 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:16:18.762173Z K 7 svn:log V 170 opensolaris_lookup: use vfs_busy in traverse before calling VFS_ROOT ... to ensure that we have a valid mountpoint during the call. Reviewed by: kib MFC after: 19 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:22:25.218360Z K 7 svn:log V 107 zfs_umount: no need to set MNTK_UNMOUNTF here, dounmount handles that Reviewed by: kib MFC after: 19 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:24:00.133354Z K 7 svn:log V 109 zfs_vnode_forget: dispose of larvae vnode using public vfs api (mostly) Reviewed by: kib MFC after: 19 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:27:31.586937Z K 7 svn:log V 189 opensolaris compat: clear VI_MOUNT before returning if mount_snapshot fails To do: investigate if it would be possible to use normal vfs_domount here. Reviewed by: kib MFC after: 19 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:36:11.472872Z K 7 svn:log V 75 zfs: set MNTK_EXTENDED_SHARED flag Discussed with: kib MFC after: 20 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:43:15.203383Z K 7 svn:log V 207 zfsctl_snapdir_lookup: obtain a snapname in the remount case ... which is triggered if somebody did regular umount on a snapshot mount. Reviewed by: Matthew Ahrens MFC after: 20 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-04T14:50:08.847331Z K 7 svn:log V 337 zfs_dirlook: bailout early if directory is unlinked Otherwise we could fail with an incorrect error if e.g. parent object id is removed too or we can even return a wrong vnode if parent object has been already re-used. Discussed with: pjd Also see: http://article.gmane.org/gmane.os.freebsd.devel.file-systems/13863 MFC after: 26 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T15:15:43.227653Z K 7 svn:log V 104 Prefer the use of stdbool to custom defines. Approved by: cperciva (from discussion) MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-04T15:15:47.069718Z K 7 svn:log V 264 Make OK_TO_WRITE_TO_DISK an envrionment variable instead of a compile time option. While here, don't differ based on the existence of LOCK_EX which doesn't seem to have ever made a difference on FreeBSD. Approved by: cperciva (from discussion) MFC after: 3 days END