ı=240000 195 218 834 188 517 1475 140 567 212 405 139 170 436 152 194 202 135 176 153 137 177 152 168 140 204 129 144 235 204 236 236 193 193 193 215 215 185 185 185 236 236 233 236 236 236 192 192 225 236 236 236 236 248 248 248 188 188 188 199 199 199 293 213 385 162 116 238 174 460 227 197 203 218 162 365 163 118 232 219 165 277 239 278 194 180 215 326 492 535 176 451 1212 451 451 189 189 189 206 167 371 539 132 234 152 259 174 155 186 225 424 156 249 122 194 228 133 228 203 157 147 156 258 112 137 205 205 145 640 112 299 206 116 188 195 699 112 859 138 690 151 236 286 120 278 244 249 247 252 239 162 486 333 685 1052 176 154 139 217 292 137 252 236 267 171 286 285 371 421 175 473 3425 142 231 579 109 121 121 231 392 788 312 518 119 227 118 288 127 114 123 127 162 189 166 166 423 522 K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-02T04:39:07.065304Z K 7 svn:log V 125 Calculate the new PTE value in pmap_enter() before acquiring any locks. Move an assertion to the beginning of pmap_enter(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-02T04:56:29.366854Z K 7 svn:log V 738 AR5212 radar pulse fixes. Fix the strong signal diversity capability setting - I had totally messed up the indentation. Set the default values to match what's in the .ini for now, rather than what values I had previously gleaned from places. This seems to work quite well for the early AR5212 NICs I have. Of course, later NICs have different PHYs and the radar configuration is very card/board dependent.. Tested: * ath1: AR5212 mac 5.3 RF5111 phy 4.1 ath1: 2GHz radio: 0x0023; 5GHz radio: 0x0017 This detects 1, 5, 25, 50, 75, 100uS pulses reliably (with no interference.) However, 10uS pulses don't detect reliably. That may be around the transition between short and long pulses so some further tuning may improve things. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-02T05:01:10.293699Z K 7 svn:log V 93 Disable strong signal diversity when enabling radar pulse detection for the AR5212 era NICs. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-09-02T07:29:37.587845Z K 7 svn:log V 420 In soreceive_generic() when checking if the type of mbuf has changed check it for MT_CONTROL type too, otherwise the assertion "m->m_type == MT_DATA" below may be triggered by the following scenario: - the sender sends some data (MT_DATA) and then a file descriptor (MT_CONTROL); - the receiver calls recv(2) with a MSG_WAITALL asking for data larger than the receive buffer (uio_resid > hiwat). MFC after: 2 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-09-02T07:33:52.047005Z K 7 svn:log V 1377 In soreceive_generic() remove the optimization for the case when MSG_WAITALL is set, and it is possible to do the entire receive operation at once if we block (resid <= hiwat). Actually it might make the recv(2) with MSG_WAITALL flag get stuck when there is enough space in the receiver buffer to satisfy the request but not enough to open the window closed previously due to the buffer being full. The issue can be reproduced using the following scenario: On the sender side do 2 send(2) requests: 1) data of size much smaller than SOBUF_SIZE (e.g. SOBUF_SIZE / 10); 2) data of size equal to SOBUF_SIZE. On the receiver side do 2 recv(2) requests with MSG_WAITALL flag set: 1) recv() data of SOBUF_SIZE / 10 size; 2) recv() data of SOBUF_SIZE size; We totally fill the receiver buffer with one SOBUF_SIZE/10 size request and partial SOBUF_SIZE request. When the first request is processed we get SOBUF_SIZE/10 free space. It is just enough to receive the rest of bytes for the second request, and soreceive_generic() blocks in the part that is a subject of this change waiting for the rest. But the window was closed when the buffer was filled and to avoid silly window syndrome it opens only when available space is larger than sb_hiwat/4 or maxseg. So it is stuck and pending data is only sent via TCP window probes. Discussed with: kib (long ago) MFC after: 2 weeks END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-09-02T11:03:18.930542Z K 7 svn:log V 47 - Style(9) cleanup. Approved by: kib (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-02T11:44:30.223331Z K 7 svn:log V 474 MFC r226216 (by das): Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests for particular compiler features might be evaluated differently by mkdep than they would be by cc. MFC r226244 (by das): Also pass the -ansi flag through to mkdep (requested by bde), and fix a cut-and-paste-o (noticed by rdivacky). MFC r239613: Make sure bsd.dep.mk does not filter out -stdlib=xxx from CXXFLAGS, since this determines parts of the C++ include path. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-02T12:37:30.329406Z K 7 svn:log V 116 Fix a typo which results in RTT to be off by a factor of 10, if the RTT is larger than 1 second. MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T14:41:29.672980Z K 7 svn:log V 309 Very belated MFC of 227548 Was chasing down a failure to load f/w on a 2400. It turns out that the card is actually broken, or needs a BIOS upgrade for 64 bit loads, but this uncovered a couple of misplaced opcode definitions and some missing continual mbox command cases, so might as well update them here. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T14:44:09.786520Z K 7 svn:log V 44 MFC of 237210 Prepare for FC-Tape support. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T14:45:36.391604Z K 7 svn:log V 75 MFC of 237537 Clean up multi-id mode so it's driven by the f/w loaded,... END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-02T14:46:18.707969Z K 7 svn:log V 343 Partially revert r239959, after actually fixing most of the clang warnings in sys/gnu/fs/xfs. The only warnings that still need to be suppressed are those about array bound overruns of flexible array members in xfs_dir2_{block,sf}.c, which are too expensive (in terms of cascading code changes) to fix. MFC after: 1 week X-MFC-With: r239959 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T14:46:30.365503Z K 7 svn:log V 57 MFC of 237544 Unbreak register tests for parallel SCSI. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T14:56:04.417496Z K 7 svn:log V 99 A belated MFC of 227126 Implement the sysctl's for fibre channel that are listed in the man page. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:00:35.239386Z K 7 svn:log V 106 MFC of 228914 Fix target mode compilation issues that arose after a change in the sense data structures. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:03:40.580288Z K 7 svn:log V 40 MFC of 238859 Mega change for FC-Tape. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:04:39.680609Z K 7 svn:log V 81 MFC of 239143 More rototilling with target mode in an attemp to get multiple... END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:05:39.669911Z K 7 svn:log V 58 MFC of 239218 Fix an oops where we wiped out DMA maps... END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:06:55.089508Z K 7 svn:log V 42 MFC of 239219 Remove extraneous newline. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:07:51.060342Z K 7 svn:log V 82 MFC of 239330 On lun disable, complete all INOTs and ATIOs with CAM_REQ_ABORTED. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:18:08.872813Z K 7 svn:log V 57 MFC of 238806 Switch to FC-Tape f/w for the 23XX cards. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:20:10.639614Z K 7 svn:log V 73 MFC of 238870. Handle a case where we had an SRR that pushed back the.. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:21:55.662024Z K 7 svn:log V 45 MFC of 238887- fix compilation on isp_sbus.c END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:23:01.317506Z K 7 svn:log V 108 MFC of 239010 Oops. We only do allocate room for extended commands and responses for 2300 cards are newer. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:24:57.541145Z K 7 svn:log V 34 MFC of 239212 Add VERIFY_10 def. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-02T15:27:20.273435Z K 7 svn:log V 49 MFC of 239023 Add detach logic to SBus variant. END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-09-02T17:39:02.744746Z K 7 svn:log V 141 - Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz and kern.sgrowsiz sysctls writable. Approved by: kib (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T17:46:46.283885Z K 7 svn:log V 108 MFC r239048: Add additional Perle Speed LE serial cards PR: kern/168816 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:00:57.028062Z K 7 svn:log V 140 MFC r239047: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:01:16.635459Z K 7 svn:log V 140 MFC r239047: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:04:06.695075Z K 7 svn:log V 98 MFC r239076: Add support for SIIG Cyber Serial Dual PCI 16C850 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:04:27.801867Z K 7 svn:log V 98 MFC r239076: Add support for SIIG Cyber Serial Dual PCI 16C850 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:04:50.508320Z K 7 svn:log V 98 MFC r239076: Add support for SIIG Cyber Serial Dual PCI 16C850 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:08:41.739178Z K 7 svn:log V 119 MFC r238399: Document the behavior of mount with failok specified. PR: docs/163742 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:08:46.671051Z K 7 svn:log V 119 MFC r238399: Document the behavior of mount with failok specified. PR: docs/163742 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:10:29.327373Z K 7 svn:log V 90 MFC r238221: Fix always 0 tautologly revealed by gcc46 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:10:30.560896Z K 7 svn:log V 90 MFC r238221: Fix always 0 tautologly revealed by gcc46 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:10:31.776441Z K 7 svn:log V 90 MFC r238221: Fix always 0 tautologly revealed by gcc46 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:13:18.488237Z K 7 svn:log V 140 MFC r238203: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:13:22.450309Z K 7 svn:log V 140 MFC r238203: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-09-02T18:14:01.180773Z K 7 svn:log V 137 Make sure we visit both symbol sections even if one of them doesn't exist. This makes it possible to dtrace some C++ programs like devd. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:17:12.125164Z K 7 svn:log V 140 MFC r238201: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:17:16.325556Z K 7 svn:log V 140 MFC r238201: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:17:20.118752Z K 7 svn:log V 140 MFC r238201: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:19:37.650459Z K 7 svn:log V 97 MFC r238206: Add missing sleep stat increase PR: kern/168211 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:19:41.262339Z K 7 svn:log V 97 MFC r238206: Add missing sleep stat increase PR: kern/168211 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:28:09.356098Z K 7 svn:log V 129 MFC r238204: Remove unneeded variable reported by gcc46 which stopped being used in r234178. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:31:23.057021Z K 7 svn:log V 140 MFC r238200: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:33:43.184189Z K 7 svn:log V 140 MFC r238199: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:33:47.682173Z K 7 svn:log V 140 MFC r238199: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:33:51.136116Z K 7 svn:log V 140 MFC r238199: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:40:11.294406Z K 7 svn:log V 152 MFC r235251,r238205: Add Spanish Dvorak keyboard model to syscons. (not verified to be accurate) PR: conf/160235 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:40:14.495774Z K 7 svn:log V 152 MFC r235251,r238205: Add Spanish Dvorak keyboard model to syscons. (not verified to be accurate) PR: conf/160235 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:40:17.919355Z K 7 svn:log V 152 MFC r235251,r238205: Add Spanish Dvorak keyboard model to syscons. (not verified to be accurate) PR: conf/160235 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:44:40.643556Z K 7 svn:log V 93 MFC r237178,r237180: Fix mdoc style nits PR: kern/168910 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:44:43.729754Z K 7 svn:log V 93 MFC r237178,r237180: Fix mdoc style nits PR: kern/168910 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:44:47.706845Z K 7 svn:log V 93 MFC r237178,r237180: Fix mdoc style nits PR: kern/168910 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:54:31.955603Z K 7 svn:log V 103 MFC r236596: Fix style nit: don't use leading zero for dates in .Dd Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:54:47.279811Z K 7 svn:log V 103 MFC r236596: Fix style nit: don't use leading zero for dates in .Dd Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T18:54:51.188886Z K 7 svn:log V 103 MFC r236596: Fix style nit: don't use leading zero for dates in .Dd Approved by: cperciva (implicit) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-09-02T21:04:40.514110Z K 7 svn:log V 200 Fix RPC headers for C++ C++ mangling will cause trouble with variables like __rpc_xdr in xdr.h so rename this to XDR. While here add proper C++ guards to RPC headers. PR: 137443 MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-02T21:44:24.586921Z K 7 svn:log V 117 Revert MFC of r238206 as this feature isn't available in stable/8 Approved by: cperciva (implicit) Pointyhat to: me END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-09-02T22:23:23.987676Z K 7 svn:log V 292 Revert r240060: (Partial) __BEGIN_DECLS and __END_DECLS in cdefs.h take care of the __cplusplus mangling issues so most of the definitions were redundant. In the few places where they were not redundant we should use BSD style instead of the guards used upstream. Reported by: Yuri Pankov END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-09-03T00:05:21.519557Z K 7 svn:log V 70 Add myself to copyright sections, per CDDL license. Requested by: mm END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-03T02:25:20.996732Z K 7 svn:log V 21 Merge ^/head@240063. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-03T02:32:00.804835Z K 7 svn:log V 145 Correct an error in gxemul_disk_write(). It was issuing the command to read from rather than write to the emulated disk. Reviewed by: jmallett END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-03T07:18:24.765574Z K 7 svn:log V 82 MFC r239715: Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc. END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-09-03T08:52:05.843125Z K 7 svn:log V 367 Add kern.hintmode sysctl variable to show current state of hints: 0 - loader hints in environment only; 1 - static hints only 2 - fallback mode (Dynamic KENV with fallback to kernel environment) Add kern.hintmode write handler, accept only value 2. That will switch static KENV to dynamic. So it will be possible to change device hints. Approved by: adrian (mentor) END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-09-03T09:26:56.093877Z K 7 svn:log V 133 - Mark some sysctls with CTLFLAG_TUN flag instead of CTLFLAG_RDTUN. Pointed out by: avg Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-09-03T09:34:46.765447Z K 7 svn:log V 103 - After r240026 sgrowsiz should be used in a safer maner. Approved by: kib (mentor) MCF after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-09-03T09:46:46.868183Z K 7 svn:log V 110 Add missing braces. Approved by: bschmidt (while mentor offline) Pointed by: gcooper Pointy hat to: ray END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-03T10:08:20.413021Z K 7 svn:log V 121 Change bridge(4) to use if_transmit for forwarding packets to underlying interfaces instead of queueing. Tested by: ray END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-03T14:16:16.130414Z K 7 svn:log V 66 Explicitly document all variables in the net.link.ether.inet MIB. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-03T14:29:28.257192Z K 7 svn:log V 268 Provide a sysctl switch that allows to install ARP entries with multicast bit set. FreeBSD refuses to install such entries since 9.0, and this broke installations running Microsoft NLB, which are violating standards. Tested by: Tarasov Oleg END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-03T15:22:02.801994Z K 7 svn:log V 66 Add more DWC OTG register definitions. Submitted by: Nick Hudson END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-03T16:51:41.351536Z K 7 svn:log V 26 Upgrade OpenSSH to 6.1p1. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-09-03T17:26:20.123399Z K 7 svn:log V 137 Fix compact form of "synchronize" permission in setfacl(1) manual page - it should be "s", not "S". PR: docs/162380 MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-09-03T18:17:21.075992Z K 7 svn:log V 126 Fix 'distributeworld' target when WITHOUT_GAMES is set. Reviewed by: des Approved by: des MFC after: 3 days X-MFC-To: 9-only END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-03T19:17:25.952534Z K 7 svn:log V 68 Add required USB AUDIO v2.0 structure definitions. PR: misc/171254 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-04T05:15:54.276436Z K 7 svn:log V 180 Update arcmsr(4) to vendor version 1.20.00.25. Many thanks to Areca for continuing to support FreeBSD. Submitted by: Ching-Lung Huang MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-09-04T05:51:50.651549Z K 7 svn:log V 142 Add __BEGIN_DECLS and __END_DECLS to make libprocstat more C++-friendly. Submitted by: Daniel Dettlaff MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-09-04T05:54:43.694353Z K 7 svn:log V 181 Free memory allocated by procstat_getfiles(), which may make difference when procstat(1) is run with -a option. Submitted by: Daniel Dettlaff MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-09-04T10:56:30.464601Z K 7 svn:log V 97 Remove unneeded ipfw headers introduced in r213447 from Infiniband code. MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-09-04T11:43:00.323778Z K 7 svn:log V 86 Make setfacl(1) behave properly in situations like "setfacl -kd". MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-09-04T11:50:13.792445Z K 7 svn:log V 120 Make "setfacl -bd" an alias for "setfacl -k". Previously it would crash on assert. PR: bin/165807 MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-09-04T12:02:23.203584Z K 7 svn:log V 231 In getfacl(1) manual page, mention where to read about the ACL syntax. PR submitter suggested adding it to acl(3) instead, but I don't think pointing ordinary users at section 3 is a good idea. PR: docs/162380 MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-04T12:07:33.357883Z K 7 svn:log V 395 - Move jenkins.h to jenkins_hash.c - Provide missing function that can do hashing of arbitrary sized buffer. - Refetch lookup3.c and do only minimal edits to it, so that diff between our jenkins_hash.c and lookup3.c is minimal. - Add declarations for jenkins_hash(), jenkins_hash32() to sys/hash.h. - Document these functions in hash(9) Obtained from: http://burtleburtle.net/bob/c/lookup3.c END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-09-04T12:19:34.191384Z K 7 svn:log V 440 Fix an error in setfacl(1) that manifested like this: # setfacl -m u:trasz:rwx x # setfacl -m u:root:rwx x # getfacl x # file: x # owner: root # group: wheel user::rw- user:root:rwx user:trasz:rwx group::r-- mask::rwx other::r-- # setfacl -m u:root:rwx x setfacl: x: acl_calc_mask() failed: Invalid argument setfacl: x: failed to set ACL mask For NFSv4 ACLs, this sort of situation would result in duplicated entries. MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-09-04T12:27:23.640534Z K 7 svn:log V 82 Explicitly mention that "cp -p" copies ACLs. PR: docs/168962 MFC after: 1 month END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-04T15:58:58.580683Z K 7 svn:log V 352 MFC r239889: Do not call sati_check_data_io() for SATI_UNMAP sequences. This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-04T16:00:51.100443Z K 7 svn:log V 1116 1. Use install -d to create the entropy_dir if missing so that we can do it all in one command, with no permissions race. 2. Simplify the rotation logic by cd'ing into the directory, with a test to make sure that it succeeds. 3. Remove any files numbered higher than entropy_save_num. This helps when the user reduces the number, and may be useful for other purposes down the road. 4. Simplify the rotation logic by first testing the common case (it's a regular file) then testing if something else exists with the same name using elif. Also switch from using jot to simpler countdown format. 5. Fix logger lines and error messages to be more consistent, and wrap the code more consistently in the 80 column range. The "not a regular file" error message was mistakenly wrapped entirely in "quotes" which caused logger to include line-wrapping whitespace. Change that to wrap only the variables in quotes, which is both consistent and works better. 6. Update copyright to reflect the fact that changes were made this year. Parts of 2-4 were taken from etc/periodic/daily/310.accounting END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-04T17:13:52.011107Z K 7 svn:log V 352 MFC r239889: Do not call sati_check_data_io() for SATI_UNMAP sequences. This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-04T17:15:19.515761Z K 7 svn:log V 352 MFC r239889: Do not call sati_check_data_io() for SATI_UNMAP sequences. This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-04T17:24:11.763544Z K 7 svn:log V 91 MFC r239571: Add -m option (for printing sampled PCs to a file) to pmcstat usage message. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-04T17:27:21.264484Z K 7 svn:log V 91 MFC r239571: Add -m option (for printing sampled PCs to a file) to pmcstat usage message. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-04T17:29:35.211495Z K 7 svn:log V 91 MFC r239571: Add -m option (for printing sampled PCs to a file) to pmcstat usage message. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T19:04:02.025673Z K 7 svn:log V 113 No memory barrier is required. This was pointed out by kib@ a while ago, but I got distracted by other matters. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T19:14:57.303635Z K 7 svn:log V 75 MFH (r239255, r239730): increase maxswzone on i386 and remove it on amd64. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-09-04T19:19:36.546058Z K 7 svn:log V 278 Fix duplicate entries for mwl(4): - Move mwlfw from {amd64,i386}/conf/NOTES to sys/conf/NOTES (mwl(4) is already present in sys/conf/NOTES). - Remove duplicate mwl(4) entries from {amd64,i386}/conf/NOTES. - While here, add a description to the sfxge line in amd64/conf/NOTES. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-09-04T19:43:26.090679Z K 7 svn:log V 441 Introduce new link-layer PFIL hook V_link_pfil_hook. Merge ether_ipfw_chk() and part of bridge_pfil() into unified ipfw_check_frame() function called by PFIL. This change was suggested by rwatson? @ DevSummit. Remove ipfw headers from ether/bridge code since they are unneeded now. Note this thange introduce some (temporary) performance penalty since PFIL read lock has to be acquired for every link-level packet. MFC after: 3 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-04T19:49:37.203247Z K 7 svn:log V 36 Merge head r233826 through r240095. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-09-04T20:14:37.220965Z K 7 svn:log V 141 Add a reasonable error message telling the caller to specify a program to be executed under hwpmc. If there is no program to run then exit. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T20:45:59.319181Z K 7 svn:log V 60 MFH (r239836): align the boot partition on a 4 kB boundary. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-09-04T20:51:25.059160Z K 7 svn:log V 163 Failure to open netmap device is unrecoverable. There's no reason to "fail later" since there's nothing this tool can do in netmap mode without /dev/netmap open. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-04T21:02:57.061702Z K 7 svn:log V 78 Add hpt27xx to GENERIC kernel for amd64 and i386 systems. MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T21:06:53.575683Z K 7 svn:log V 63 Revert previous commit, which was performed in the wrong tree. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-09-04T21:38:31.821111Z K 7 svn:log V 95 Update vendor/illumos to illumos-gate 13788:0cb9e2232ae0 (dtrace changes, illumos issue #3123) END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T21:40:53.687318Z K 7 svn:log V 132 Add a prominent warning about these functions' unsuitability for cryptographic purposes, and recommend using arc4random(3) instead. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-09-04T21:47:09.650812Z K 7 svn:log V 328 * Rather than run the same 'ps' command twice, add 'kenv' which often gives machine unique values from the firmware. * The kernel is more likely to be unique than /bin/ls (but no need to stuff many megabytes into /dev/random, so hash it). * Change ordering to give larger variance across reboots to reduce predictability. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T21:56:16.345857Z K 7 svn:log V 64 Add a configtest command. Submitted by: gjb@ MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-09-04T21:58:22.620697Z K 7 svn:log V 157 Update vendor/illumos/dist and vendor/illumos-gate/dist to illumos-gate revision 13794:7c5e0e746b2c Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T22:03:16.749746Z K 7 svn:log V 30 Bump dates. Reminded by: bz@ END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-09-04T22:17:33.757069Z K 7 svn:log V 97 Fix the build broken by r240099. Hide link_pfil_hook under _KERNEL macro. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-04T22:19:33.120427Z K 7 svn:log V 135 No memory barrier is required. This was pointed out by kib@ a while ago, but I got distracted by other matters. (for real this time) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-04T22:40:49.458353Z K 7 svn:log V 38 Whitespace change. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-04T22:45:00.121033Z K 7 svn:log V 132 Use the consistenly the size of a variable. This helps to keep the code simpler for the userland implementation. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-04T23:07:32.974053Z K 7 svn:log V 107 Import ATF version 0,16 Discussed with: gibbs, gnn, keramida, mdf, mlaier, Discussed with: Garrett Cooper END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-04T23:08:52.466747Z K 7 svn:log V 62 Bootstrap dist directory from the initial import of ATF 0.16. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-09-04T23:13:24.929723Z K 7 svn:log V 53 Support another uchcom(4) device. MFC after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-09-04T23:16:55.340372Z K 7 svn:log V 64 Style fixes. Suggested by: mdf Approved by: adrian (menthor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-04T23:16:58.417564Z K 7 svn:log V 162 Merge ATF 0.16 from vendor/atf/dist. Provenance: http://code.google.com/p/kyua Discussed with: gibbs, gnn, keramida, mdf, mlaier, Discussed with: Garrett Cooper END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-04T23:24:00.747104Z K 7 svn:log V 16 MFC: less v451. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-04T23:27:07.153428Z K 7 svn:log V 42 Add headers created by running configure. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-09-05T02:03:43.769385Z K 7 svn:log V 109 MFC 239883: Avoid passing uninitialized stack to addelem() if called with an empty arg. PR: bin/171174 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-09-05T02:26:13.164786Z K 7 svn:log V 109 MFC 239883: Avoid passing uninitialized stack to addelem() if called with an empty arg. PR: bin/171174 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-05T04:50:20.706908Z K 7 svn:log V 49 Use Jenkins's hash with random seed for pf keys. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-05T06:02:54.056804Z K 7 svn:log V 547 Rename {_,}pmap_unwire_pte_hold() to {_,}pmap_unwire_ptp() and update the comment describing them. Both the function names and the comment had grown stale. Quite some time has passed since these pmap implementations last used the page's hold count to track the number of valid mapping within a page table page. Also, returning TRUE from pmap_unwire_ptp() rather than _pmap_unwire_ptp() eliminates a few instructions from callers like pmap_enter_quick_locked() where pmap_unwire_ptp()'s return value is used directly by a conditional statement. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-05T06:15:15.748093Z K 7 svn:log V 16 MFC: less v451. END K 10 svn:author V 5 silby K 8 svn:date V 27 2012-09-05T06:51:28.459056Z K 7 svn:log V 204 Only stop the BXE controller if it was first started. Stopping an uninitialized controller can cause IPMI bus errors on some systems. Reviewed by: yongari Obtained from: McAfee, Inc. MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-05T07:47:09.771330Z K 7 svn:log V 110 MFC r240007: Fix a typo which results in RTT to be off by a factor of 10, if the RTT is larger than 1 second. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-05T08:50:41.326803Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-05T09:02:18.488353Z K 7 svn:log V 92 The device pflow had never been exported into FreeBSD, so wipe its remnants around pf code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-09-05T11:55:53.268209Z K 7 svn:log V 102 When WIFCONTINUED was added, the number of "first" macros grew from three to four. MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-09-05T12:02:09.084455Z K 7 svn:log V 607 Merge recent vendor changes and sync code: 1862 incremental zfs receive fails for sparse file > 8PB 3112 ztest does not honor ZFS_DEBUG 3122 zfs destroy filesystem should prefetch blocks 3129 'zpool reopen' restarts resilvers 3130 ztest failure: Assertion failed: 0 == dmu_objset_destroy(name, B_FALSE) (0x0 == 0x10) References: https://www.illumos.org/issues/1862 https://www.illumos.org/issues/3112 https://www.illumos.org/issues/3122 https://www.illumos.org/issues/3129 https://www.illumos.org/issues/3130 Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-05T12:24:50.246581Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-05T13:18:51.412350Z K 7 svn:log V 766 Add support for new Intel on-CPU Bull Mountain random number generator, found on IvyBridge and supposedly later CPUs, accessible with RDRAND instruction. From the Intel whitepapers and articles about Bull Mountain, it seems that we do not need to perform post-processing of RDRAND results, like AES-encryption of the data with random IV and keys, which was done for Padlock. Intel claims that sanitization is performed in hardware. Make both Padlock and Bull Mountain random generators support code covered by kernel config options, for the benefit of people who prefer minimal kernels. Also add the tunables to disable hardware generator even if detected. Reviewed by: markm, secteam (simon) Tested by: bapt, Michael Moll MFC after: 3 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-05T13:51:36.411620Z K 7 svn:log V 42 A poor attempt to cleanup includes in pf. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-09-05T14:31:58.702828Z K 7 svn:log V 597 - Explicitly call twe_done() to poll the hardware when looping in twe_start() to simulate the behavior on 4.x where the driver dropped spl to allow interrupts to run to free up space in the command queue. Be careful to only poll if we are going to make at least one more attempt to queue the current command. Also, when polling, be careful to not call twe_startio() to queue more commands to avoid recursion. - Move the buffer for formatting AEN messages into the softc instead of using a single driver-wide static buffer. Requested by: scottl (1) Tested by: Mike Tancsa @ Sentex END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-05T14:52:54.247023Z K 7 svn:log V 56 Remove atf. We get it from the source, not from NetBSD. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-05T15:55:51.109257Z K 7 svn:log V 140 Don't hardcode paths to MFS_IMAGE in the kernel config. When they don't exist they don't cause "make tinderbox" to fail. Reported by: jhb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-05T15:58:39.819936Z K 7 svn:log V 190 1. Add README.txt with upgrade instructions as well as license info and governance. 2. Add FREEBSD-Xlist to prune the distribution. 3. Remove files & directories not used by FreeBSD. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-09-05T16:01:08.036479Z K 7 svn:log V 25 Update to a pruned 0.16. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-05T16:35:37.681280Z K 7 svn:log V 185 MFC r238212: Drop page queues mutex on each iteration of vm_pageout_scan over the inactive queue, unless busy page is found. MFC r238258: Avoid vm page queues lock leak after r238212. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-05T16:47:00.239535Z K 7 svn:log V 151 MFC r238604: Do not restart scan of the inactive queue when non-inactive page is found. Rather, we shall not find such pages on inactive queue at all. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-05T17:13:08.224180Z K 7 svn:log V 156 After r240104, make sure the hpt27xx driver also compiles with clang, when it is statically linked into the kernel. MFC after: 2 weeks X-MFC-With: r240104 END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-09-05T18:19:54.225983Z K 7 svn:log V 153 - Simplify VM code by using vmspace_wired_count() for counting wired memory of a process. Reviewed by: avg Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-09-05T18:27:45.297118Z K 7 svn:log V 157 - If the PCIe "SLOT" flag is set, include this in the capability output - Fix printing of PCIe interrupt number, the shift was incorrect. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-05T18:49:00.039528Z K 7 svn:log V 146 MFC r238732 (by alc): Addendum to r238604. If the inactive queue scan isn't restarted, then the variable "addl_page_shortage_init" isn't needed. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-05T18:52:01.242228Z K 7 svn:log V 67 Using %p in a format string requires a void *. MFC after: 10 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-05T18:55:35.070309Z K 7 svn:log V 393 MFC r238791: Do not requeue held page or page for which locking failed, just leave them alone. Process the act_count updates for the held pages in the vm_pageout loop over the inactive queue, instead of refusing to do anything with such page. Clarify the intent of the addl_page_shortage counter and change its use for pages which are not processed in the loop according to the description. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-09-05T19:01:39.370375Z K 7 svn:log V 238 Add #defines for the bits in the PCI Express SLOT registers. Names have been chosen based on the bit names in the PCI Express Base Specification 3.0, and to match the predominant style of the existing bit definitions. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-05T20:40:11.736773Z K 7 svn:log V 592 MFC r233122,r237086,r237228,r237264,r237290,r237404,r237414,r237513,r237551, r237592,r237604,r237623,r237684,r237733,r237813,r237855,r238124,r238126, r238163,r238414,r238610,r238889,r238970,r239072,r239137,r240126 (all by alc): Add fine-grained PV chunk and list locking to the amd64 pmap, enabling concurrent execution of the following functions on different pmaps: pmap_change_wiring() pmap_copy() pmap_enter() pmap_enter_object() pmap_enter_quick() pmap_page_exists_quick() pmap_page_is_mapped() pmap_protect() pmap_remove() pmap_remove_pages() Requested and approved by: alc END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-05T21:41:05.933870Z K 7 svn:log V 956 libc/i386: Do not export .cerror. For some reason, libc exports the symbol .cerror (HIDENAME(cerror)), albeit in the FBSDprivate_1.0 version. It looks like there is no reason for this since it is not used from other libraries. Given that it cannot be accessed from C and its strange calling convention, it is rather unlikely that other things rely on it. Perhaps it is from a time when symbols could not be hidden. Not exporting .cerror causes it to be jumped to directly instead of via the PLT. This change also takes advantage of .cerror's new status by not saving and loading %ebx before jumping to it. (Therefore, .cerror now saves and loads %ebx itself.) Where there was a conditional jump to a jump to .cerror, the conditional jump has been changed to jump to .cerror directly (many modern CPUs don't do static prediction and in any case it is not much of a benefit anyway). This change makes libc.so.7 a few kilobytes smaller. Reviewed by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-09-05T23:07:02.922194Z K 7 svn:log V 84 Typo fix and minor word swap. PR: 171356 Submitted by: bdrewery MFC After: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-09-06T01:24:18.895077Z K 7 svn:log V 59 Fix test cases to work with the latest version of the API. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-06T02:07:58.730909Z K 7 svn:log V 45 Add missing braces Obtained from: DragonFly END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-09-06T03:19:48.953086Z K 7 svn:log V 121 Add support for demangling C++ symbols. This requires linking libproc with libc++rt/libsupc++. Discussed with: theraven END K 10 svn:author V 5 mckay K 8 svn:date V 27 2012-09-06T06:17:39.433553Z K 7 svn:log V 197 MFC r235638,r239348: - Work around failure to compile on FreeBSD 7.x machines. - Correct a regression introduced during the import of file(1) 5.11. PR: bin/170415 Reviewed by: obrien@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-06T07:03:56.253329Z K 7 svn:log V 42 Get rid of a gcc'ism. MFC after: 10 days END K 10 svn:author V 6 thomas K 8 svn:date V 27 2012-09-06T07:45:45.273547Z K 7 svn:log V 156 MFC: merge rev. 239012 from head to stable/9 New command "gmultipath prefer" to force selection of a specified provider in an Active/Passive configuration. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2012-09-06T07:48:17.568918Z K 7 svn:log V 140 MFC rev. 239012 to stable/8: New command "gmultipath prefer" to force selection of a specified provider in an Active/Passive configuration. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-09-06T10:10:56.750210Z K 7 svn:log V 170 Direct commit to stable/8 to fix the mis-merge in r239983: in 8.x read-locking of the inpcbinfo is not used in the TCP timer code. Reported by: bz Submitted by: rwatson END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-09-06T13:43:48.879520Z K 7 svn:log V 80 Make r230454 more readable and vendor-like. PR: kern/171380 MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-09-06T13:47:42.168224Z K 7 svn:log V 190 Fix "Corrupted DWARF expression" from (k)gdb. Google turned up Debian bug 405116, which describes the problem in sufficient detail to identify the overflowing variables. MFC after: 1 week END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-09-06T13:54:01.487982Z K 7 svn:log V 188 Add Intel Ivy Bridge support to hwpmc(9). Update offcore RSP token for Sandy Bridge. Note: No uncore support. Will works on Family 6 Model 3a. MFC after: 1 month Tested by: bapt, grehan END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-09-06T14:59:53.113531Z K 7 svn:log V 273 Add TRIM support, enabled by default. Fix a bug installing components from a localPath. Allow autosizing of any partition, not just the last partition. Adjust how ZFS is laid out to work with Boot Environments. Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-06T16:26:04.657132Z K 7 svn:log V 328 There is no need to release the pvh global lock around calls to pmap_get_pv_entry(). In fact, some callers already held it around calls. (In earlier versions, the same statements would apply to the page queues lock.) While I'm here tidy up the style of a few nearby statements and revise some comments. Tested by: Ian Lepore END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-06T16:27:59.066266Z K 7 svn:log V 83 MFH (r239836): align the boot partition on a 4 kB boundary. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-06T16:38:55.583862Z K 7 svn:log V 374 MFC r239889: Do not call sati_check_data_io() for SATI_UNMAP sequences. This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel Approved by: re (kib) END K 10 svn:author V 2 np K 8 svn:date V 27 2012-09-06T17:28:47.642509Z K 7 svn:log V 3332 MFC many cxgb and cxgbe features and fixes (r239258, r239259, r239264, r239266, r239336, r239338, r239339, r239341, r239344, r239514, r239527, r239528, r239544. r239258: Convert some fixed parameters to tunables (with reasonable default values). - cong_drop specifies what to do on congestion: nothing, backpressure, or drop. - fl_pktshift specifies the padding before Ethernet payload. - fl_pad specifies the boundary upto which to pad Ethernet payload. - spg_len controls the length of the status page. r239259: if_iqdrops should include frames truncated within the chip. r239264: Assume INET, INET6, and TCP_OFFLOAD when the driver is built out of tree and KERNBUILDDIR is not set. r239266: The size of the buffers in an Ethernet freelist has to be higher than the interface's MTU. Initialize such freelists with correct values. This wasn't a problem for common MTUs (1500 and 9000) as the buffers (2048 and 9216 in size) happened to have enough spare room. I ran into it when playing around with unusual MTUs. r239336: Allow for a different handler for each type of firmware message. r239338: Add a routine (t4_set_tcb_field) to update arbitrary parts of a hardware TCB. Filters are programmed by modifying the TCB too (via a different routine) and the reply to any TCB update is delivered via a CPL_SET_TCB_RPL. Figure out whether the reply is for a filter-write or something else and route it appropriately. r239339: Make room for DDP page pods in the default configuration profile. While here, bump up the L2 table's size to 4K entries. r239341: Initialize various DDP parameters in the main cxgbe(4) driver: - Setup multiple DDP page sizes. When the driver attempts DDP it will try to combine physically contiguous pages into regions of these sizes. - Set the indicate size such that the payload carried in the indicate can be copied in the header mbuf (and the 16K rx buffer can be recycled). - Set DDP threshold to the max payload that the chip will coalesce and deliver to the driver (this is ~16K by default, which is also why the offload rx queue is backed by 16K buffers). If the chip is able to coalesce up to the max it's allowed to, it's a good sign that the peer is transmitting in bulk without any TCP PSH. r239344: Support for TCP DDP (Direct Data Placement) in the T4 TOE module. Basically, this is automatic rx zero copy when feasible. TCP payload is DMA'd directly into the userspace buffer described by the uio submitted in soreceive by an application. - Works with sockets that are being handled by the TCP offload engine of a T4 chip (you need t4_tom.ko module loaded after cxgbe, and an "ifconfig +toe" on the cxgbe interface). - Does not require any modification to the application. - Not enabled by default. Use hw.t4nex..toe.ddp="1" to enable it. r239514: Minor cleanup: use bitwise ops instead of pointless wrappers around setbit/clrbit. r239527: Cannot hold a mutex around vm_fault_quick_hold_pages, so don't. Tweak some comments while here. r239528: Avoid a NULL pointer dereference. r239544: Deal with the case where a syncache entry added by the TOE driver is evicted from the syncache but a later syncache_expand succeeds because of syncookies. The TOE driver has to resort to more direct means to install its hooks in the socket in this case. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-09-06T18:02:32.301564Z K 7 svn:log V 50 Add a kernel module on pc98 for the ct(4) driver. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-06T18:31:56.427982Z K 7 svn:log V 135 MFC rr240007: Fix a typo which results in RTT to be off by a factor of 10, if the RTT is larger than 1 second. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-09-06T18:53:33.429024Z K 7 svn:log V 486 Remove NetBSD compat shims for drivers originally shared with NetBSD/pc98. NetBSD/pc98 was never merged into the main NetBSD tree and is no longer developed. Adding locking to these drivers would have made the compat shims hard to impossible to maintain, so remove the shims to ease future changes. These changes were verified by md5. Some additional shims can be removed that do affect the compiled results that I will probably do in another round. Approved by: nyan (tentatively) END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-09-06T19:14:02.754685Z K 7 svn:log V 16 Minor mdoc fix. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-09-06T19:24:48.738579Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-09-06T19:26:59.226147Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2012-09-06T20:15:44.167354Z K 7 svn:log V 134 Avoid segfault if name is invalid. Basically, only check for CTL_USER if the sysctl fails with ENOENT. PR: 169056 Reviewed by: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-09-06T20:16:59.818472Z K 7 svn:log V 299 Dynamically allocate the S/G lists passed to callback routines rather than allocating them on the stack of various bus_dmamap_load*() functions. The S/G lists are stored in the DMA tags. This matches the implementation on all other platforms. Discussed with: scottl, gibbs Tested by: stas (arm@) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-06T20:59:49.046896Z K 7 svn:log V 692 libc/amd64: Do not export .cerror. For some reason, libc exports the symbol .cerror (HIDENAME(cerror)), albeit in the FBSDprivate_1.0 version. It looks like there is no reason for this since it is not used from other libraries. Given that it cannot be accessed from C and its strange calling convention, it is rather unlikely that other things rely on it. Perhaps it is from a time when symbols could not be hidden. Most of the amd64 assembler code jumps to .cerror using the GOT. It can jump to it directly now, as in non-PIC mode. There are also some minor size optimizations to instructions but they yield virtually no benefit in the size of libc.so.7 due to padding. Reviewed by: kib END K 10 svn:author V 5 mckay K 8 svn:date V 27 2012-09-07T00:20:46.191982Z K 7 svn:log V 217 MFS r240157 (MFC r235638,r239348): - Work around failure to compile on FreeBSD 7.x machines. - Correct a regression introduced during the import of file(1) 5.11. PR: 170415 Reviewed by: obrien Approved by: re (kib) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-07T00:24:27.042441Z K 7 svn:log V 422 Ensure that single-frame aggregate session frames are retransmitted with the correct configuration. Occasionally an aggregate TX would fail and the first frame would be retransmitted as a non-AMPDU frame. Since bfs_aggr=1 and bfs_nframes > 1 (from the previous AMPDU attempt), the aggr completion function would be called and be very confused about what's going on. Noticed by: Kim PR: kern/171394 END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-07T01:33:25.381585Z K 7 svn:log V 27 Eliminate an unused macro. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-09-07T02:38:07.053974Z K 7 svn:log V 131 When calling the C++ demangler, make sure to free the returned buffer, which might have been reallocated. Pointed out by: stefanf END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-07T06:02:01.535607Z K 7 svn:log V 23 Make this build again! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-07T06:02:40.873916Z K 7 svn:log V 192 Tidy up the output quite substantially, making it fit well within 80 columns. This makes it much easier to use in a shell script, to display a "top" style output with live rate control data. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-07T06:12:28.466688Z K 7 svn:log V 35 Eliminate unnecessary NULL checks. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-07T06:50:25.422043Z K 7 svn:log V 18 Fix NOINET build. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-09-07T07:05:40.568029Z K 7 svn:log V 29 Integrate from HEAD @240185. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-09-07T07:26:45.972205Z K 7 svn:log V 33 No need to include route.h here. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-09-07T07:28:10.779834Z K 7 svn:log V 68 Update style of function declarations and remove register keywords. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-09-07T08:18:06.072069Z K 7 svn:log V 95 Prevent indent(1) from reformatting this comment, as it contains a formatting-sensitive table. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-07T08:58:30.832149Z K 7 svn:log V 72 Fully initialize the stack-allocated "struct sockaddr_in sa" structure. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-07T09:00:25.173472Z K 7 svn:log V 72 Use "e.g.", not "i.e.", to introduce an example. Obtained from: NetBSD END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-09-07T09:22:11.364565Z K 7 svn:log V 331 MFC r238877-238878: Fix a comment that we do not have an SA yet but need to acquire one. For consistency put the IPsec comment iside the #fidef section. MFC r238934 Improve the should-never-hit printf to ease debugging in case we'd ever hit it again when doing the delayed IPv6 checksum calculations. Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-09-07T09:45:08.592313Z K 7 svn:log V 430 MFC r238935,238960: Properly apply #ifdef INET and leave a comment that we are (will) apply delayed IPv6 checksum processing in ip6_output.c when doing IPsec. In case of IPsec he have to do delayed checksum calculations before adding any extension header, or rather before calling into IPsec processing as we may send the packet and not return to IPv6 output processing here. PR: kern/170116 Approved by: re (kib) END